Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Removing support for mercurial repos in repositories.xml
Date: Mon, 24 Sep 2018 05:59:58
Message-Id: 1537768786.811.1.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [RFC] Removing support for mercurial repos in repositories.xml by Alec Warner
1 On Sun, 2018-09-23 at 18:46 -0400, Alec Warner wrote:
2 > On Sun, Sep 23, 2018 at 4:42 PM Michał Górny <mgorny@g.o> wrote:
3 >
4 > > Hi, everyone.
5 > >
6 > > I'd like to ask Gentoo repository owners to switch off Mercurial
7 > > and remove all Mercurial repositories from repositories.xml. There are
8 > > two reasons for that:
9 > >
10 > > 1. Portage does not support syncing from Mercurial repos, and needs to
11 > > use external tools (e.g. layman) for that.
12 > >
13 > > 2. Mercurial is buggy and maintaining support for those repos is PITA.
14 > >
15 > > If you noticed that Gentoo repository mirrors did not update for 10
16 > > hours a few days ago -- Mercurial was the reason. It is very fragile,
17 > > and if some server chokes during sync, it hangs the whole process until
18 > > somebody (which means me) kills it. And it's not the first time it
19 > > killed the whole system.
20 > >
21 > > Yes, I could add process timeouts. But small timeouts are going to
22 > > break the occasional necessity of cloning big repos, and big timeouts
23 > > are going to make little difference when Mercurial starts hanging again.
24 > >
25 >
26 > So you are against timeouts altogether, or you just don't want to implement
27 > them?
28
29 I'm against dumb timeouts. Good timeout = die if nothing happens for T.
30 Bad timeout = die if process doesn't finish for T (yet it may still be
31 doing something).
32
33 >
34 >
35 > >
36 > > If someone really cares about this horrible piece of software, I'd
37 > > appreciate patches (preferably going upstream) to make it timeout sanely
38 > > when something hangs. Otherwise, I'd like to announce discontinuation
39 > > of Mercurial support soon.
40 > >
41 > > --
42 > > Best regards,
43 > > Michał Górny
44 > >
45
46 --
47 Best regards,
48 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies