Restore arcane breadcrumbs (broken link) #3174
No reviewers
Labels
No labels
ai-review-please
freeze-break-request
post-freeze
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/ansible!3174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "mwinters/infra-ansible:tahrir_breadcrumb"
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?
I'm trying to get my head around Tahrir and just encountered this broken breadcrumb:
The link is wrong, but the new link should be:
infra/tickets#8689
so, the update commit where I tried to update pagure.io issue links to forge seems to have missed a part of the path.
4542e501b6ee88fafbebee88fafbeb2047fc08d7@kevin Thanks, rebased and updated.
a1b06af115894322aa8d@kevin I added a second commit to fix all such instances. The only non-comment change was
files/httpd/fedorahosted-redirects.conf-- maybe double-check that..894322aa8def010bcedb@kevin The linters are complaining about problems I didn't create :)
I added a 3rd commit, to satisfy yamllint because that was just trailing spaces. I don't know what ansible-lint wants. (No spare cycles to grok that playbook at the moment.)
Let me know if you want me to squash before merge.
Two raw links need adjustment. ;)
But this also hits frozen hosts, so it needs a freeze break or to wait until after freeze. Do you have a preference? I think it all seems reasonable (aside the two minor things), so I would +1 it (but it needs another).
yeah, don't worry about linting for now... there's a few pr's to fix things more for that but dont worry about it being a blocker for now.
@ -5,3 +5,3 @@<div style="margin: auto" class="container"><a href="https://fedoraproject.limequery.com/2023" target="_blank"><img src="https://forge.fedoraproject.org/infra/tickets/raw/files/b4d328e7ce730f610530822af4c9cdab1029c47dc2bdb15648d4008e1b304e43-contributor-survey-banner.png" style="max-width: 100%"><img src="https://forge.fedoraproject.org/infra/tickets/issues/raw/files/b4d328e7ce730f610530822af4c9cdab1029c47dc2bdb15648d4008e1b304e43-contributor-survey-banner.png" style="max-width: 100%">This doesn't seem quite right... at least it's 404...
I'm not sure how to fix this. Both the original and my updated version are 404, and I have no way to know what ticket number these attachments belong to so I can't go figure out the correct URL (if there is one).
Ah yeah, it's an attachment...
https://forge.fedoraproject.org/fedora-infrastructure/issue/raw/files/b4d328e7ce730f610530822af4c9cdab1029c47dc2bdb15648d4008e1b304e43-contributor-survey-banner.png
I think should be right? (although really it just redirects to the old pagure attachment since that url is a pagure one and attachments didn't migrate).
@ -6,3 +6,3 @@<div class="banner"><a href="https://fedoraproject.limequery.com/2023" target="_blank"><img src="https://forge.fedoraproject.org/infra/tickets/raw/files/b4d328e7ce730f610530822af4c9cdab1029c47dc2bdb15648d4008e1b304e43-contributor-survey-banner.png"><img src="https://forge.fedoraproject.org/infra/tickets/issues/raw/files/b4d328e7ce730f610530822af4c9cdab1029c47dc2bdb15648d4008e1b304e43-contributor-survey-banner.png">Same here.
@nirik See my thread comment above. I'm fine with merging this after the freeze, though perhaps the broken redirect is worth the breakglass -- your call.
ef010bcedbd3a3c98bbfd3a3c98bbf68c54c6832@nirik I corrected the attachment URLs and squashed.
Thanks! Lets just wait and push this next wed...
AI Code Review
📋 MR Summary
Fixes broken Forge links across the repository by appending
/issues/to ticket paths and correcting raw attachment URLs. The changes predominantly affect code comments, with functional updates to an httpd redirect rule and two HTML templates.fedorahosted-redirects.confto point legacy ticket URLs to the new/issues/endpoint.yamllintwarnings.Detailed Code Review
The implementation correctly aligns with the conclusions discussed during the PR review process. The broken attachment links have been successfully reconstructed using the proper
fedora-infrastructure/issue/raw/files/path format. The repository-wide updates to the documentation comments accurately implement the/issues/path injection.The update to
files/httpd/fedorahosted-redirects.confcorrectly preserves the regex capture group$1while safely updating the destination URL. Furthermore, the minor whitespace removals nicely satisfyyamllintwithout bleeding into broader linting scopes, which honors the reviewer's guidance that full linting is not a blocker here.No critical issues or bugs were identified in this review.
✅ Summary
🤖 AI Code Review | Generated with ai-code-review | Model:
gemini-3.1-pro-preview⚠️ AI-generated suggestions may be incorrect. Verify before applying. Not a replacement for human review.
Merging this now. Thanks for the pull request!