all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#61930] [PATCH 0/1] Factorising git->origin function for imports.
@ 2023-03-03 10:36 Nicolas Graves via Guix-patches via
  2023-03-03 11:06 ` [bug#61930] [PATCH] import: factorising git->origin in guix/import/utils.scm Nicolas Graves via Guix-patches via
  2024-02-03 23:38 ` bug#61930: close 61930 Nicolas Graves via Guix-patches via
  0 siblings, 2 replies; 4+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2023-03-03 10:36 UTC (permalink / raw)
  To: 61930; +Cc: zimoun


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-03 23:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 10:36 [bug#61930] [PATCH 0/1] Factorising git->origin function for imports Nicolas Graves via Guix-patches via
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

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.