#5856 Can't access files from fedora hosted
Closed: Fixed Opened by mleonova.

On fedora badges instance we had svg and png files attached to tickets for future re-use, which I don't seem to be able to access anymore. For example see this ticket: https://pagure.io/badges/issue/429
Can there be a way to get to those files?


From that ticket I see one image showing url as https://issue/raw/files/816322bbe29854bc8eb3ef0ad3f01ceb5f005f6960389f5e56108913e5f4ef80-OSCAL.png which is wrong. It should be https://pagure.io/badges/issue/raw/files/816322bbe29854bc8eb3ef0ad3f01ceb5f005f6960389f5e56108913e5f4ef80-OSCAL.png

So the attachement urls are missing initial "pagure.io/badges"

ok, @pnemade that works. but how do we let everybody know they should change url in this manner? can it be done automatically? it's not only 1 ticket - it's all of them (I think) that have been pushed. see this https://pagure.io/badges/issue/487 for example.

@pingou and @cverna might have some ideas here.

Can we edit the tickets repo to fix this and repush?

I think @sayanchowdhury was looking into doing this indeed :)

Yes, the links work now. I updated the JSON files and pushed them which created new comments instead of the updating the old ones. We can close this issue.

I will write an API endpoint in pagure to delete the comments so that this operation can be done via script.

Metadata Update from @kevin:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

Metadata