initial tagged lists draft

- bin/tags2lists
- pkg/lists/tagged/
This commit is contained in:
Michael Shigorin 2010-09-08 11:52:38 +03:00
parent d91a3564ac
commit 2f967a0528
4 changed files with 28 additions and 0 deletions

19
bin/tags2lists Executable file
View File

@ -0,0 +1,19 @@
#!/bin/sh -f
# a script to transform a tag name, a list of tag names (ANDed then),
# or a complex boolean expression into a list of package list names
#
# examples of expected stdin:
#
# kde
# live gnome
# (base && (kernel || apt || alterator))
#
find . $(sed \
-e "s,\([^&|! ()']\+\),-name *_\1_*,g" \
-e "s, *&& *, -a ,g" \
-e "s, *|| *, -o ,g" \
-e "s, *! *, ! ,g" \
-e "s, *( *, ( ,g" \
-e "s, *) *, ) ,g" \
) | sed 's,^\./,,'

View File

@ -0,0 +1,4 @@
alterator-lilo
alterator-root
alterator-users
alterator-net-eth

View File

@ -0,0 +1,3 @@
interactivesystem
apt-conf-sisyphus
apt

View File

@ -0,0 +1,2 @@
basesystem
kernel-image-std-def