all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Best course for recently fixed packages?
@ 2019-06-12  5:15 Jesse Gibbons
  2019-06-12  6:14 ` Pierre Neidhardt
  2019-06-12  7:11 ` Julien Lepiller
  0 siblings, 2 replies; 3+ messages in thread
From: Jesse Gibbons @ 2019-06-12  5:15 UTC (permalink / raw)
  To: help-guix

There is a package I am defining that I want to push to the repository.
On github, its most recent release fails to build because it needs a
dependency that no longer exists. This was fixed in the master branch.
What should I specify as the commit?

Since I don't know when master will next be updated (it was last
updated 22 hours before when I decided to ask this and appears to be
updated almost daily) and each commit is likely to change the package's
sha256 hash, it does not make sense to specify that the commit is
"master". Should I instead specify master's current commit hash until
the project's next release? Or should I specify the most recent release
and specify a patch with the changes that fixed it? Or would it be best
for me to place this package on hold until the next release?

Thanks for the advice,
-Jesse

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Best course for recently fixed packages?
  2019-06-12  5:15 Best course for recently fixed packages? Jesse Gibbons
@ 2019-06-12  6:14 ` Pierre Neidhardt
  2019-06-12  7:11 ` Julien Lepiller
  1 sibling, 0 replies; 3+ messages in thread
From: Pierre Neidhardt @ 2019-06-12  6:14 UTC (permalink / raw)
  To: Jesse Gibbons, help-guix

[-- Attachment #1: Type: text/plain, Size: 308 bytes --]

In Guix you can never "follow upstream" in a package definition.  This
is because of the sha256 check that is done on the source, as a measure
for reproducibility.

The right course of action here is to specify the commit that builds.

Hope that helps!

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Best course for recently fixed packages?
  2019-06-12  5:15 Best course for recently fixed packages? Jesse Gibbons
  2019-06-12  6:14 ` Pierre Neidhardt
@ 2019-06-12  7:11 ` Julien Lepiller
  1 sibling, 0 replies; 3+ messages in thread
From: Julien Lepiller @ 2019-06-12  7:11 UTC (permalink / raw)
  To: help-guix, Jesse Gibbons

Le 12 juin 2019 07:15:30 GMT+02:00, Jesse Gibbons <jgibbons2357@gmail.com> a écrit :
>There is a package I am defining that I want to push to the repository.
>On github, its most recent release fails to build because it needs a
>dependency that no longer exists. This was fixed in the master branch.
>What should I specify as the commit?
>
>Since I don't know when master will next be updated (it was last
>updated 22 hours before when I decided to ask this and appears to be
>updated almost daily) and each commit is likely to change the package's
>sha256 hash, it does not make sense to specify that the commit is
>"master". Should I instead specify master's current commit hash until
>the project's next release? Or should I specify the most recent release
>and specify a patch with the changes that fixed it? Or would it be best
>for me to place this package on hold until the next release?
>
>Thanks for the advice,
>-Jesse

It's usually better to use the latest release with a patch. If that's not possible, then you can indeed specify a commit hash that corresponds to master until the next release. Thanks!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-12  7:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-12  5:15 Best course for recently fixed packages? Jesse Gibbons
2019-06-12  6:14 ` Pierre Neidhardt
2019-06-12  7:11 ` Julien Lepiller

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.