unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Specify substitute url in GUI installer
@ 2021-01-03 12:44 Zhu Zihao
  2021-01-03 17:43 ` Mathieu Othacehe
  0 siblings, 1 reply; 8+ messages in thread
From: Zhu Zihao @ 2021-01-03 12:44 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 596 bytes --]

Hi, Guix users!

Thanks to the <Alex Chi iskyzh@gmail.com> (from SJTU). We finally set up
a Guix substitute mirror in SJTU LUG.

You can try with command line option
"--substitute-urls=https://mirrors.sjtug.sjtu.edu.cn/guix"

However, it's sad that there's no option for user to specify substitute
url in GUI installer of Guix ISO. It means that people new to Guix still
have to tolerate the slow connection during the installation.

Can we add such option for GUI installer?

-- 
Retrieve my PGP public key:

  gpg --recv-keys D47A9C8B2AE3905B563D9135BE42B352A9F6821F

Zihao

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 255 bytes --]

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

* Re: Specify substitute url in GUI installer
  2021-01-03 12:44 Specify substitute url in GUI installer Zhu Zihao
@ 2021-01-03 17:43 ` Mathieu Othacehe
  2021-01-06 10:05   ` Ludovic Courtès
  0 siblings, 1 reply; 8+ messages in thread
From: Mathieu Othacehe @ 2021-01-03 17:43 UTC (permalink / raw)
  To: Zhu Zihao; +Cc: guix-devel


Hello,

> However, it's sad that there's no option for user to specify substitute
> url in GUI installer of Guix ISO. It means that people new to Guix still
> have to tolerate the slow connection during the installation.
>
> Can we add such option for GUI installer?

Adding such an option shouldn't be too hard, as there's already the
possibility to add an HTTP mirror from the parameters menu.

The problem is to authorize the substitute server. I don't think it's
reasonable to ask the user to enter the server public key manually. An
option would be to fetch the public key from
"https://the-substitute-sever/signing-key.pub", display it, and propose
the user to authorize or not this server.

WDYT?

Mathieu


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

* Re: Specify substitute url in GUI installer
  2021-01-03 17:43 ` Mathieu Othacehe
@ 2021-01-06 10:05   ` Ludovic Courtès
  0 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2021-01-06 10:05 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: guix-devel, Zhu Zihao

Hi,

Mathieu Othacehe <othacehe@gnu.org> skribis:

>> However, it's sad that there's no option for user to specify substitute
>> url in GUI installer of Guix ISO. It means that people new to Guix still
>> have to tolerate the slow connection during the installation.
>>
>> Can we add such option for GUI installer?
>
> Adding such an option shouldn't be too hard, as there's already the
> possibility to add an HTTP mirror from the parameters menu.
>
> The problem is to authorize the substitute server. I don't think it's
> reasonable to ask the user to enter the server public key manually. An
> option would be to fetch the public key from
> "https://the-substitute-sever/signing-key.pub", display it, and propose
> the user to authorize or not this server.

That looks reasonable to me.

We should make sure most common use cases don’t end up going through too
many extra dialog boxes though.

Thanks,
Ludo’.


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

* Re: Specify substitute url in GUI installer
@ 2022-03-29  7:42 hahawang
  0 siblings, 0 replies; 8+ messages in thread
From: hahawang @ 2022-03-29  7:42 UTC (permalink / raw)
  To: othacehe; +Cc: guix-devel

Hi,

      I don't think substitute server authorization is a problem. In 
most cases, the purpose of using a substitute server in the installation 
process is mainly for speeding up package downloads. The content of the 
substitute server mirror remains the same as the official one. As I 
know, in that case, the authorization is not necessary. So that adding a 
substitute server option in the graphical installer is reasonable. It 
would improve the convenience radically, especially for people in some 
countries or regions where a fast internet connection to the official 
server is not available.

ZeroBeyond



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

* Re: Specify substitute url in GUI installer
@ 2022-03-29  7:47 ZeroBeyond
  0 siblings, 0 replies; 8+ messages in thread
From: ZeroBeyond @ 2022-03-29  7:47 UTC (permalink / raw)
  To: othacehe; +Cc: guix-devel

Hi,

      I don't think substitute server authorization is a problem. In 
most cases, the purpose of using a substitute server in the installation 
process is mainly for speeding up package downloads. The content of the 
substitute server mirror remains the same as the official one. As I 
know, in that case, the authorization is not necessary. So that adding a 
substitute server option in the graphical installer is reasonable. It 
would improve the convenience radically, especially for people in some 
countries or regions where a fast internet connection to the official 
server is not available.

ZeroBeyond



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

* Re: Specify substitute url in GUI installer
@ 2022-03-29  8:08 ZeroBeyond
  0 siblings, 0 replies; 8+ messages in thread
From: ZeroBeyond @ 2022-03-29  8:08 UTC (permalink / raw)
  To: othacehe; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

Hi,

      I don't think substitute server authorization is a problem. In 
most cases, the purpose of using a substitute server in the installation 
process is mainly for speeding up package downloads. The content of the 
substitute server mirror remains the same as the official one. As I 
know, in that case, the authorization is not necessary. So that adding a 
substitute server option in the graphical installer is reasonable. It 
would improve the convenience radically, especially for people in some 
countries or regions where a fast internet connection to the official 
server is not available.

ZeroBeyond

[-- Attachment #2: Type: text/html, Size: 659 bytes --]

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

* Re: Specify substitute url in GUI installer
@ 2022-03-29  8:11 ZeroBeyond
  0 siblings, 0 replies; 8+ messages in thread
From: ZeroBeyond @ 2022-03-29  8:11 UTC (permalink / raw)
  To: othacehe, guix-devel

[-- Attachment #1: Type: text/plain, Size: 607 bytes --]

Hi,

     I don't think substitute server authorization is a problem. In
most cases, the purpose of using a substitute server in the installation
process is mainly for speeding up package downloads. The content of the
substitute server mirror remains the same as the official one. As I
know, in that case, the authorization is not necessary. So that adding a
substitute server option in the graphical installer is reasonable. It
would improve the convenience radically, especially for people in some
countries or regions where a fast internet connection to the official
server is not available.

ZeroBeyond

[-- Attachment #2: Type: text/html, Size: 757 bytes --]

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

* Re: Specify substitute url in GUI installer
@ 2022-03-29  8:15 ZeroBeyond
  0 siblings, 0 replies; 8+ messages in thread
From: ZeroBeyond @ 2022-03-29  8:15 UTC (permalink / raw)
  To: othacehe, guix-devel

Hi,

      I don't think substitute server authorization is a problem. In 
most cases, the purpose of using a substitute server in the installation 
process is mainly for speeding up package downloads. The content of the 
substitute server mirror remains the same as the official one. As I 
know, in that case, the authorization is not necessary. So that adding a 
substitute server option in the graphical installer is reasonable. It 
would improve the convenience radically, especially for people in some 
countries or regions where a fast internet connection to the official 
server is not available.

ZeroBeyond



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

end of thread, other threads:[~2022-03-30 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-03 12:44 Specify substitute url in GUI installer Zhu Zihao
2021-01-03 17:43 ` Mathieu Othacehe
2021-01-06 10:05   ` Ludovic Courtès
  -- strict thread matches above, loose matches on Subject: below --
2022-03-29  7:42 hahawang
2022-03-29  7:47 ZeroBeyond
2022-03-29  8:08 ZeroBeyond
2022-03-29  8:11 ZeroBeyond
2022-03-29  8:15 ZeroBeyond

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).