MantisBT - Doomseeker |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003969 | Doomseeker | [All Projects] Documentation | public | 2022-01-18 15:22 | 2022-03-22 11:11 |
|
Reporter | WubTheCaptain | |
Assigned To | Zalewa | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 1.3.1 | |
Target Version | 1.3.3 | Fixed in Version | 1.3.3 | |
|
Summary | 0003969: CHANGELOG.md still points to a Mercurial repository URL (404 Not Found) |
Description | 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. |
Steps To Reproduce | $ head -n 4 CHANGELOG.md
# Changelog
Visit this file cleanly formatted in repository:
<https://bitbucket.org/Doomseeker/doomseeker/src/default/CHANGELOG.md> |
Additional Information | 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 [^]' |
Tags | No tags attached. |
Relationships | related to | 0003701 | closed | Blzut3 | Bitbucket will stop supporting Mercurial on June 1, 2020 |
|
Attached Files | 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
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 |
Date Modified | Username | Field | Change |
2022-01-18 15:22 | WubTheCaptain | New Issue | |
2022-01-18 15:22 | WubTheCaptain | Relationship added | related to 0003701 |
2022-01-18 15:43 | WubTheCaptain | Note Added: 0022093 | |
2022-01-18 15:44 | WubTheCaptain | Note Edited: 0022093 | bug_revision_view_page.php?bugnote_id=22093#r13547 |
2022-01-18 16:37 | Zalewa | Note Added: 0022094 | |
2022-01-18 17:11 | WubTheCaptain | Note Added: 0022095 | |
2022-01-18 17:11 | WubTheCaptain | Status | new => resolved |
2022-01-18 17:11 | WubTheCaptain | Fixed in Version | => 1.4.0 |
2022-01-18 17:11 | WubTheCaptain | Resolution | open => fixed |
2022-01-18 17:11 | WubTheCaptain | Assigned To | => Zalewa |
2022-01-18 17:12 | WubTheCaptain | Target Version | => 1.4.0 |
2022-01-18 17:12 | WubTheCaptain | File Added: 0001-CHANGELOG-Fix-an-URL-to-the-Git-master-branch.patch | |
2022-01-18 17:12 | WubTheCaptain | File Added: 0001-pipelines-Change-the-Git-branch-name-to-default.patch | |
2022-01-18 17:12 | WubTheCaptain | Note Edited: 0022095 | bug_revision_view_page.php?bugnote_id=22095#r13549 |
2022-01-18 17:40 | WubTheCaptain | Note Edited: 0022095 | bug_revision_view_page.php?bugnote_id=22095#r13550 |
2022-01-18 19:10 | WubTheCaptain | Note Added: 0022112 | |
2022-01-18 19:10 | WubTheCaptain | Fixed in Version | 1.4.0 => 1.3.3 |
2022-01-18 19:10 | WubTheCaptain | Target Version | 1.4.0 => 1.3.3 |
2022-01-18 19:30 | WubTheCaptain | Description Updated | bug_revision_view_page.php?rev_id=13559#r13559 |
2022-03-22 11:11 | WubTheCaptain | Status | resolved => 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
|
|
|
|
(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.
|
|
|
|
Target Version & Fixed in Version 1.4 → 1.3.3 because of a 1.3.3 tag rewrite: 0003959:0022111 |
|