* Provide rsync access to GNU ELPA for mirroring it
@ 2016-07-02 16:02 Chunyang Xu
2016-07-02 19:19 ` Clément Pit--Claudel
0 siblings, 1 reply; 10+ messages in thread
From: Chunyang Xu @ 2016-07-02 16:02 UTC (permalink / raw)
To: emacs-devel
Hello emacs-devel!
The emacs-china user group is running an ELPA mirror [1] to provide
faster and more reliable connection for Chinese Emacs users.
Currently, it simply downloads all files through HTTP, it works well
for more than one month, however, mirroring through rsync is obviously
easier and more efficient. So please consider providing rsync access
to Gnu elpa.
[1] https://github.com/emacs-china/elpa
Thanks.
Chunyang
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Provide rsync access to GNU ELPA for mirroring it
2016-07-02 16:02 Provide rsync access to GNU ELPA for mirroring it Chunyang Xu
@ 2016-07-02 19:19 ` Clément Pit--Claudel
2016-07-03 7:16 ` Chunyang Xu
0 siblings, 1 reply; 10+ messages in thread
From: Clément Pit--Claudel @ 2016-07-02 19:19 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 615 bytes --]
On 2016-07-02 12:02, Chunyang Xu wrote:
> Hello emacs-devel!
>
> The emacs-china user group is running an ELPA mirror [1] to provide
> faster and more reliable connection for Chinese Emacs users.
> Currently, it simply downloads all files through HTTP, it works well
> for more than one month, however, mirroring through rsync is obviously
> easier and more efficient. So please consider providing rsync access
> to Gnu elpa.
Is there a reason to not build the packets locally, instead of downloading them all from ELPA?
(Same for MELPA, btw; this is going to ruin download statistics)
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Provide rsync access to GNU ELPA for mirroring it
2016-07-02 19:19 ` Clément Pit--Claudel
@ 2016-07-03 7:16 ` Chunyang Xu
2016-07-13 1:06 ` Clément Pit--Claudel
2016-07-13 2:45 ` Stefan Monnier
0 siblings, 2 replies; 10+ messages in thread
From: Chunyang Xu @ 2016-07-03 7:16 UTC (permalink / raw)
To: Clément Pit--Claudel; +Cc: emacs-devel
On Sun, Jul 3, 2016 at 3:19 AM, Clément Pit--Claudel
<clement.pit@gmail.com> wrote:
> On 2016-07-02 12:02, Chunyang Xu wrote:
>> Hello emacs-devel!
>>
>> The emacs-china user group is running an ELPA mirror [1] to provide
>> faster and more reliable connection for Chinese Emacs users.
>> Currently, it simply downloads all files through HTTP, it works well
>> for more than one month, however, mirroring through rsync is obviously
>> easier and more efficient. So please consider providing rsync access
>> to Gnu elpa.
>
> Is there a reason to not build the packets locally, instead of downloading them all from ELPA?
Good point, actually I never think about this way before, maybe this
is a good way for Gnu ELPA. git access to savannah is very slow (< 50
KiB/s) and unreliable here, I will try this way after (if) git-clone
is done. Also, I am not sure if building locally can keep old versions
of packages like GNU ELPA.
Anyway, I still think rsync is the best way to mirror.
> (Same for MELPA, btw; this is going to ruin download statistics)
MELPA itself needs 3 hours to build its 3000+ packages. Building MELPA
packages locally is not easy.
I am not very sure if we are ruining the download statistics, but the
user-agent we used is always different from Emacs/url.el/package.el
> Clément.
>
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Provide rsync access to GNU ELPA for mirroring it
2016-07-03 7:16 ` Chunyang Xu
@ 2016-07-13 1:06 ` Clément Pit--Claudel
2016-07-13 2:45 ` Stefan Monnier
1 sibling, 0 replies; 10+ messages in thread
From: Clément Pit--Claudel @ 2016-07-13 1:06 UTC (permalink / raw)
To: Chunyang Xu; +Cc: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 475 bytes --]
On 07/03/2016 09:16 AM, Chunyang Xu wrote:
> I am not very sure if we are ruining the download statistics, but the
> user-agent we used is always different from Emacs/url.el/package.el
All packages on MELPA get three downloads per day due to bots (corollary: a one-year-old package that has about 1000 download has more or less never been downloaded by a real user). Part of the problem is that MELPA doesn't look at user agents when counting downloads.
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Provide rsync access to GNU ELPA for mirroring it
2016-07-03 7:16 ` Chunyang Xu
2016-07-13 1:06 ` Clément Pit--Claudel
@ 2016-07-13 2:45 ` Stefan Monnier
2016-07-13 7:14 ` Clément Pit--Claudel
1 sibling, 1 reply; 10+ messages in thread
From: Stefan Monnier @ 2016-07-13 2:45 UTC (permalink / raw)
To: emacs-devel
>> Is there a reason to not build the packets locally, instead of
>> downloading them all from ELPA?
> Good point, actually I never think about this way before, maybe this
> is a good way for Gnu ELPA. git access to savannah is very slow (< 50
> KiB/s) and unreliable here, I will try this way after (if) git-clone
> is done. Also, I am not sure if building locally can keep old versions
> of packages like GNU ELPA.
No, indeed, the current build scripts won't always generate the same
packages: it depends on when they're run.
> Anyway, I still think rsync is the best way to mirror.
Agreed. I'll see if I find the time to setup a read-only rsync access.
I'm sure it's not too complicated, but if someone can provide me the
typical steps and a sample config file (on a Debian machine) it would
probably nudge me towards doing it more quickly.
Stefan
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2016-07-15 16:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-02 16:02 Provide rsync access to GNU ELPA for mirroring it Chunyang Xu
2016-07-02 19:19 ` Clément Pit--Claudel
2016-07-03 7:16 ` Chunyang Xu
2016-07-13 1:06 ` Clément Pit--Claudel
2016-07-13 2:45 ` Stefan Monnier
2016-07-13 7:14 ` Clément Pit--Claudel
2016-07-13 14:23 ` Stefan Monnier
2016-07-15 15:41 ` Stefan Monnier
2016-07-15 16:09 ` Clément Pit--Claudel
2016-07-15 16:31 ` Stefan Monnier
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.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).