chaotic-aur / notes Goto Github PK
View Code? Open in Web Editor NEWDocumentation on how to operate our nodes ๐
Documentation on how to operate our nodes ๐
Import good keys:
locate chaotic-trusted
for i in $(locate chaotic-trusted) ; do
sha256sum "$i"
done
for i in $(cut -d: -f1 $(locate chaotic-trusted | head -1)) ; do
gpg --keyserver keyserver.ubuntu.com --recv-key "$i"
done
Remove bad keys:
locate chaotic-revoked
for i in $(locate chaotic-revoked) ; do
sha256sum "$i"
done
for i in $(cut -d: -f1 $(locate chaotic-revoked | head -1)) ; do
gpg --delete-keys --fingerprint "$i"
done
Find packages with missing signatures:
cd /srv/http/repos/chaotic-aur/x86_64
for i in *.pkg.tar.{zst,gz,xz} ; do
[ -e "$i" ] && if [ -e "$i.sig" ] ; then
:
else
echo "Missing: $i" | sed -E 's&-([^-]+-[0-9\.]+)-(x86_64|any)\.pkg\.tar\..*$& \1&'
fi
done
Verify signed packages:
cd /srv/http/repos/chaotic-aur/x86_64
for i in *.sig ; do
if gpg --verify "$i" 2> /dev/null ; then
:
else
echo "Failed: $i" | sed -E 's&-([^-]+-[0-9\.]+)-(x86_64|any)\.pkg\.tar\..*$& \1&'
fi
done
Clone AUR mirror:
git clone --depth=1 https://github.com/archlinux/aur.git
Download and unpack AUR package list:
wget "https://aur.archlinux.org/packages.gz"
gzip -dk packages.gz
Get list of git branches:
_branches=$(
git -C aur ls-remote --heads origin \
| sed -E 's@^.*/(\S+)$@\1@'
)
Exclude likely deleted packages. Split packages have to be treated differently. (TBD)
_branches_good=$(
comm -12 <(sort -u packages) <(sort -u <<< "$_branches")
)
_branches_bad=$(
comm -13 <(sort -u packages) <(sort -u <<< "$_branches")
)
Or work only with chaotic-aur packages.
_packages_chaotic=$(
repoctl list -v | sed -E 's& .*$&&'
)
_branches_good=$(
comm -12 <(sort -u <<< "$_packages_chaotic") <(sort -u <<< "$_branches")
)
_branches_bad=$(
comm -13 <(sort -u <<< "$_packages_chaotic") <(sort -u <<< "$_branches")
)
Fix fetch paths (make sure they end with *), and fetch. This takes a while. Repo directory will expand to 2.4GiB.
nano aur/.git/config
git -C aur fetch --all
Search branches. In this example, searching for exit
.
_regex='^.*\bexit\b.*$'
sed 's&^&origin/&' <<< "$_branches_good" | xargs -P $(nproc) -I {} git -C aur grep -m1 "$_regex" {} -- PKGBUILD
GitHub has wiki integration. Since notes are mostly text, maybe it would work well in a wiki format?
I enabled the wiki so we can gaze at the "Create the first page" button.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.