Skip to contentSkip to conversation

Sunseting mercurial

DISCUSSION Doug Goldstein 5 participants 9 messages Mar 25, 2018 – Mar 28, 2018

lore
Share & tools
lore
#0 lore raw

Hello all,

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as of this email its several weeks out of date.

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

Signature · 6 lines
Doug Goldstein

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#1 lore raw
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 25.03.18 at 04:46, <[email protected]> wrote:

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as of this email its several weeks out of date.

Quoted 2 lines

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

This was brought up before, and I continue to agree _as long_ as our web representation of the tree gains something similar to hg's "annotate" functionality. Without that I find it quite hard to locate commits most recently changing a line or an area of code. Of course aiui this can be done from the command line, but only if one happens to have a repo on the particular machine (which for example I don't have or intend to have at home).

Speaking of mercurial, Anthony, wasn't it you who looks after the git -> hg mirroring? The unstable.hg branch didn't get updated after the last push from staging to master. Could you please see if this can be rectified (assuming that my memory didn't fail me in the first place, and it was someone else)?

Thanks, Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#2 lore raw
Quoted 13 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 25.03.18 at 04:46, <[email protected]> wrote:

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as of this email its several weeks out of date.

Quoted 2 lines

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

Quoted 7 lines

This was brought up before, and I continue to agree _as long_ as our web representation of the tree gains something similar to hg's "annotate" functionality. Without that I find it quite hard to locate commits most recently changing a line or an area of code. Of course aiui this can be done from the command line, but only if one happens to have a repo on the particular machine (which for example I don't have or intend to have at home).

AFAICT this could be enabled by setting:

$feature{'blame'}{'default'} = [1];

In the gitweb configuration file [0][1].

Roger.

[0] https://git-scm.com/docs/gitweb#gitweb-arguments
[1] https://git-scm.com/docs/gitweb#gitweb-blame

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#3 lore raw
In reply to Jan Beulich
Quoted 8 lines · Jan Beulich
Quoted 8 lines
Quoted 1 line
Quoted 1 line · On 25.03.18 at 04:46, <[email protected]> wrote:

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as

Cardoe, if you mean "often out of date", that's true, but only by 10min (which is the frequency at which a cron run).

Quoted 1 line
Quoted 1 line

of this email its several weeks out of date.

I'm guessing it's out of date just because I didn't thought of checking if it was working after the recent server update. I only check every 2 months. I'm going to fix the script now.

Quoted 11 lines
Quoted 2 lines

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

This was brought up before, and I continue to agree _as long_ as our web representation of the tree gains something similar to hg's "annotate" functionality. Without that I find it quite hard to locate commits most recently changing a line or an area of code. Of course aiui this can be done from the command line, but only if one happens to have a repo on the particular machine (which for example I don't have or intend to have at home).

Quoted 5 lines

Speaking of mercurial, Anthony, wasn't it you who looks after the git -> hg mirroring? The unstable.hg branch didn't get updated after the last push from staging to master. Could you please see if this can be rectified (assuming that my memory didn't fail me in the first place, and it was someone else)?

Yes, that me that looks after it. I'll fix the mirror.

Thanks,

Signature · 6 lines
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#4 lore raw
Quoted 1 line · Anthony PERARD

I'll fix the mirror.

It's fixed now.

Signature · 6 lines
Anthony PERARD

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#6 lore raw
In reply to Jan Beulich
Quoted 13 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 25.03.18 at 04:46, <[email protected]> wrote:

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as of this email its several weeks out of date.

Quoted 2 lines

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

Quoted 8 lines

This was brought up before, and I continue to agree _as long_ as our web representation of the tree gains something similar to hg's "annotate" functionality. Without that I find it quite hard to locate commits most recently changing a line or an area of code. Of course aiui this can be done from the command line, but only if one happens to have a repo on the particular machine (which for example I don't have or intend to have at home).

While I agree that gitweb should be changed to support showing that, there exist a few options out there as well that work today.

https://gitlab.com/xen-project/xen/blame/staging/xen/common/Makefile
https://github.com/xen-project/xen/blame/staging/xen/common/Makefile

Browse to any file and click the Blame button or remember the URL and go to it manually or here's a 10 second script.

#!/bin/bash -e

url="http://gitlab.com/xen-project/xen/blame"
thefile=$(readlink -f $1)
repo=$(git rev-parse --show-toplevel)
relfile=${thefile##${repo}}
branch=$(git rev-parse --abbrev-ref HEAD)
xdg-open "${url}/${branch}${relfile}"

Signature · 6 lines
Doug Goldstein

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
#7 lore raw
Quoted 23 lines · Doug Goldstein
Quoted 13 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 25.03.18 at 04:46, <[email protected]> wrote:

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as of this email its several weeks out of date.

Quoted 2 lines

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

Quoted 8 lines

This was brought up before, and I continue to agree _as long_ as our web representation of the tree gains something similar to hg's "annotate" functionality. Without that I find it quite hard to locate commits most recently changing a line or an area of code. Of course aiui this can be done from the command line, but only if one happens to have a repo on the particular machine (which for example I don't have or intend to have at home).

Quoted 8 lines

While I agree that gitweb should be changed to support showing that, there exist a few options out there as well that work today.

https://gitlab.com/xen-project/xen/blame/staging/xen/common/Makefile
https://github.com/xen-project/xen/blame/staging/xen/common/Makefile

Browse to any file and click the Blame button or remember the URL and go to it manually or here's a 10 second script.

Jan, would the above two options be functional enough for you?

I agree that of all the things Anthony could be spending 10 minutes a month on, maintaining a mercurial mirror isn't really a high priority.

-George

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel

#8 lore raw
Quoted 28 lines
Quoted 1 line
Quoted 1 line · On 28.03.18 at 13:25, <[email protected]> wrote:
Quoted 26 lines · Doug Goldstein
Quoted 13 lines · Jan Beulich
Quoted 10 lines
Quoted 1 line
Quoted 1 line · On 25.03.18 at 04:46, <[email protected]> wrote:

Its been officially 5+ years since Xen has moved to git so I propose we start thinking about when to retire the mercurial mirrors. At this point the last stable version to be tracked in mercurial is 4.4 which is long out of any form of support. I know some vendors still have support for versions of Xen down to 4.1 but let's be realistic, there's not a flurry of development happening in those old versions. The mercurial mirror is often out of date (I know someone that's tried to use it) and in fact as of this email its several weeks out of date.

Quoted 2 lines

So maybe its time we start thinking about sunsetting the mercurial mirrors and use those resources for more practical uses.

Quoted 8 lines

This was brought up before, and I continue to agree _as long_ as our web representation of the tree gains something similar to hg's "annotate" functionality. Without that I find it quite hard to locate commits most recently changing a line or an area of code. Of course aiui this can be done from the command line, but only if one happens to have a repo on the particular machine (which for example I don't have or intend to have at home).

While I agree that gitweb should be changed to support showing that, there exist a few options out there as well that work today.

Quoted 7 lines
Quoted 5 lines

https://gitlab.com/xen-project/xen/blame/staging/xen/common/Makefile
https://github.com/xen-project/xen/blame/staging/xen/common/Makefile

Browse to any file and click the Blame button or remember the URL and go to it manually or here's a 10 second script.

Jan, would the above two options be functional enough for you?

In the worst case the above would probably work, but Ian has turned on "blame" for xen.git already, which I much prefer over using secondary repos.

Jan

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel