Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bazaar: add patch file to the repo #44396

Closed
wants to merge 1 commit into from
Closed

bazaar: add patch file to the repo #44396

wants to merge 1 commit into from

Conversation

ngortheone
Copy link
Contributor

Motivation for this change

External url with pach became unavailable.
This is a manual cherry-pick from master

External url with pach became unavailable.
This is a manual cherry-pick from master
@@ -21,11 +20,7 @@ python2Packages.buildPythonApplication rec {
patches = [
# Bazaar can't find the certificates alone
./add_certificates.patch
(fetchpatch {
url = "https://bazaar.launchpad.net/~brz/brz/trunk/revision/6754";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the .patch file is now at https://bazaar.launchpad.net/~brz/brz/trunk/diff/6754?context=3 instead. Can we just fetchpatch that URL instead of embedding the patch in the repo?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, it looks like @Izorkin did that in master. I guess we can just carry it over then, but in general I'd treat embedding literal patches in the repo as a last resort

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another thought: if this could stay a FO derivation as fetchpatch, it wouldn't cause a giant rebuild 😄

@copumpkin
Copy link
Member

Resolved in dd8ba51

@copumpkin copumpkin closed this Aug 3, 2018
@copumpkin
Copy link
Member

I screwed it up, fixed now in release-18.03: 8de1206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants