Requesting any site of git.fedorahosted.org/* will result in a 301 redirect to https://fedoraproject.org/wiki/Infrastructure/Fedorahosted-retirement
Is it possible to do per-project redirects to the pagure.io equivalent?
I tested this using the mod_nss, mod_revocator and certmonger project though even requesting a non-existent project does the redirect so I'm guessing its a wildcard.
We can yes. We really don't want to get into trying to make every link that existed in hosted cgit redirect to pagure, but we can do some things.
it's easy to setup the top cgit level to redirect to pagure and I have a recipe to redirect commits. Will that work or do you need more? which projects exactly shall I set it up for?
I think the top level http[s]://git.fedorahosted.org/ is sufficient. The concern is people following existing links here and there (and in older source blobs). The projects so far are:
Hum, some of these were under a subdir on fedorahosted?
Could you possibly get me the fedorahosted name -> pagure name mapping?
Otherwise I can try and sort it out.
ok. I have setup the following:
RewriteRule ^/c*git/389/ds.git(.*)$ https://pagure.io/389-ds-base [L,R] RewriteRule ^/c*git/389/lib389.git(.*)$ https://pagure.io/lib389 [L,R] RewriteRule ^/c*git/389/console.git(.*)$ https://pagure.io/389-console [L,R] RewriteRule ^/c*git/389/ds-console.git(.*)$ https://pagure.io/389-ds-console [L,R] RewriteRule ^/c*git/389/dsgw.git(.*)$ https://pagure.io/389-dsgw [L,R] RewriteRule ^/c*git/389/admin.git(.*)$ https://pagure.io/389-admin [L,R] RewriteRule ^/c*git/389/adminutil.git(.*)$ https://pagure.io/389-adminutil [L,R] RewriteRule ^/c*git/389/admin-console.git(.*)$ https://pagure.io/389-admin-console [L,R] RewriteRule ^/c*git/idm-console-framework.git(.*)$ https://pagure.io/idm-console-framework [L,R] RewriteRule ^/c*git/gss-ntlmssp.git(.*)$ https://pagure.io/gssntlmssp [L,R] RewriteRule ^/c*git/mod_nss.git(.*)$ https://pagure.io/mod_nss [L,R] RewriteRule ^/c*git/freeipa.git(.*)$ https://pagure.io/freeipa [L,R] RewriteRule ^/c*git/certmonger.git(.*)$ https://pagure.io/certmonger [L,R]
I couldn't find a git repo for dogtagpki on fedorahosted. Was it there before?
Let me know if you find it's name or want any adjustments.
:metro:
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
The dogtag projects didn't move their code to pagure. I'll let them open their own request if they want. Thanks.