First of all, I'm sorry for posting this request here, but formerly the SSL cert expiration of my archzfs kernels repo ended up here before. :)
Anyways, I'd like to move my semi-official archzfs-kernels repo off of my end.re domain of my blog as I would like to move the blog to github pages.
People sync my repo 100-160k times a month, so apparently, this move affects a lot of people.
My idea is a subdomain delegation of kernels.archzfs.com to my nameservers so that I can acquire a TLS cert for it using the Let's Encrypt dns-01 challenge validation. (Not that TLS would make it more secure as packages are officially signed.)
FAQ
Why don't you put the packages up on the GitHub pages as well?
While GH Pages has an allowance of 1 TB of storage, the kernel packages account for 745MB of space usage which is not great to host in a git repo anyway. Moreover, since yesterday, I started to answer a HTTP 301 redirection for the package requests to the archive.archlinux.org so that packages will be downloaded from there instead. It might be faster for you this way. GitHub Pages does not support this kind of redirection matching at all:
location ~ ^/archzfs-kernels/(?<fn>(?<pn>(?<fl>.).+?)-[0-9].+pkg\.tar.+)$ {
rewrite ^(.*) https://archive.archlinux.org/packages/$fl/$pn/$fn permanent;
}
Will you share with us the script that generates the repo?
It is right there, executed in place every day at 00:00 UTC.
Will there be any migration period to change pacman.conf?
Sure. After that period I'll answer a 301 (permanent redirect) and later 410 (content gone) for a while on the original URL.
What is needed to be set in pacman.conf for the new location of the repo?
If agreed to use kernels.archzfs.com, then:
[kernels.archzfs.com]
Server = http://$repo/
If not, I'll make use of one of my spare domains.
Maybe it's safe to tag @minextu here as he seemed to be dealing with archzfs related web issues so far.
First of all, I'm sorry for posting this request here, but formerly the SSL cert expiration of my archzfs kernels repo ended up here before. :)
Anyways, I'd like to move my semi-official archzfs-kernels repo off of my
end.redomain of my blog as I would like to move the blog to github pages.People sync my repo 100-160k times a month, so apparently, this move affects a lot of people.
My idea is a subdomain delegation of kernels.archzfs.com to my nameservers so that I can acquire a TLS cert for it using the Let's Encrypt dns-01 challenge validation. (Not that TLS would make it more secure as packages are officially signed.)
FAQ
Why don't you put the packages up on the GitHub pages as well?
While GH Pages has an allowance of 1 TB of storage, the kernel packages account for 745MB of space usage which is not great to host in a git repo anyway. Moreover, since yesterday, I started to answer a HTTP 301 redirection for the package requests to the
archive.archlinux.orgso that packages will be downloaded from there instead. It might be faster for you this way. GitHub Pages does not support this kind of redirection matching at all:Will you share with us the script that generates the repo?
It is right there, executed in place every day at 00:00 UTC.
Will there be any migration period to change pacman.conf?
Sure. After that period I'll answer a 301 (permanent redirect) and later 410 (content gone) for a while on the original URL.
What is needed to be set in pacman.conf for the new location of the repo?
If agreed to use kernels.archzfs.com, then:
If not, I'll make use of one of my spare domains.
Maybe it's safe to tag @minextu here as he seemed to be dealing with archzfs related web issues so far.