summaryrefslogtreecommitdiffstats
path: root/gentoo/Documentation/scripts/usefull_commands
blob: 8ecaa988889a4c38a15da87efebda970dc6e5cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Per ebuild check and commit
for I in <packages> ; do cp kate/metadata.xml $I; ebuild $I/$I-3.9999.ebuild digest; git add $I; git commit -m $I; done
for I in kstart ksystraycmd ksysguard nsplugin kate kxkb ; do cp kate/metadata.xml $I; ebuild $I/$I-3.9999.ebuild digest; git add $I; git commit -m $I; done

# update trinity live lists
find trinity-base/ -iname '*9999.ebuild' | while read eb; do PN="$(basename $(dirname ${eb}))"; C="$(basename $(dirname $(dirname ${eb})))"; P="$(basename ${eb%%.ebuild})"; echo "~$C/$P"' **'; done | tee Documentation/trinity.live.keywords

# update all manifests
find . -iname *.ebuild | while read eb; do ebuild $eb digest; done

# run ./test_separate_compilation.sh
cat Documentation/derived-lists/<LIST> | sed 's/#.*//;s/^\s*//;s/\s*$//;/^\s*$/d' |xargs bash ./test_separate_compilation.sh

# update manifests which older thatn ebuilds
find . -iname *.ebuild | while read eb; do ma="$(dirname $eb)/Manifest"; find $(dirname $eb) -type f | while read f; do [ $f -nt $ma ] && ebuild $eb digest && touch $ma; done; done