As the wiki <
https://rpmfusion.org/Configuration> notes (with questionable
formatting), our repos can be installed via the command line using:
sudo dnf install
https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E
%fedora).noarch.rpm
https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-...
-E %fedora).noarch.rpm
That's all well and good, but kind of a mouthful.
Is there any reason we couldn't set up redirects *TO *those unwieldy URLs?
Say for example from...
-
https://get.rpmfusion.org/fedora/31 <
https://get.rpmfusion.org/f31>
- (and
https://get.rpmfusion.org/free/fedora/31
<
https://get.rpmfusion.org/free/f31>, sure, but IMHO the *implied* free
version should be there as well)
-
https://get.rpmfusion.org/nonfree/fedora/31
<
https://get.rpmfusion.org/nonfree/f31>
-
https://get.rpmfusion.org/fedora/32 <
https://get.rpmfusion.org/f32>
-
https://get.rpmfusion.org/nonfree/fedora/32
<
https://get.rpmfusion.org/nonfree/f32>
-
https://get.rpmfusion.org/epel/8 <
https://get.rpmfusion.org/el8>
-
https://get.rpmfusion.org/nonfree/epel/8
<
https://get.rpmfusion.org/nonfree/el8>
...and so on.
I overrode my first instinct of .../f31, .../f32, and .../el8, because
using just the number lets us keep the $(rpm -E %fedora) part of the
instructions, and we can just tell Fedora users to run:
sudo dnf install
https://get.rpmfusion.org/fedora/$(rpm -E %fedora)
sudo dnf install
https://get.rpmfusion.org/nonfree/fedora/$(rpm -E %fedora)
(Or maybe
https://get.rpmfusion.org/fedora/$(rpm -E %fedora)/nonfree is
better, actually? For cutting-and-pasting it doesn't matter, but if you're
typing it by hand it kinda feels more obvious. I'm open to input here.)
If the only reason this doesn't exist is because nobody's done it, and the
project can donate a NameVirtualHost for
get.rpmfusion.org, I can slap
together the mod_rewrite stanzas so it can serve up redirects to the full
package URLs.
Or if it doesn't exist because it's a stupid idea that nobody wants, I can
accept that, and less work for me!