Learn more about these different git repos.
Other Git URLs
When importing issues into a Pagure repository with the pagure-importer tool, if an imported tag has a slash character (/), Pagure will not be able to edit or delete the tag in repo settings.
/
I discovered this issue when importing the Fedora Ambassadors of North America Trac into Pagure. There is a tag, budget/booth, that I am unable to drop or edit after importing the repository. Editing the tag gives me a 404 (because it interprets the slash as a new directory) and deleting the tag refreshes the page but takes no effect.
budget/booth
<img alt="Pagure_tags_with_slashes.png" src="/pagure/issue/raw/files/1382156a705b6cf7ad78ef7723f50d0790edf44eb5a8e9242adcc8bd2b78d120-Pagure_tags_with_slashes.png" />
I can go in an clean up that tag for you, but I am not sure I want to allow this type of tags in pagure. This specific seems like something that could be done with two tags, no?
If you're ok with me not adding support for '/' in tags, I think then the issue should be raised on pagure-importer so that it avoids this situation.
@pingou In this case, if you could manually fix the tag, that would be great!
And I don't personally see the use of slashes in tags, so it would make sense for the importer tool to just split tags up if they have a slash character. I'd be fine with porting this there and closing the ticket here. :)
https://pagure.io/pagure-importer/pull-request/73
The above mentioned PR is merged
And the tag budget/booth has been removed so let's close :)
Thanks for the report!
@pingou changed the status to Closed
Closed
Login to comment on this ticket.