From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 61930@debbugs.gnu.org
Cc: zimoun <zimon.toutoune@gmail.com>
Subject: [bug#61930] [PATCH 0/1] Factorising git->origin function for imports.
Date: Fri, 03 Mar 2023 11:36:29 +0100 [thread overview]
Message-ID: <87ilfi3yvm.fsf@ngraves.fr> (raw)
Hi Guix!
While looking for creating a juliahub import script, I had to look on
how other packages were downloading repositories, and some things could
be factorised. I plan to use this new function for the juliahub importer
I'm writing.
I still need to experiment with it a bit, ensure that all cases are
covered, but here's a preliminary patch to get some feedback.
I believe such could also be done for other VCS, as Katherine Cox-Buday
probably had in mind when writing the go importer.
The code to download and hash from hg is already there in the cran
"download" helper. Maybe we can also add some options to the original
hg-fetch function from guix/build/hg.scm to factorize hg directly ?
--
Best regards,
Nicolas Graves
next reply other threads:[~2023-03-03 10:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-03 10:36 Nicolas Graves via Guix-patches via [this message]
2023-03-03 11:06 ` [bug#61930] [PATCH] import: factorising git->origin in guix/import/utils.scm Nicolas Graves via Guix-patches via
2023-04-07 15:26 ` Simon Tournier
2024-02-03 23:38 ` bug#61930: close 61930 Nicolas Graves via Guix-patches via
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=87ilfi3yvm.fsf@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=61930@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
--cc=zimon.toutoune@gmail.com \
/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.