Page MenuHomePhabricator

Special:Version no longer comparable due to non sequential git style version numbers
Closed, DeclinedPublic

Description

Now with git version numbers one cannot tell which wiki is newer.
Where in the history of software is there a version command that doesn't
let you figure out what version is newer?
Takes much of the point out of the version command.
Worse is on the surface one still thinks these new hex numbers are in
order, and still tries to compare them.
Please add some additional information to the output, like some date.
Don't expect the browsing public to know how to contact some server to
get this information.


Version: 1.20.x
Severity: enhancement
URL: http://transgender-taiwan.org/index.php?title=%E7%89%B9%E6%AE%8A:%E7%89%88%E6%9C%AC%E4%BF%A1%E6%81%AF

Details

Reference
bz35935

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:16 AM
bzimport set Reference to bz35935.
bzimport added a subscriber: Unknown Object (MLST).

OK, now that there is a link to e.g., https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/core.git;h=085367d5ac042fa56be1fe1d4b259d3f96275108
that is better. However perhaps a date could be shown without requiring a click.
Also say that is the upstream date, not the date the wikisysop copied it to disk.

(In reply to comment #0)

Now with git version numbers one cannot tell which wiki is newer.
Where in the history of software is there a version command that doesn't
let you figure out what version is newer?
Takes much of the point out of the version command.

git log will show you the history. Your assumption that git does not support this is flawed.

Worse is on the surface one still thinks these new hex numbers are in
order, and still tries to compare them.

Who thinks that?

I did write Comment 1 too you know.

Note that the date of that revision could be earlier than the tree if the tip was a cherry-pick.

(In reply to comment #4)

Note that the date of that revision could be earlier than the tree if the tip
was a cherry-pick.

That's very true...I don't know of any way we could recognize the difference other than checking the remotes. Even then, it wouldn't be ideal :\

I don't understand, are git hashes even included at all currently? See bug 53335 comment 9.

OK now http://abj.jidanni.org/index.php?title=Special:Version says

MediaWiki 1.23alpha (b59acb6)
2014-01-26T18:41:40

Which is good, but I would still add a mouseover upon the date,
saying if it was when the administrator installed it on the current server, or when that commit was made.

Aklapper subscribed.

IMO showing calendar dates (T40783) solves the comparison core problem described here.
Hence declining.