[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pulling from my personal channel only - is this possible ?
From: |
Andreas Reuleaux |
Subject: |
Re: pulling from my personal channel only - is this possible ? |
Date: |
Wed, 01 Sep 2021 22:43:31 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Simon,
well thanks as well, but sorry:
Neither do I understand this: it still has a guix core channel [?]:
> (channel
> (name 'guix)
> (url "https://git.savannah.gnu.org/git/guix.git")
> ;; (branch "master")
> ...
(which I wanted to avoid - as it takes ~ 53s), nor does it work
for me (there may be issues with the finterprint/commit ids
I don't want to dig any deeper here):
--8<---------------cut here---------------start------------->8---
rx@dell ~/.config/guix$ guix pull
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
guix pull: error: aborting update of channel 'guix' to commit
a8dd285d5a0670abf124a721e6ba94da045b24ba, which is not a descendant of
95c29d2746943733cbe8df7013854d45bb0df413
hint: Use `--allow-downgrades' to force this downgrade.
rx@dell ~/.config/guix$ guix pull --allow-downgrades
Updating channel 'guix' from Git repository at
'https://git.savannah.gnu.org/git/guix.git'...
guix pull: warning: rolling back channel 'guix' from
95c29d2746943733cbe8df7013854d45bb0df413 to
a8dd285d5a0670abf124a721e6ba94da045b24ba
Updating channel 'hacks' from Git repository at
'http://example.com/hacks.git'...
guix pull: error: Git error: unexpected http status code: 404
rx@dell ~/.config/guix$
--8<---------------cut here---------------end--------------->8---
I replying to the list, even thought I have received your mail only
privately.
Thanks in any case.
-A
Simon Streit <lists@netpanic.org> writes:
> Hi Andreas,
>
> Andreas Reuleaux <rx@a-rx.info> writes:
>> While working on those packages, I often do a
>>
>> guix pull
>
> Hey, do you just want to pull, say, from your own channel, but not Guix'
> default? This is something I just figured out a couple of days ago!
>
> One way, and this is only one possibility, is to modify your
> channels.scm in such a way that you directly pin your channels to the
> commit, or if necessary, a branch, and basically pull whatever you want
> to get your newest fix.
>
> This is how my channels.scm more or less looks like at the moment:
>
> (use-modules (guix ci))
> (list (channel-with-substitutes-available
> %default-guix-channel
> "https://ci.guix.gnu.org"))
> (list
> (channel
> (name 'guix)
> (url "https://git.savannah.gnu.org/git/guix.git")
> ;; (branch "master")
> (commit "a8dd285d5a0670abf124a721e6ba94da045b24ba")
> (introduction
> (make-channel-introduction
> "9edb3f66fd807b096b48283debdcddccfea34bad"
> (openpgp-fingerprint
> "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA"))))
> (channel
> (name 'hacks)
> (url "http://example.com/hacks.git")
> (branch "master")
> (commit "e3fd7d9e4aa541f63133c4678f316b5239364c34")))
>
> Be aware, that the downside is that anytime you want to go further, you
> have to comment things out again, or go back to the default definition.
>
>
> Kind regards
> Simon
Re: pulling from my personal channel only - is this possible ?, zimoun, 2021/09/02