Fix #65: Replace WebSVN links with Gitea URLs in asmxygen.py #393
Reference in New Issue
Block a user
Delete Branch "nitinsoni4115/kolibrios:fix-asmxygen-links"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Updates the link_root variable to point to the new Gitea repository
instead of the old WebSVN links:
Also updates the line anchor format to match Gitea's format:
@@ -401,3 +401,3 @@contents += (f"@par Source\n" +f"<a href='{link_root}/{self.file}" +f"#line-{self.line}'>{self.file}:{self.line}</a>\n")f"#L{self.line}'>{self.file}:{self.line}</a>\n")What is sence of this change?
The #line- format was WebSVN-specific. Gitea uses
#L{line} format (same as GitHub/GitLab), so this
change is correct.
@@ -1040,3 +1040,2 @@if __name__ == "__main__":link_root = "http://websvn.kolibrios.org/filedetails.php"link_root += "?repname=Kolibri+OS&path=/kernel/trunk"link_root = "https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main"You changed link to /kernel/trunk folder with link to repo root?
Is that correct?
You are right! The link_root was missing /kernel/trunk.
Fixed in the latest commit 28e57ceff.
Correct URL now generates:
https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main/kernel/trunk/{file}#L{line}
Thanks for attending to this. 🙏
Hi @Burer! Both changes are now correct:
345974c74- /kernel/trunk addedPlease review
@nitinsoni4115 - please carefully check all my comments on #65. When you are happy everything is correct, I can also review 🙏
Hi @ace-dent! I've reviewed all comments on issue #65
and made the following updates in the latest commit:
depends on hosting platform
Everything looks correct now. Please review when ready!