More bodhi2 urls redirects.

This commit is contained in:
Ralph Bean 2015-08-17 15:55:38 +00:00
parent 462a895694
commit 4c8dbdd818

View file

@ -64,7 +64,24 @@
name: 01-bodhi2-cutover-comments-list
website: admin.fedoraproject.org
regex: /updates/comments$
target: https://bodhi.stg.fedoraproject.org/comments
target: https://bodhi.stg.fedoraproject.org/comments/
when: env == 'staging'
# This one is sub-optimal, but we have no way to map /mine to /$username
- role: httpd/redirectmatch
name: 02-bodhi2-mine-fallback
website: admin.fedoraproject.org
regex: /updates/mine$
target: https://bodhi.stg.fedoraproject.org/
when: env == 'staging'
# This is similar to /mine. Ideally, we would redirect to
# /overrides/?user=$USERNAME, but we can't get that username afaik.
- role: httpd/redirectmatch
name: 03-bodhi2-cutover-overrides-list
website: admin.fedoraproject.org
regex: /updates/override/list$
target: https://bodhi.stg.fedoraproject.org/overrides/
when: env == 'staging'
- role: httpd/redirectmatch