Skip to contentSkip to conversation

disabling mercurial repositories

DISCUSSION Roger Pau Monné 4 participants 6 messages Jun 21, 2022 – Jun 22, 2022

lore
Share & tools
lore
#0 lore raw

Hello,

Last week we had a bit of an emergency when a web crawler started indexing all our mercurial repositories on xenbits, as caused the load on xenbits to go beyond what it can handle.

As a temporary solution we decided to remove access to mercurial repositories, but the contents there are AFAIK only for historical repositories, so we might consider completely removing access to mercurial repositories. This would however require migrating any repository we care about to git.

I would like an opinion from committers as well as the broad community whether shutting down mercurial repositories and migrating whatever we care about is appropriate. Otherwise we will need to implement some throttling to mercurial accesses in order to avoid overloading xenbits.

Thanks, Roger.

#1 lore raw
Quoted 12 lines · Roger Pau Monné

Hello,

Last week we had a bit of an emergency when a web crawler started indexing all our mercurial repositories on xenbits, as caused the load on xenbits to go beyond what it can handle.

As a temporary solution we decided to remove access to mercurial repositories, but the contents there are AFAIK only for historical repositories, so we might consider completely removing access to mercurial repositories. This would however require migrating any repository we care about to git.

Quoted 5 lines

I would like an opinion from committers as well as the broad community whether shutting down mercurial repositories and migrating whatever we care about is appropriate. Otherwise we will need to implement some throttling to mercurial accesses in order to avoid overloading xenbits.

IIRC, we'd mostly moved off hg onto git before moving to the Linux Foundation, where git became mandatory.  Hg hasn't been the primary dev tool for ages, and git has only got more ubiquitous in the meantime.

I'd suggest keeping hgweb disabled for now and see if anyone complains.

~Andrew

#2 lore raw
Quoted 23 lines · Andrew Cooper
Quoted 12 lines · Roger Pau Monné

Hello,

Last week we had a bit of an emergency when a web crawler started indexing all our mercurial repositories on xenbits, as caused the load on xenbits to go beyond what it can handle.

As a temporary solution we decided to remove access to mercurial repositories, but the contents there are AFAIK only for historical repositories, so we might consider completely removing access to mercurial repositories. This would however require migrating any repository we care about to git.

Quoted 5 lines

I would like an opinion from committers as well as the broad community whether shutting down mercurial repositories and migrating whatever we care about is appropriate. Otherwise we will need to implement some throttling to mercurial accesses in order to avoid overloading xenbits.

Quoted 5 lines

IIRC, we'd mostly moved off hg onto git before moving to the Linux Foundation, where git became mandatory. Hg hasn't been the primary dev tool for ages, and git has only got more ubiquitous in the meantime.

I'd suggest keeping hgweb disabled for now and see if anyone complains.

+ 1

-George

#3 lore raw
In reply to Roger Pau Monné
Quoted 10 lines · Roger Pau Monné

Last week we had a bit of an emergency when a web crawler started indexing all our mercurial repositories on xenbits, as caused the load on xenbits to go beyond what it can handle.

As a temporary solution we decided to remove access to mercurial repositories, but the contents there are AFAIK only for historical repositories, so we might consider completely removing access to mercurial repositories. This would however require migrating any repository we care about to git.

Quoted 5 lines

I would like an opinion from committers as well as the broad community whether shutting down mercurial repositories and migrating whatever we care about is appropriate. Otherwise we will need to implement some throttling to mercurial accesses in order to avoid overloading xenbits.

While I wouldn't strictly mind its shutting off or the disabling of hgweb as was suggested in a reply, either would mean to me personally that it wouldn't be easy enough anymore to warrant trying to hunt down the origin of certain Linux side aspects in the 2.6.18-xen tree. Admittedly me doing so has become increasingly rare over time ...

Jan

#4 lore raw
Quoted 16 lines · Jan Beulich
Quoted 10 lines · Roger Pau Monné

Last week we had a bit of an emergency when a web crawler started indexing all our mercurial repositories on xenbits, as caused the load on xenbits to go beyond what it can handle.

As a temporary solution we decided to remove access to mercurial repositories, but the contents there are AFAIK only for historical repositories, so we might consider completely removing access to mercurial repositories. This would however require migrating any repository we care about to git.

Quoted 5 lines

I would like an opinion from committers as well as the broad community whether shutting down mercurial repositories and migrating whatever we care about is appropriate. Otherwise we will need to implement some throttling to mercurial accesses in order to avoid overloading xenbits.

Quoted 5 lines

While I wouldn't strictly mind its shutting off or the disabling of hgweb as was suggested in a reply, either would mean to me personally that it wouldn't be easy enough anymore to warrant trying to hunt down the origin of certain Linux side aspects in the 2.6.18-xen tree. Admittedly me doing so has become increasingly rare over time ...

We could convert that into a git repo (probably a branch on an existing Linux.git to save most of the conversion work) and make it available via gitweb if it's still useful?

~Andrew

#5 lore raw
Quoted 23 lines · Andrew Cooper
Quoted 16 lines · Jan Beulich
Quoted 10 lines · Roger Pau Monné

Last week we had a bit of an emergency when a web crawler started indexing all our mercurial repositories on xenbits, as caused the load on xenbits to go beyond what it can handle.

As a temporary solution we decided to remove access to mercurial repositories, but the contents there are AFAIK only for historical repositories, so we might consider completely removing access to mercurial repositories. This would however require migrating any repository we care about to git.

Quoted 5 lines

I would like an opinion from committers as well as the broad community whether shutting down mercurial repositories and migrating whatever we care about is appropriate. Otherwise we will need to implement some throttling to mercurial accesses in order to avoid overloading xenbits.

Quoted 5 lines

While I wouldn't strictly mind its shutting off or the disabling of hgweb as was suggested in a reply, either would mean to me personally that it wouldn't be easy enough anymore to warrant trying to hunt down the origin of certain Linux side aspects in the 2.6.18-xen tree. Admittedly me doing so has become increasingly rare over time ...

Quoted 3 lines

We could convert that into a git repo (probably a branch on an existing Linux.git to save most of the conversion work) and make it available via gitweb if it's still useful?

If such a conversion would go cleanly enough, why not.

Jan