Graph
This commit is contained in:
parent
0f5ada79d8
commit
d34ea67e9d
@ -74,10 +74,12 @@ touch buildqueue
|
|||||||
|
|
||||||
git submodule update --remote --merge &>/dev/null # Make sure we are up to date if something is linked as a submodule
|
git submodule update --remote --merge &>/dev/null # Make sure we are up to date if something is linked as a submodule
|
||||||
#
|
#
|
||||||
find . -name PKGBUILD -execdir sh -c 'makepkg --printsrcinfo > .SRCINFO' \;
|
# find . -name PKGBUILD -execdir sh -c 'makepkg --printsrcinfo > .SRCINFO || echo "Failed to build $(pwd)"' \;
|
||||||
|
|
||||||
# Obtain version of downloaded packages
|
# Obtain version of downloaded packages which didnt fail
|
||||||
find . -iname PKGBUILD -exec dirname {} \; | aur srcver --no-prepare - >vcs
|
while read -r i; do
|
||||||
|
aur srcver --no-prepare --jobs=4 "$i" || true
|
||||||
|
done <<< "$(find . -iname PKGBUILD -exec dirname {} \;)" > vcs
|
||||||
|
|
||||||
# *missing Dependency resolution
|
# *missing Dependency resolution
|
||||||
cut -f1 vcs | aur depends -r - | tsort > dependencies
|
cut -f1 vcs | aur depends -r - | tsort > dependencies
|
||||||
@ -107,9 +109,10 @@ comm -23 <(cut -f1 vcs | sort) <(pacman -Slq "${AUR_REPO_NAME}" | sort) | tee -a
|
|||||||
# Build all packages defined in buildqueue
|
# Build all packages defined in buildqueue
|
||||||
while read -r i; do
|
while read -r i; do
|
||||||
cat "$i"/.SRCINFO
|
cat "$i"/.SRCINFO
|
||||||
done <buildqueue | tee buildfile | aur graph | tsort | tac >queue
|
done <buildqueue | tee buildfile | aur graph | tee graph | tsort | tac >queue
|
||||||
grep validpgpkeys buildfile | cut -d "=" -f2 | tr -d " " | xargs -n1 gpg --recv-keys
|
grep validpgpkeys buildfile | cut -d "=" -f2 | tr -d " " | xargs -n1 gpg --recv-keys
|
||||||
|
|
||||||
|
cat graph
|
||||||
echo
|
echo
|
||||||
echo QUEUE
|
echo QUEUE
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user