Some background on this: a week ago /u/LeopardFuzzy reported getting HTTP 429 when cloning ros-noetic-desktop-full from AUR. At first I thought this was due to a bug in yay causing excessing requests to the RPC interface. Later I could replicate the issue with aur-depends which only did 8 requests.
After asking around on #archlinux-devops on IRC I found out that rate-limiting was alsointroduced for git operations, allowing ~15 per minute (30/2) before rate limiting kicks in.
A longer discussion kicked in and as it turns out, AUR helpers like pamac are not only hammering the RPC, but also the git repositories with frequent git fetches. I then proposed to make a read-only mirror, hosted on 3rd-party architecture (like github) to reduce the load. @klausenbusk put in some work and this resulted in an (experimental) github mirror.
To demonstrate how well this works, I've implemented some code in aurutils in the fetch-mirror branch. The basic idea is quite similar to asp and svn2git: keep a shallow clone of the package mirror, fetch branches as-needed, and create local clones.
For the mentioned case of ros-noetic-desktop: before rate limiting was introduced, cloning all the needed repositories would take well over a minute. With the new mirror, it's a matter of seconds and I even had to adjust the output because the terminal became a bottle-neck!
A full checkout of the mirror can also be done. On my machine, this takes about 4 minutes and results in an 1.2GB repository.
Half-truths - take a look at page 16 where they explain how they avoided rotation/slide attacks. They give the standard explanation that using round-constants would thwart these attacks. This could have been fine if the last sentence wasn't "/Also see [AL16]/". From the text it seems as if /AL16/ supports the claims made in this paragraph. However, /AL16/ is a paper I co-authored which is how I know that not only that it doesn't support the claim, it actually shows how to adapt rotational cryptanalysis to algorithms using round constants.
For a few years now (see [1], [2]), the Beginners' guide has been gradually adopted into something which is quite close to the Installation guide. Not only did it improve the guide itself, many other articles in the wiki did - we're relying on the actual articles providing good content, rather than have a "wiki in the wiki" as back in the day. Now, the remaining content has been merged back into the Installation guide. [3]
A nice example of this is Category:Getting and installing Arch [4], which now has a nice tabular overview of all possible means of installing the system.
Another nice thing is that the new installation guide is brimmed with references to man pages. I'm sure I don't have to explain to Arch users why making people read the manual is a good thing.
So, take an actual look at what's happened - read the new Installation guide, rather than make quick comments on how it sucks. For reference, see [5] for the second-last revision of the Beginners' guide.
If you have suggestions to make on improving the Installation guide, patches welcome.
To put the final nail in the coffin of resurfacing AUR helper threads, I've extended the wiki table to include two more columns: "Diff view" and "Build interaction". Build interaction is the sort of thing that made pacaur one of the most popular helpers, being that all questions are asked in advance including viewing pkgbuilds and answering any pacman questions.
With the new criteria there's also not a single helper that scores full credits, emphasizing that the one perfect helper does not exist.
Some background on this: a week ago /u/LeopardFuzzy reported getting HTTP 429 when cloning
ros-noetic-desktop-fullfrom AUR. At first I thought this was due to a bug inyaycausing excessing requests to the RPC interface. Later I could replicate the issue withaur-dependswhich only did 8 requests.After asking around on
#archlinux-devopson IRC I found out that rate-limiting was also introduced forgitoperations, allowing ~15 per minute (30/2) before rate limiting kicks in.A longer discussion kicked in and as it turns out, AUR helpers like
pamacare not only hammering the RPC, but also thegit repositorieswith frequent git fetches. I then proposed to make a read-only mirror, hosted on 3rd-party architecture (like github) to reduce the load. @klausenbusk put in some work and this resulted in an (experimental) github mirror.To demonstrate how well this works, I've implemented some code in aurutils in the fetch-mirror branch. The basic idea is quite similar to
aspandsvn2git: keep a shallow clone of the package mirror, fetch branches as-needed, and create local clones.For the mentioned case of
ros-noetic-desktop: before rate limiting was introduced, cloning all the needed repositories would take well over a minute. With the new mirror, it's a matter of seconds and I even had to adjust the output because the terminal became a bottle-neck!A full checkout of the mirror can also be done. On my machine, this takes about 4 minutes and results in an 1.2GB repository.
lol rekt
blames Allan
For a few years now (see [1], [2]), the Beginners' guide has been gradually adopted into something which is quite close to the Installation guide. Not only did it improve the guide itself, many other articles in the wiki did - we're relying on the actual articles providing good content, rather than have a "wiki in the wiki" as back in the day. Now, the remaining content has been merged back into the Installation guide. [3]
A nice example of this is Category:Getting and installing Arch [4], which now has a nice tabular overview of all possible means of installing the system.
Another nice thing is that the new installation guide is brimmed with references to man pages. I'm sure I don't have to explain to Arch users why making people read the manual is a good thing.
So, take an actual look at what's happened - read the new Installation guide, rather than make quick comments on how it sucks. For reference, see [5] for the second-last revision of the Beginners' guide.
If you have suggestions to make on improving the Installation guide, patches welcome.
[1] https://wiki.archlinux.org/index.php?title=Talk:Beginners%27_guide&oldid=443725#Unification
[2] https://wiki.archlinux.org/index.php/Talk:Beginners%27_guide#The_Great_Merge
[3] https://wiki.archlinux.org/index.php/Talk:Installation_guide#BG_merge
[4] https://wiki.archlinux.org/index.php/Category:Getting_and_installing_Arch
[5] https://wiki.archlinux.org/index.php?title=Beginners%27_guide&oldid=446855
To put the final nail in the coffin of resurfacing AUR helper threads, I've extended the wiki table to include two more columns: "Diff view" and "Build interaction". Build interaction is the sort of thing that made
pacaurone of the most popular helpers, being that all questions are asked in advance including viewing pkgbuilds and answering any pacman questions.With the new criteria there's also not a single helper that scores full credits, emphasizing that the one perfect helper does not exist.