-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support slashes in release tags #12864
Support slashes in release tags #12864
Conversation
Fix go-gitea#12861 Signed-off-by: Andrew Thornton <art27@cantab.net>
starting point :) but do not work - I'll have a look at it |
Is title meant to say forward slashes based on linked issue? |
Codecov Report
@@ Coverage Diff @@
## master #12864 +/- ##
==========================================
+ Coverage 42.93% 43.08% +0.14%
==========================================
Files 655 655
Lines 72329 72347 +18
==========================================
+ Hits 31054 31169 +115
+ Misses 36253 36122 -131
- Partials 5022 5056 +34
Continue to review full report at Codecov.
|
Sorry @mrsdizzie yes of course - I blame @6543 😉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
macaron is acting wrong!!
this should be right but if you try it, all tag pages become 404
so I guess it is a macaron bug :/
@6543 Is there still a break? |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ack: creating release tags with slashes worked
yes still breaks |
@6543 exactly which URLs are still broken? Do you mean the URLs governed by: Because I haven't changed those and frankly they need to be fixed to path escape the tag rather than changing the routing. (It's worth noting that some of the first things I did in Gitea were fixing broken escaping and I still am doing so - we really need to get on top of this.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this did it
Fixed now! Sorry I wasn't testing this properly as I didn't realise how to create a release properly. As an aside - this is a terrible UI - tags get autoreleased but then you can't easily create a release from one without stating the name. I think this needs looking at again. |
Pleace send backport ;) |
Backport go-gitea#12864 Fix go-gitea#12861 Signed-off-by: Andrew Thornton <art27@cantab.net>
Fix #12861
Signed-off-by: Andrew Thornton art27@cantab.net