[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: All updaters are broken
From: |
Hartmut Goebel |
Subject: |
Re: All updaters are broken |
Date: |
Mon, 2 Jan 2023 00:24:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 |
Hi Ricardo,
I managed working on this this evening already.
Am 31.12.22 um 15:27 schrieb Ricardo Wurmus:
Commit 8aeccc6240ec45f0bc7bed655e0c8149ae4253eb seems like the problem
here. Hartmut, can you please fix this? Otherwise I’d like to revert
this and related commits ASAP.
I fixed he tests and pushed as d7a9d72bb02a2a3b1a99183655bf878547116032.
Regarding the command "guix refresh": According to my tests only
invocations not providing a package name failed (see below). Anyhow I
did not manage fixing this:
options->update-specs need to return update-specs in all cases, and
currently returns packages if no packages have been named on the command
line.
guix/scripts/refresh.scm (options->update-specs), lines 252ff:
(if (assoc-ref opts 'recursive?)
(mlet %store-monad ((edges (node-edges %bag-node-type
(all-packages))))
(return (node-transitive-edges packages edges)))
(with-monad %store-monad
(return packages))))
Any hints?
These invocations fail:
/pre-inst-env guix refresh -t crane -u
/pre-inst-env guix refresh -t hexpm -u
/pre-inst-env guix refresh -t hexpm
All these invocations pass:
./pre-inst-env guix refresh --list-updaters
./pre-inst-env guix refresh -u python-flask
./pre-inst-env guix refresh -u python-flask=2.2.1
./pre-inst-env guix refresh --list-transitive python-flask
./pre-inst-env guix refresh --list-dependent python-flask
./pre-inst-env guix refresh -l python-flask
Untested:
--recursive — did nothing?
--select
--
Regards
Hartmut Goebel
| Hartmut Goebel | h.goebel@crazy-compilers.com |
| www.crazy-compilers.com | compilers which you thought are impossible |
H
- Re: All updaters are broken, Hartmut Goebel, 2023/01/01
- Re: All updaters are broken,
Hartmut Goebel <=
- Re: All updaters are broken, Ricardo Wurmus, 2023/01/02
- Re: All updaters are broken, Ricardo Wurmus, 2023/01/02
- Re: All updaters are broken, Hartmut Goebel, 2023/01/02
- Re: All updaters are broken, Ricardo Wurmus, 2023/01/02
- Re: All updaters are broken, Hartmut Goebel, 2023/01/02
- Re: All updaters are broken, Ricardo Wurmus, 2023/01/03
- Re: All updaters are broken, Ludovic Courtès, 2023/01/03
- Re: All updaters are broken, Hartmut Goebel, 2023/01/03
- Re: All updaters are broken, Ludovic Courtès, 2023/01/03