[PATCH] gnu: emacs-org-contrib: Fix hash for version 20200907.

  • Done
  • quality assurance status badge
Details
3 participants
  • Nicolas Goaziou
  • Tobias Geerinckx-Rice
  • zimoun
Owner
unassigned
Submitted by
zimoun
Severity
normal
Z
Z
zimoun wrote on 9 Sep 2020 13:35
(address . guix-patches@gnu.org)(name . zimoun)(address . zimon.toutoune@gmail.com)
20200909113556.25569-1-zimon.toutoune@gmail.com
* gnu/packages/emacs-xyz.scm (emacs-org-contrib): Fix hash.
---
gnu/packages/emacs-xyz.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f778838884..a7727c6dfd 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9665,7 +9665,7 @@ programming and reproducible research.")
(uri (string-append "https://orgmode.org/elpa/"
"org-plus-contrib-" version ".tar"))
(sha256
- (base32 "1f2471klf0v90irpp80413y4v6mhf9bwmrirdilk7qz2p1l6wf4z"))))
+ (base32 "1rgk3pwhsmbmwlncg60ahwrrkm1ks4xpwy2wzv9q7myl1aihjj54"))))
(arguments
`(#:modules ((guix build emacs-build-system)
(guix build utils)

base-commit: e31289085d49618a29ea47af68d7a2746b44ee09
--
2.28.0
T
T
Tobias Geerinckx-Rice wrote on 9 Sep 2020 13:50
(name . zimoun)(address . zimon.toutoune@gmail.com)(address . 43292@debbugs.gnu.org)
b134d4e4f4a8ca0d43d24e28e3b6aff7@tobias.gr
Simon,

On 2020-09-09 13:35, zimoun wrote:
Toggle quote (2 lines)
> * gnu/packages/emacs-xyz.scm (emacs-org-contrib): Fix hash.

Thanks! It's probably irrational, but in-place updates always tingle my
paranoia. What did they change? Why?

I think it's good not to normalize them by at least briefly describing
the upstream changes in the commit message. ‘Fix’ is borderline
misleading IMO.

If you don't have the time or access to the original, let me know.

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
Z
Z
zimoun wrote on 9 Sep 2020 14:03
(address . 43292@debbugs.gnu.org)
CAJ3okZ3aMQC95ybmCnV8W914aQ5PrO4b_O4b9k8mwh2dD2JC7g@mail.gmail.com
On Wed, 9 Sep 2020 at 13:49, Tobias Geerinckx-Rice <me@tobias.gr> wrote:

Toggle quote (6 lines)
> On 2020-09-09 13:35, zimoun wrote:
> > * gnu/packages/emacs-xyz.scm (emacs-org-contrib): Fix hash.
>
> Thanks! It's probably irrational, but in-place updates always tingle my
> paranoia. What did they change? Why?

I do not understand either.
Maybe Nicolas could tell us more about this in-place update?
(I mean they seems involved in the Org-mode development)


Toggle quote (4 lines)
> I think it's good not to normalize them by at least briefly describing
> the upstream changes in the commit message. ‘Fix’ is borderline
> misleading IMO.

You mean something like that:

Toggle snippet (8 lines)
gnu: emacs-org-contrib: Update source hash.

The previous tarball was modified in-place; see
????????

* gnu/packages/emacs-xyz.scm (emacs-org-contrib)[source](sha256): Update.

(tweaked from harfbuzz replacement a8bb8fccd8)


Toggle quote (2 lines)
> If you don't have the time or access to the original, let me know.

I have the time but not necessary the skills to access to the original.


Toggle quote (2 lines)
> Sent from a Web browser. Excuse or enjoy my brevity.

I am doing both. :-)
T
T
Tobias Geerinckx-Rice wrote on 9 Sep 2020 14:33
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
7b43b944b53b71a3e1d0e4bc3d1ad4ba@tobias.gr
Toggle quote (2 lines)
> What did they change? Why?

Irrelevant thanks to commit 057d584b981d9a3293be03ee863d40a61c8aae74.
:-)

Closing,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
Closed
Z
Z
zimoun wrote on 9 Sep 2020 14:56
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)(address . 43292-done@debbugs.gnu.org)
CAJ3okZ2AepGpcNa_oybzR6cb3BhA1JG3vFp5w5_gQtOqivtdgQ@mail.gmail.com
On Wed, 9 Sep 2020 at 14:33, Tobias Geerinckx-Rice <me@tobias.gr> wrote:

Toggle quote (3 lines)
> Irrelevant thanks to commit 057d584b981d9a3293be03ee863d40a61c8aae74.
> :-)

Well, the version 20200908 is not referenced on the webpage:
So I am doubtful that commit 057d584b98 builds.

Toggle snippet (40 lines)
guix time-machine --commit=057d584b981d9a3293be03ee863d40a61c8aae74 \
-- build emacs-org-contrib
[...]

Starting download of
/gnu/store/bbc7d0dw6wl4vdhw9sfx35827f8qg42h-org-plus-contrib-20200908.tar
From https://orgmode.org/elpa/org-plus-contrib-20200908.tar...
download failed
"https://orgmode.org/elpa/org-plus-contrib-20200908.tar" 404 "Not
Found"

Starting download of
/gnu/store/bbc7d0dw6wl4vdhw9sfx35827f8qg42h-org-plus-contrib-20200908.tar
From https://ci.guix.gnu.org/file/org-plus-contrib-20200908.tar/sha256/1rgk3pwhsmbmwlncg60ahwrrkm1ks4xpwy2wzv9q7myl1aihjj54...
download failed
"https://ci.guix.gnu.org/file/org-plus-contrib-20200908.tar/sha256/1rgk3pwhsmbmwlncg60ahwrrkm1ks4xpwy2wzv9q7myl1aihjj54"
404 "Not Found"

Starting download of
/gnu/store/bbc7d0dw6wl4vdhw9sfx35827f8qg42h-org-plus-contrib-20200908.tar
From https://tarballs.nixos.org/sha256/1rgk3pwhsmbmwlncg60ahwrrkm1ks4xpwy2wzv9q7myl1aihjj54...
download failed
"https://tarballs.nixos.org/sha256/1rgk3pwhsmbmwlncg60ahwrrkm1ks4xpwy2wzv9q7myl1aihjj54"
404 "Not Found"

Starting download of
/gnu/store/bbc7d0dw6wl4vdhw9sfx35827f8qg42h-org-plus-contrib-20200908.tar
From https://archive.softwareheritage.org/api/1/content/sha256:a44809a30ad4d783d3fe5c787e3bd133d49933870a98c72ce575550df91df3e5/raw/...
download failed
"https://archive.softwareheritage.org/api/1/content/sha256:a44809a30ad4d783d3fe5c787e3bd133d49933870a98c72ce575550df91df3e5/raw/"
404 "Not Found"
failed to download
"/gnu/store/bbc7d0dw6wl4vdhw9sfx35827f8qg42h-org-plus-contrib-20200908.tar"
from "https://orgmode.org/elpa/org-plus-contrib-20200908.tar"
builder for `/gnu/store/01ncd7q8zd15mbckads5na0ys4a100ng-org-plus-contrib-20200908.tar.drv'
failed to produce output path
`/gnu/store/bbc7d0dw6wl4vdhw9sfx35827f8qg42h-org-plus-contrib-20200908.tar'
build of /gnu/store/01ncd7q8zd15mbckads5na0ys4a100ng-org-plus-contrib-20200908.tar.drv
failed
Closed
N
N
Nicolas Goaziou wrote on 9 Sep 2020 15:23
(name . zimoun)(address . zimon.toutoune@gmail.com)
87sgbrm6cs.fsf@nicolasgoaziou.fr
Hello,

zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (11 lines)
> On Wed, 9 Sep 2020 at 13:49, Tobias Geerinckx-Rice <me@tobias.gr> wrote:
>
>> On 2020-09-09 13:35, zimoun wrote:
>> > * gnu/packages/emacs-xyz.scm (emacs-org-contrib): Fix hash.
>>
>> Thanks! It's probably irrational, but in-place updates always tingle my
>> paranoia. What did they change? Why?
>
> I do not understand either.
> Maybe Nicolas could tell us more about this in-place update?

Package is updated automatically either every Monday, provided there is
at least a pending commits since last update, or whenever a new Org is
released.

When new Org is released on a Monday, two updates happen the same day,
and therefore share the same version. It is unfortunate, but quite rare
in practice, and when the day is over, the source file cannot change
anymore.

Regards,
--
Nicolas Goaziou
T
T
Tobias Geerinckx-Rice wrote on 9 Sep 2020 15:35
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)
a791e620a6b4c532ba9262c7f936c5ba@tobias.gr
Nicolas,

On 2020-09-09 15:23, Nicolas Goaziou wrote:
Toggle quote (8 lines)
> Package is updated automatically either every Monday, provided there is
> at least a pending commits since last update, or whenever a new Org is
> released.
>
> When new Org is released on a Monday, two updates happen the same day,
> and therefore share the same version. It is unfortunate, but quite rare
> in practice, and when the day is over, the source file cannot change

Thanks for taking the time to explain.

It seems like the best ‘fix’ is for distributions (that don't like
in-place updates) to simply wait a day after such a release. Would that
make sense?

Kind regards,

T G-R

Sent from a Web browser. Excuse or enjoy my brevity.
Z
Z
zimoun wrote on 9 Sep 2020 16:00
(name . Nicolas Goaziou)(address . mail@nicolasgoaziou.fr)
CAJ3okZ1pZzzcBmzXwwK5OXC-ykfk+JxKHqfUg8UMHcwgJDFK-g@mail.gmail.com
Hi Nicolas,

On Wed, 9 Sep 2020 at 15:23, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:

Toggle quote (9 lines)
> Package is updated automatically either every Monday, provided there is
> at least a pending commits since last update, or whenever a new Org is
> released.
>
> When new Org is released on a Monday, two updates happen the same day,
> and therefore share the same version. It is unfortunate, but quite rare
> in practice, and when the day is over, the source file cannot change
> anymore.

Thank you for explaining.

All the best,
simon
N
N
Nicolas Goaziou wrote on 9 Sep 2020 16:05
(name . Tobias Geerinckx-Rice)(address . me@tobias.gr)
87k0x3m4ff.fsf@nicolasgoaziou.fr
Tobias Geerinckx-Rice <me@tobias.gr> writes:

Toggle quote (17 lines)
> Nicolas,
>
> On 2020-09-09 15:23, Nicolas Goaziou wrote:
>> Package is updated automatically either every Monday, provided there is
>> at least a pending commits since last update, or whenever a new Org is
>> released.
>>
>> When new Org is released on a Monday, two updates happen the same day,
>> and therefore share the same version. It is unfortunate, but quite rare
>> in practice, and when the day is over, the source file cannot change
>
> Thanks for taking the time to explain.
>
> It seems like the best ‘fix’ is for distributions (that don't like
> in-place updates) to simply wait a day after such a release. Would
> that make sense?

Indeed. Never updating emacs-org or emacs-org-contrib on a Monday should
prevent this kind of issue.

Regards,
?