reg-server: stop serving outdated pages #2419

Merged
ryanlerch merged 1 commit from reg-server into main 2025-01-16 21:41:30 +00:00
Contributor

This will stop serving the web pages at registry.fedoraproject.org which are very outdated since reg-server isn't maintained anymore.
I put a redirect for registry.fedoraproject.org(/index.html|/repo*) to Fedora webpages for atomic desktops. As I understand, registry.fedoraproject.org/v2* is used for flatpak indexer and should not be replaced.
But there is high possibility I made something wrong...

Signed-off-by: Mattia Verga mattia.verga@tiscali.it

This will stop serving the web pages at registry.fedoraproject.org which are very outdated since reg-server isn't maintained anymore. I put a redirect for registry.fedoraproject.org(/index.html|/repo*) to Fedora webpages for atomic desktops. As I understand, registry.fedoraproject.org/v2* is used for flatpak indexer and should not be replaced. But there is high possibility I made something wrong... Signed-off-by: Mattia Verga <mattia.verga@tiscali.it>
First-time contributor

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/aedf271450b34460893d0ead12886e3f

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/aedf271450b34460893d0ead12886e3f - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/6763ab1a60fc4dc4a78d4912893d4c0b) : FAILURE in 2m 50s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/bd6052d728e04dda91aea7f26d3c84fe) : SUCCESS in 2m 15s
Contributor

Well, there's more than atomic-desktops there... there's base/minimal images, flatpaks and atomic stuff.

How about redirecting to https://quay.io/organization/fedora ?
(That won't have the flatpaks yet tho).

CC: @yselkowitz

Well, there's more than atomic-desktops there... there's base/minimal images, flatpaks and atomic stuff. How about redirecting to https://quay.io/organization/fedora ? (That won't have the flatpaks yet tho). CC: @yselkowitz
Contributor

AFAIK we don't need a web interface for the flatpak container images, as long as pulls still work.

AFAIK we don't need a web interface for the flatpak container images, as long as pulls still work.
Author
Contributor

rebased onto 104213baac

rebased onto 104213baace7a3c718250b34721166a8c4f58dd4
First-time contributor

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/c153fd5a61b84ea08f4d7c62abe41b98

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/c153fd5a61b84ea08f4d7c62abe41b98 - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/dd0cc08acca04cdf9ca6d8d4b00f8b9c) : FAILURE in 2m 23s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/2201241fc0f34127a944bdf12325c7de) : SUCCESS in 2m 16s
Contributor

Can you rebase this? Has conflicts now...

Can you rebase this? Has conflicts now...
Author
Contributor

rebased onto 6c38d7b61a

rebased onto 6c38d7b61a47fbbc07080fe5acd685e1696c3221
First-time contributor

Merge Failed.

This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.
Warning:
Error merging pagure.io/fedora-infra/ansible for 2419,7bd8635d623cfa6b629effd7412565ea4d89915d

Merge Failed. This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. Warning: Error merging pagure.io/fedora-infra/ansible for 2419,7bd8635d623cfa6b629effd7412565ea4d89915d
Author
Contributor

Rebase done.
Note that I'm not familiar with apache rewrites. While I've tested the regex to work using online tools, I'm not sure I've done it right, especially the RewriteCond part.

Rebase done. Note that I'm not familiar with apache rewrites. While I've tested the regex to work using online tools, I'm not sure I've done it right, especially the `RewriteCond` part.
Contributor

rebased onto 80aa4bbbc2

rebased onto 80aa4bbbc2ec45c0ea6f6f3b5e36191273ac1677
Contributor

rebased onto 80aa4bbbc2

rebased onto 80aa4bbbc2ec45c0ea6f6f3b5e36191273ac1677
First-time contributor

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/44ebb1b5a0514226a4b7c307f067522a

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci https://fedora.softwarefactory-project.io/zuul/buildset/44ebb1b5a0514226a4b7c307f067522a - [fi-ansible-lint-diff ](https://fedora.softwarefactory-project.io/zuul/build/c238c2a02a1245eab1a9a1a4ccb0db69) : FAILURE in 2m 24s - [fi-yamllint-diff ](https://fedora.softwarefactory-project.io/zuul/build/180f1e762ebf4bd2a9608afcf8dea2a5) : SUCCESS in 2m 08s
Contributor

Lets give this a try. I think you got it right... ;)

Lets give this a try. I think you got it right... ;)
Contributor

Pull-Request has been merged by kevin

Pull-Request has been merged by kevin
Contributor

Ah, I misread this, it's not going to work. ;(

We need to change ./roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf

Since the reverseproxy takes precidence over the redirects...

I can try and do that, or if you want to, feel free.

Ah, I misread this, it's not going to work. ;( We need to change ./roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf Since the reverseproxy takes precidence over the redirects... I can try and do that, or if you want to, feel free.
Author
Contributor

So, I should move the rewrite rule from roles/fedora-web/main/files/redirects.conf.prod to roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf ? Or dupe it?

So, I should move the rewrite rule from roles/fedora-web/main/files/redirects.conf.prod to roles/httpd/reverseproxy/templates/reversepassproxy.registry-generic.conf ? Or dupe it?
Contributor

Move. The main one is not ever used because the reverseproxy part gets run first.
(at least thats my read of it)

Move. The main one is not ever used because the reverseproxy part gets run first. (at least thats my read of it)
Author
Contributor

Done in #2432

Done in #2432
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Infrastructure/ansible#2419
No description provided.