From: Andrey Astafiev <andrei@tvcell.ru> To: mandrake-russian@altlinux.ru Subject: [mdk-re] software groups and descriptions Date: Tue Jan 8 10:17:01 2002 Message-ID: <20020108072227.GC3341@ok-computer.tvcell.ru> (raw) меня тут заинтересовала проблема разделения пакетов по группам. есть ли какой-нибудь документ, в котором определяются эти группы и принципы включения софта в ту или иную группу? перед выходом Мастера хорошо бы проверить пакеты на соответствие этому документу. в трех (может четырех) пакетах из недавнего Сизифа в названиях групп сделаны опечатки (сообщу через bts). к некоторым группам относятся один-два пакета, в то время как существуют группы с аналогичнмыми названиями. может кому-нибудь будет интересно. написал скрипт, который вытаскивает описание пакета и записывает его в файл. для удобства просмотра файл записывается в каталог с названием группы, к которой принадлежит пакет. ==== begin ==== #!/bin/sh RPM_FILES_DIR=/home/sisyphus/i586/ALTLinux/RPMS.sisyphus DESCRIPTION_DIR=/home/sisyphus/i586/ALTLinux/desc find ${RPM_FILES_DIR} -name *.rpm | while read RPMFILE; do DIR=${DESCRIPTION_DIR}/`rpm -qp --qf "%{GROUP}" $RPMFILE` mkdir -p "$DIR" rpm -qip $RPMFILE > ${DIR}/`rpm -qp --qf "%{NAME}" $RPMFILE`.desc done ==== end ==== кстати, скрипт легко можно переделать для создания, скажем, симлинка на пакет в каталоге с именем его группы, чтобы не перечитывать содержимое каталога, в котором ~2500 файлов :), если знаешь, к какой группе относится пакет. имхо, вполне актуально держать на ftp получаемую структуру каталогов с симлинками и описаниями. -- andrei at tvcell d0t ru
next reply other threads:[~2002-01-08 10:17 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-01-08 10:17 Andrey Astafiev [this message] 2002-01-08 10:29 ` Igor Homyakov 2002-01-08 12:22 ` Andrey Astafiev 2002-01-08 11:35 ` [mdk-re] [JT] " Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020108072227.GC3341@ok-computer.tvcell.ru \ --to=andrei@tvcell.ru \ --cc=mandrake-russian@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Community general discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 community community/ http://lore.altlinux.org/community \ mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com public-inbox-index community Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.community AGPL code for this site: git clone https://public-inbox.org/public-inbox.git