MantisBT - Doomseeker
View Issue Details
0003969Doomseeker[All Projects] Documentationpublic2022-01-18 15:222022-03-22 11:11
WubTheCaptain 
Zalewa 
normalminoralways
closedfixed 
1.3.1 
1.3.31.3.3 
0003969: CHANGELOG.md still points to a Mercurial repository URL (404 Not Found)
In Doomseeker versions 1.3.1 through 1.3.3 (current) 1.3.2, CHANGELOG.md points to the following URL:'https://bitbucket.org/Doomseeker/doomseeker/src/default/CHANGELOG.md [^]'
This URL is 404 Not Found.
$ head -n 4 CHANGELOG.md
# Changelog

Visit this file cleanly formatted in repository:
<https://bitbucket.org/Doomseeker/doomseeker/src/default/CHANGELOG.md>
This is because in Mercurial, the default branch name is called "default". In Git (since we moved from Mercurial to Git, due to BitBucket dropping support for Mercurial), the default branch name is "master". The changelog can be currently found at the "master" branch URL:'https://bitbucket.org/Doomseeker/doomseeker/src/master/CHANGELOG.md [^]'
No tags attached.
related to 0003701closed Blzut3 Bitbucket will stop supporting Mercurial on June 1, 2020 
patch 0001-CHANGELOG-Fix-an-URL-to-the-Git-master-branch.patch (4,593) 2022-01-18 17:12
https://zandronum.com/tracker/file_download.php?file_id=2715&type=bug
patch 0001-pipelines-Change-the-Git-branch-name-to-default.patch (4,455) 2022-01-18 17:12
https://zandronum.com/tracker/file_download.php?file_id=2716&type=bug
Issue History
2022-01-18 15:22WubTheCaptainNew Issue
2022-01-18 15:22WubTheCaptainRelationship addedrelated to 0003701
2022-01-18 15:43WubTheCaptainNote Added: 0022093
2022-01-18 15:44WubTheCaptainNote Edited: 0022093bug_revision_view_page.php?bugnote_id=22093#r13547
2022-01-18 16:37ZalewaNote Added: 0022094
2022-01-18 17:11WubTheCaptainNote Added: 0022095
2022-01-18 17:11WubTheCaptainStatusnew => resolved
2022-01-18 17:11WubTheCaptainFixed in Version => 1.4.0
2022-01-18 17:11WubTheCaptainResolutionopen => fixed
2022-01-18 17:11WubTheCaptainAssigned To => Zalewa
2022-01-18 17:12WubTheCaptainTarget Version => 1.4.0
2022-01-18 17:12WubTheCaptainFile Added: 0001-CHANGELOG-Fix-an-URL-to-the-Git-master-branch.patch
2022-01-18 17:12WubTheCaptainFile Added: 0001-pipelines-Change-the-Git-branch-name-to-default.patch
2022-01-18 17:12WubTheCaptainNote Edited: 0022095bug_revision_view_page.php?bugnote_id=22095#r13549
2022-01-18 17:40WubTheCaptainNote Edited: 0022095bug_revision_view_page.php?bugnote_id=22095#r13550
2022-01-18 19:10WubTheCaptainNote Added: 0022112
2022-01-18 19:10WubTheCaptainFixed in Version1.4.0 => 1.3.3
2022-01-18 19:10WubTheCaptainTarget Version1.4.0 => 1.3.3
2022-01-18 19:30WubTheCaptainDescription Updatedbug_revision_view_page.php?rev_id=13559#r13559
2022-03-22 11:11WubTheCaptainStatusresolved => closed

Notes
(0022093)
WubTheCaptain   
2022-01-18 15:43   
(edited on: 2022-01-18 15:44)
There are a few ways to take action on this:
  • Rename the Git "master" branch to "default". This is plausible, but I see this solution to be associated with political and controversial things (not in a good way) lobbied by a vocal minority of users I believe to have a questionable mental health background (me talking about this is like stepping onto a landmine too for several reasons). It would also require a small commit to change bitbucket-pipelines.yml. For now, Git upstream has kept the default branch named "master", but as of Git 2.28 that became changeable with the Git config option init.defaultBranch. (I've been unfortunately unable to find the original pull requests/issues reported on Git upstream or projects about this, but a few years ago when the controversy was all new I had dig up a bit on the original reporter and the beliefs held by the reporter were generally repulsive to me.)
  • Commit a change to CHANGELOG.md fixing the URL to point to "master". A rather simple (and undisruptive?) fix for future releases. Older releases with older URLs will remain unavailable.
  • Use a HTTP redirect from "default" to "master" to prevent linkrot. But because we don't control the webserver that hosts the Git repository (on BitBucket) and I don't expect any support from Atlassian (Bitbucket) for this, I don't have high hopes to solve this with a HTTP redirect.

I'm willing to patch this with proposal 2, but I'll wait for feedback from other Doomseeker developers.

(0022094)
Zalewa   
2022-01-18 16:37   
I fixed the URL:'https://bitbucket.org/Doomseeker/doomseeker/commits/b4e3ba724968a8c91e850d3e63aab9db1a67b32e [^]'
(0022095)
WubTheCaptain   
2022-01-18 17:11   
(edited on: 2022-01-18 17:40)
Unfortunate, I spent the last two hours preparing two patches (attached). More background details and political history within.

(0022112)
WubTheCaptain   
2022-01-18 19:10   
Target Version & Fixed in Version 1.4 → 1.3.3 because of a 1.3.3 tag rewrite: 0003959:0022111