Include curl/wget (and git?) to the installation image

  • Done
  • quality assurance status badge
Details
4 participants
  • Leo Famulari
  • Pierre Neidhardt
  • Maxim Cournoyer
  • zimoun
Owner
unassigned
Submitted by
Pierre Neidhardt
Severity
normal
P
P
Pierre Neidhardt wrote on 19 Dec 2020 21:57
(address . bug-guix@gnu.org)
87sg813463.fsf@ambrevar.xyz
Apologies if this has been asked before, but would it be possible to
include one of curl or wget in the installation image?

It's particularly convenient to fetch authorization keys, channel specs and
the like before installing a system.

Additionally, including git (maybe git minimal?) would be great so
synchronize Git repositories which may contain installation scripts,
Guix configs and other dotfiles.

Thoughts?

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/eaSQSHG1haWxAYW1i
cmV2YXIueHl6AAoJEJvc9Jeku8x/6ycH/iuFVKklApjkZybBn+hfMfgqXYfEZZkp
GKJS/6PVISL2INwEgP8aTMiC6ug6TcrcXTebpKgNlAJpA/E+DNF33hWPPRCWZdmI
JvPVSBdX/7OYiCL4068j2AUopNwtq0EOMx/Jwsen5m2OqUChctxQrAUYUqlr4g8p
Rn6ZhdwTGmFpAjiBXdUnN4Oxe3XBSMRbKaWjZ3kakjYvgSF7HBHMnASukWOSdaFX
rzU6f7VcDosimHj83FTgHnndDJcPd3hcoWraukvDr2COnbzN+o05I5gXv5ZZMja1
HS3fhYFt8O23DRpUzS+YSWbViOMKh9qZmtVttlLHFY+lbUf/6EXxjoQ=
=NMiJ
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 19 Dec 2020 22:19
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)(address . 45326@debbugs.gnu.org)
X95uetpEAueYnlhX@jasmine.lan
On Sat, Dec 19, 2020 at 09:57:08PM +0100, Pierre Neidhardt wrote:
Toggle quote (3 lines)
> Apologies if this has been asked before, but would it be possible to
> include one of curl or wget in the installation image?

`guix download` should work here ;)

But it's nice to have something familiar.

Toggle quote (4 lines)
> Additionally, including git (maybe git minimal?) would be great so
> synchronize Git repositories which may contain installation scripts,
> Guix configs and other dotfiles.

This one is more pressing...
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl/ebnoACgkQJkb6MLrK
fwjzuRAA4pfetpJKRvre3ZOIkPz1vuVRGWa2iMVI45w07HrxRCDSrQHFi78v3NGT
Sm5O5ZE9C7PvhACciuXfqGp+FJhoSV2vDxyu5I8M9BLsmj+B/E634NT/pcFOoPpv
ZfdvpN2sBs4cSHfkxZkLMVMZnNAr6tiGOXYPtJ1TfRAuY6NrQPgW05qg+AU2OjUC
f6onc9RWk9FrtbfjI58TLkrkOL3y9NHvpiLQ5fhT5lmiWvUuXSbDPc6BbTRAO+G4
jMq7TRaVZ7R+sYx+jJaYHZ0KiZvpGCGnExR1mLxSBavgBWTScg5dp/aseW2jovW+
XVG90oZNcWmNmadePkG1veVvbTdMEhkjM2R4SaLAM8OPGi1QRO+Fqz8dR5bEKWNi
8T3YkJY0PFMacU+4mhXjVGHttERNLe3AXE2ch9nIJuR4o3niU9zs5yds+U56LDOp
CoVRm61wk+vro6YLx6y83tOmwLUR9Xiv77+nA6f4j99oMI/Aw008jMebdQqfnPEJ
LQsXF1QfQ6vRiF29zm8zToDYytNX0u1jlIwO3p7ZklfkD0/L3NHzk4/4WeeT+lII
3f8cqUZxbvjeEodEse5pgYP4D08cukWcUJscAwL9G7LIhaVSeE6Cgp6qXzu9lfYh
de0ZoyZDCoEJyAX7j4Wz8MA3CHDy+LPN/832ZE7POXlpFfMW8AY=
=gbC9
-----END PGP SIGNATURE-----


P
P
Pierre Neidhardt wrote on 20 Dec 2020 09:36
(name . Leo Famulari)(address . leo@famulari.name)(address . 45326@debbugs.gnu.org)
87pn343mdp.fsf@ambrevar.xyz
Leo Famulari <leo@famulari.name> writes:

Toggle quote (2 lines)
> `guix download` should work here ;)

Wow, didn't know about this trick, it's very convenient indeed, thanks!

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/fDPISHG1haWxAYW1i
cmV2YXIueHl6AAoJEJvc9Jeku8x/l4QIAJvGmD6wuumnsqnCnGu2fcsiZBxY6cod
/UYKiERsVP5lkGLbCSpnbGxgtzVhP0KZY6IEoSRb3YLziXFOPeAC/i5D1vfWioQs
Geb6NlHZmUQ4z2P7s7Z4lFru14CzjVS6zDmdJrxPyDj26f7V+SLcRij8zpX2fDou
cufzcbpPzNHGvztnjJqJ0DCEtZkC/OP0FhemjeuseKKA+ko2Pk6+R2AmpOjkTeqI
19f5ApDSEWP2H7FPzEho9/LRByk4caF5HjKlWuuI6b2t5vvhR8S03E0ro95WBgNQ
rpKWAsgPRc2CDiPefP1ndOdRYWr/e4+P5UaqagZYjWQKVYUPIdPiEbA=
=BbkS
-----END PGP SIGNATURE-----

L
L
Leo Famulari wrote on 20 Dec 2020 16:42
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)(address . 45326@debbugs.gnu.org)
X99w4gHmVjbct8L/@jasmine.lan
On Sun, Dec 20, 2020 at 09:36:02AM +0100, Pierre Neidhardt wrote:
Toggle quote (6 lines)
> Leo Famulari <leo@famulari.name> writes:
>
> > `guix download` should work here ;)
>
> Wow, didn't know about this trick, it's very convenient indeed, thanks!

Yes, especially with `guix download --output=foo`. But we shouldn't let
this keep us from making the installer more comfortable for new users :)
Z
Z
zimoun wrote on 21 Dec 2020 11:08
86czz3bhf8.fsf@gmail.com
Hi Pierre,

On Sat, 19 Dec 2020 at 21:57, Pierre Neidhardt <mail@ambrevar.xyz> wrote:

Toggle quote (4 lines)
> Additionally, including git (maybe git minimal?) would be great so
> synchronize Git repositories which may contain installation scripts,
> Guix configs and other dotfiles.

Somehow, it is already the case. :-) What do you need exactly? Because
this minimal thing could be exposed via “guix git <foo>” via Guile-Git.
WDYT?


All the best,
simon
P
P
Pierre Neidhardt wrote on 21 Dec 2020 11:14
875z4vpisc.fsf@ambrevar.xyz
zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (4 lines)
> Somehow, it is already the case. :-) What do you need exactly? Because
> this minimal thing could be exposed via “guix git <foo>” via Guile-Git.
> WDYT?

`guix git' only has the `authenticate' action. Would be great if we
could have `clone'! :)

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/gdaMSHG1haWxAYW1i
cmV2YXIueHl6AAoJEJvc9Jeku8x/3wkH/jetH8WZGbOQMOqO960zBiIlGPLNxCQq
H7XX/AF2g0P+N65kw1j4Zdtgphm5V8oI7vK/mqYtfns/9TBfClMT+GH9beOpeb++
fHOVLSYWziBg+SBsWK0LG1dAPE+QhZUpHE6txPLZn1Ba3+R0Iowmun5eyk5jNfqY
qdB7QLW6hR0bp19fubhfh7AllJhMsUBpqZ1nmPHir3CU7TEotA3AqYz4YwrwuQTB
cQ0W0tRs9sCKjJNWSEfLB2sOtHV/hkUk3uNqaCQVWdvRkmhVmrH6hSDto7Ha7arQ
k9D1RWFXFKBRbcvdepxK4laTrhP+tkL3OXB/paQMhA4r4EGeTpao4Xk=
=hkZl
-----END PGP SIGNATURE-----

Z
Z
zimoun wrote on 21 Dec 2020 11:53
867dpbbfcc.fsf@gmail.com
Hi,

On Mon, 21 Dec 2020 at 11:14, Pierre Neidhardt <mail@ambrevar.xyz> wrote:
Toggle quote (8 lines)
> zimoun <zimon.toutoune@gmail.com> writes:
>
>> Somehow, it is already the case. :-) What do you need exactly? Because
>> this minimal thing could be exposed via “guix git <foo>” via Guile-Git.
>> WDYT?

> `guix git' only has the `authenticate' action.

Yeah for now… :-D


Toggle quote (3 lines)
> Would be great if we
> could have `clone'! :)

Does something as “guix git clone https://example.com--output=foo” make
sense?

Cheers,
simon
P
P
Pierre Neidhardt wrote on 21 Dec 2020 12:15
87r1njo1fq.fsf@ambrevar.xyz
zimoun <zimon.toutoune@gmail.com> writes:

Toggle quote (3 lines)
> Does something as “guix git clone https://example.com--output=foo” make
> sense?

For me, yes! :)

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/gg7kSHG1haWxAYW1i
cmV2YXIueHl6AAoJEJvc9Jeku8x/QT8H/A4qTobj0AJxYJl/SuJpPp70Kk0wllSH
ss6mcvfsiOM+0B1ZYE4aZTB5ims9Aw+V637NIFKjmIS2j6toc77zYSpkLILsw9rI
W1wbBKNjwR5tnylWQ5Uvuwvimtm3BMscllUOqqkC+VdmlcIcZvYnvZj+MisXch3Z
f3Wi5FTpOX9AbLIxg8DzD2rkZ4zplNzthOH52GmVEoUPzqHV4eG1002uJzbV3xO+
/QhC9Hpv/erNi02ljkftcJIAkfkX5Npna2evbdKDWEaFe1BND4lpccQMkzupXTTc
Zl3HHWruKOE7itXAj4/2r3wori2ncjl2yaRqLSFXpGk/5gN919gSvHA=
=JGtb
-----END PGP SIGNATURE-----

M
M
Maxim Cournoyer wrote on 8 May 2021 05:47
(name . Pierre Neidhardt)(address . mail@ambrevar.xyz)(address . 45326-done@debbugs.gnu.org)
87sg2xhoow.fsf@gmail.com
Hello,

Pierre Neidhardt <mail@ambrevar.xyz> writes:

Toggle quote (12 lines)
> Apologies if this has been asked before, but would it be possible to
> include one of curl or wget in the installation image?
>
> It's particularly convenient to fetch authorization keys, channel specs and
> the like before installing a system.
>
> Additionally, including git (maybe git minimal?) would be great so
> synchronize Git repositories which may contain installation scripts,
> Guix configs and other dotfiles.
>
> Thoughts?

I've added wget to the %base-networking-packages list, which means it'll
be part of any Guix System starting with v1.3.0.

For git-minimal, after discussing it on IRC, it seems reasonable to
expect savvy users to be able to 'guix install git' from the
installation environment.

Closing.

Thanks for the suggestion!

Maxim
Closed
P
P
Pierre Neidhardt wrote on 8 May 2021 10:29
(name . Maxim Cournoyer)(address . maxim.cournoyer@gmail.com)(address . 45326-done@debbugs.gnu.org)
87lf8pk4qw.fsf@ambrevar.xyz
Thank you for the update, Maxim!

--
Pierre Neidhardt
-----BEGIN PGP SIGNATURE-----

iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAmCWS/cSHG1haWxAYW1i
cmV2YXIueHl6AAoJEJvc9Jeku8x/RPoH/Ra3fkHlvRd+Uo5I2flF/REBaEH3D05T
dAoGOJ2wKg/P+3UW/1cZK1ZOJxCRPusO04rs+3vDJ2NP5eF4vF0uDh+OIkxU4Yaj
Q60KE//2pLqPIzAvc/5nTj0syiKssBKYCkyEC7JGPsX8Wgr/D4D21GQYXDWfy2WH
4IYHLMcgo5O0mv2m0lSKa7ti5CfS550eFg16D2yKwegYKgkhD+AQWodWxmAWzrxc
4Rh4oxIzinhfz62LcKCBU/YaaeMmmMj/Lvf2oF6nIQZJDmNYeaT3YHSxlEqn0joK
6QaH3Q7OzGHjT58+jXqAUqyuJHxTNJDG2XTQ22yGZps12jGdwCBWGeU=
=U1Nk
-----END PGP SIGNATURE-----

Closed
?