action #59993
closedNeed redirect for Leap 15.1 ports source repos to default source repo
100%
Description
Need redirect for Leap 15.1 ports source repos to default source repo
http://download.opensuse.org/ports/aarch64/source/distribution/leap/15.1/repo/oss/
http://download.opensuse.org/ports/ppc/source/distribution/leap/15.1/repo/oss/
to be redirected to:
http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/
This is something already discussed in irc and closed pull request. https://github.com/yast/skelcd-control-openSUSE/pull/187#issuecomment-519456040
Who know how to do this redirect operation ?
We may do the redirect at upper level in url string:
from http://download.opensuse.org/ports/ppc/source/distribution/leap
to http://download.opensuse.org/source/distribution/leap
So that we will cover also Leap 15.2 currently in development.
Updated by lkocman almost 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Done for Leap 15.1, and 15.2. 15.3 will not have ports.
lkocman@pontifex2:/etc/apache2/vhosts.d> diff _download.conf _download.conf.macro-20200703
339,347d338
< # Redirection for ports source repos to main source repos poo#59993
< # Won't be needed in 15.3 where ports will be no more
< # http://download.opensuse.org/ports/aarch64/source/distribution/leap/15.1/repo/oss/
< # http://download.opensuse.org/ports/ppc/source/distribution/leap/15.1/repo/oss/
< # to be redirected to:
< # http://download.opensuse.org/source/distribution/leap/15.1/repo/oss/
<
< RewriteRule /ports/(aarch64|armv7hl|ppc)/source/distribution/leap/15.(1|2)/repo/oss/(.*) /source/distribution/leap/15.$2/repo/oss/$3 [L]
<
lkocman@pontifex2:/etc/apache2/vhosts.d>