Skip to content

Remove the HTTP request towards https://aur.archlinux.org #262

Description

@christian-heusel

Your project queries our service so much that this is the top requested endpoint:

const response = await fetch(
"https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=visual-studio-code-bin",
{
signal: controller.signal,
},
)

Please immediately remove the reference to this endpoint in your codebase as we do not consider it fair use in it's current implementation! ⚠️

If you need an endpoint to hammer please rely on the GitHub mirror of the package https://github.com/archlinux/aur/tree/visual-studio-code-bin (or think of a proper implementation of a version check instead (hinthinthint).

Even something as simple as this would do the trick:

$ curl -s https://code.visualstudio.com/sha/download\?build\=stable\&os\=linux-x64 | awk -F/ '{ print $NF }'
code-stable-x64-1781225422.tar.g

This has caused 42 million requests to this endpoint on our service with the node user agent in the last few weeks:

$ zgrep "cgit/aur.git/plain/PKGBUILD?h=visual-studio-code-bin" $(ls -1 access* | grep -v "json") | grep "node" | wc -l
42072844

If you think that this is a wrongful analysis of the overall situation please let us (the Arch Linux DevOps Team) know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions