all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: EuAndreh <eu@euandre.org>
Cc: 50606@debbugs.gnu.org
Subject: bug#50606: Add support for other formats of Guix channels
Date: Fri, 17 Sep 2021 10:16:16 +0200	[thread overview]
Message-ID: <CAJ3okZ01Jh5Ot9+qttS_OAx-tMD7muRi-tqEnzzjTUSxRZCe7Q@mail.gmail.com> (raw)
In-Reply-To: <163181407045.1503137.63518666550594558@localhost>

Hi,

On Thu, 16 Sept 2021 at 19:41, EuAndreh <eu@euandre.org> wrote:

> My proposal was a little more crude: get the channel code from a tarball.  In
> this model there are no authentications with fingerprint or signed commits,
> neither "guix pull" would know much about the before/after state of a channel
> besides comparing the checksum of the whole tarball.

Somehow, IIUC your explanations, you would like to be able to set an
'origin' as channel source.  Something like that:

--8<---------------cut here---------------start------------->8---
(cons*
 (origin
   (method url-fetch)
   (uri "https://example.org/archive.tar.gz")
   (sha256
    (base32
     "0ssi1wpaf7plaswqqjwigppsg5fyh99vdlb9kzl7c9lng89ndq1i")))
 (channel
  (name 'extra)
  (url "https://example.org/extra.git"))
 %default-channels)
--8<---------------cut here---------------end--------------->8---

Therefore, it would be possible to have any VCS already supported.

However, it is fixed and update means change at least the checksum to
the channels.scm file.

Well, I do not know if it is more convenient than what Ludo and Leo
suggested. :-)


Cheers,
simon




  parent reply	other threads:[~2021-09-17  8:18 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15 17:30 bug#50606: Add support for other formats of Guix channels EuAndreh via Bug reports for GNU Guix
2021-09-16  8:17 ` Ludovic Courtès
2021-09-16 11:18   ` zimoun
2021-09-16 17:41     ` EuAndreh via Bug reports for GNU Guix
2021-09-16 17:48       ` EuAndreh via Bug reports for GNU Guix
2021-09-16 17:51         ` EuAndreh via Bug reports for GNU Guix
2021-09-16 20:21       ` Ludovic Courtès
2021-09-17 10:41         ` EuAndreh via Bug reports for GNU Guix
2021-09-17 10:46           ` EuAndreh via Bug reports for GNU Guix
2021-09-17 17:00             ` zimoun
2021-09-18 10:08               ` Ludovic Courtès
2021-09-16 23:44       ` Leo Famulari
2021-09-17  8:16       ` zimoun [this message]
2021-09-17 10:44         ` EuAndreh via Bug reports for GNU Guix

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ3okZ01Jh5Ot9+qttS_OAx-tMD7muRi-tqEnzzjTUSxRZCe7Q@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=50606@debbugs.gnu.org \
    --cc=eu@euandre.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.