* [devel] RFC: test-rootfs
@ 2005-06-14 9:46 Alexey Tourbin
2005-06-14 11:33 ` [devel] " Michael Shigorin
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Alexey Tourbin @ 2005-06-14 9:46 UTC (permalink / raw)
To: devel
[-- Attachment #1.1: Type: text/plain, Size: 3819 bytes --]
Здравствуйте.
Суть вопроса вот в чем:
Test that binaries in /bin and /sbin depend only on libraries in /lib.
Иными словами, система без смонтированного /usr должна быть замкнутой.
Для тестирования предлагается сделать отдельный пакет. См.
test-rootfs.spec (attached). Этот specfile будет обновляться
в полуавтоматическом режиме.
Обнаруженные нарушители конвенции приведены ниже. Что бы с ними
сделать? Развесить block-баги?
Error: /bin/rpm depends on /usr/lib/librpm-4.0.4.so
lrwxrwxrwx 1 rooter rooter 14 Jun 14 13:13 /bin/rpm -> ../usr/bin/rpm
Error: /bin/rpm depends on /usr/lib/librpmbuild-4.0.4.so
lrwxrwxrwx 1 rooter rooter 14 Jun 14 13:13 /bin/rpm -> ../usr/bin/rpm
Error: /bin/rpm depends on /usr/lib/librpmdb-4.0.4.so
lrwxrwxrwx 1 rooter rooter 14 Jun 14 13:13 /bin/rpm -> ../usr/bin/rpm
Error: /bin/rpm depends on /usr/lib/librpmio-4.0.4.so
lrwxrwxrwx 1 rooter rooter 14 Jun 14 13:13 /bin/rpm -> ../usr/bin/rpm
Error: /bin/rpm depends on /usr/lib/libbeecrypt.so.2
lrwxrwxrwx 1 rooter rooter 14 Jun 14 13:13 /bin/rpm -> ../usr/bin/rpm
Error: /bin/asfxload depends on /usr/lib/libawe.so.5
-rwxr-xr-x 1 rooter rooter 9976 Nov 11 2004 /bin/asfxload
Error: /bin/asfxload depends on /usr/lib/libasound.so.2
-rwxr-xr-x 1 rooter rooter 9976 Nov 11 2004 /bin/asfxload
Error: /bin/gusload depends on /usr/lib/libawe.so.5
-rwxr-xr-x 1 rooter rooter 11516 Nov 11 2004 /bin/gusload
Error: /bin/gusload depends on /usr/lib/libasound.so.2
-rwxr-xr-x 1 rooter rooter 11516 Nov 11 2004 /bin/gusload
Error: /bin/sfxload depends on /usr/lib/libawe.so.5
-rwxr-xr-x 1 rooter rooter 10284 Nov 11 2004 /bin/sfxload
Error: /bin/sfxload depends on /usr/lib/libasound.so.2
-rwxr-xr-x 1 rooter rooter 10284 Nov 11 2004 /bin/sfxload
Error: /sbin/install-info depends on /usr/lib/libzio.so.0
-rwxr-xr-x 1 rooter rooter 23324 Jun 14 13:13 /sbin/install-info
Error: /sbin/circleping depends on /usr/lib/libmagma.so.DEVEL
-rwxr-xr-x 1 rooter rooter 7464 Mar 31 19:42 /sbin/circleping
Error: /sbin/circleping depends on /usr/lib/libmagmamsg.so.DEVEL
-rwxr-xr-x 1 rooter rooter 7464 Mar 31 19:42 /sbin/circleping
Error: /sbin/cluster_cmd depends on /usr/lib/libmagma.so.DEVEL
-rwxr-xr-x 1 rooter rooter 10736 Mar 31 19:42 /sbin/cluster_cmd
Error: /sbin/cluster_cmd depends on /usr/lib/libmagmamsg.so.DEVEL
-rwxr-xr-x 1 rooter rooter 10736 Mar 31 19:42 /sbin/cluster_cmd
Error: /sbin/magma_tool depends on /usr/lib/libmagma.so.DEVEL
-rwxr-xr-x 1 rooter rooter 11588 Mar 31 19:42 /sbin/magma_tool
Error: /sbin/magma_tool depends on /usr/lib/libmagmamsg.so.DEVEL
-rwxr-xr-x 1 rooter rooter 11588 Mar 31 19:42 /sbin/magma_tool
Error: /sbin/ifplugd depends on /usr/lib/libdaemon.so.0
-rwxr-xr-x 1 rooter rooter 23452 Jan 4 19:01 /sbin/ifplugd
Error: /sbin/ifplugstatus depends on /usr/lib/libdaemon.so.0
-rwxr-xr-x 1 rooter rooter 10184 Jan 4 19:01 /sbin/ifplugstatus
Error: /sbin/syslog-ng depends on /usr/lib/libol.so.0
-rwxr-xr-x 1 rooter rooter 81256 Apr 13 2004 /sbin/syslog-ng
Error: /sbin/scsi_id depends on /usr/lib/libsysfs.so.1
-rwxr-xr-x 1 rooter rooter 14520 Mar 31 19:57 /sbin/scsi_id
Error: /sbin/udev depends on /usr/lib/libsysfs.so.1
-rwxr-xr-x 1 rooter rooter 30488 Mar 31 19:57 /sbin/udev
Error: /sbin/udev_volume_id depends on /usr/lib/libsysfs.so.1
-rwxr-xr-x 1 rooter rooter 16840 Mar 31 19:57 /sbin/udev_volume_id
Error: /sbin/udevd depends on /usr/lib/libsysfs.so.1
-rwxr-xr-x 1 rooter rooter 7372 Mar 31 19:57 /sbin/udevd
Error: /sbin/udevsend depends on /usr/lib/libsysfs.so.1
-rwxr-xr-x 1 rooter rooter 5624 Mar 31 19:57 /sbin/udevsend
Error: /sbin/udevstart depends on /usr/lib/libsysfs.so.1
lrwxrwxrwx 1 rooter rooter 4 Jun 14 13:15 /sbin/udevstart -> udev
[-- Attachment #1.2: test-rootfs.spec --]
[-- Type: text/plain, Size: 5770 bytes --]
Name: test-rootfs
Version: 20050614
Release: alt1
Summary: test root filesystem
License: GPL
Group: File tools
# error: unpacking of archive failed on file /dev/MAKEDEV;42ae9a90: cpio: symlink failed - Permission denied
#uildRequires(build): MAKEDEV
BuildRequires(build): SysVinit
BuildRequires(build): acct
BuildRequires(build): acl
BuildRequires(build): agetty
BuildRequires(build): apcupsd
BuildRequires(build): ash
BuildRequires(build): ash-static
BuildRequires(build): aumix-minimal
BuildRequires(build): awesfx
BuildRequires(build): bash
BuildRequires(build): bootsplash
BuildRequires(build): bridge-utils
BuildRequires(build): bzip2
BuildRequires(build): bzlib
BuildRequires(build): captive-lufs
# ccs: Depends: /etc/sysconfig/cluster but it is not installable
#uildRequires(build): ccs
BuildRequires(build): chkconfig
# cman: Depends: /etc/sysconfig/cluster but it is not installable
#uildRequires(build): cman
# console-tools: Conflicts: console-tools_or_kbd (> console-tools0:0.2.3-ipl31mdk)
#uildRequires(build): console-tools
BuildRequires(build): coreutils
BuildRequires(build): cpio
BuildRequires(build): cpuid
BuildRequires(build): cpuspeed
BuildRequires(build): dhcp-client
BuildRequires(build): dhcpcd
BuildRequires(build): dosfstools
BuildRequires(build): dump
BuildRequires(build): e2fsprogs
BuildRequires(build): ed
BuildRequires(build): evms
BuildRequires(build): evms-cli
BuildRequires(build): fbgetty
BuildRequires(build): fdisk
BuildRequires(build): fence
BuildRequires(build): findutils
# fuse-siefs: Depends: fuse (= 2.2-alt6)
#uildRequires(build): fuse-siefs
BuildRequires(build): gawk
BuildRequires(build): genromfs
BuildRequires(build): getopt
BuildRequires(build): glibc-core
BuildRequires(build): glibc-utils
BuildRequires(build): gnbd
BuildRequires(build): gpart
BuildRequires(build): grep
# gulm: Depends: /etc/sysconfig/cluster but it is not installable
#uildRequires(build): gulm
BuildRequires(build): gzip
BuildRequires(build): hashalot
BuildRequires(build): hdparm
BuildRequires(build): hotplug
BuildRequires(build): hwclock
BuildRequires(build): ifplugd
BuildRequires(build): ifrename
BuildRequires(build): info-install
BuildRequires(build): ipchains
BuildRequires(build): iproute2
BuildRequires(build): iptables
BuildRequires(build): iptables-ipv6
BuildRequires(build): iputils
BuildRequires(build): ipv6calc
BuildRequires(build): ipxutils
BuildRequires(build): ircd
BuildRequires(build): isapnptools
BuildRequires(build): isdn4k-utils
BuildRequires(build): jfsprogs
# kbd: Conflicts: console-tools_or_kbd (< kbd0:1.12-alt2)
#uildRequires(build): kbd
BuildRequires(build): kbdrate
BuildRequires(build): klogd
BuildRequires(build): lcap
BuildRequires(build): libcap-utils
BuildRequires(build): lilo
BuildRequires(build): login
BuildRequires(build): losetup
BuildRequires(build): lufs
BuildRequires(build): magma
BuildRequires(build): mailx
BuildRequires(build): mdadm
BuildRequires(build): mgetty
BuildRequires(build): mgetty-voice
BuildRequires(build): mingetty
BuildRequires(build): mkinitrd
BuildRequires(build): mktemp
BuildRequires(build): modutils
BuildRequires(build): mount
BuildRequires(build): msulogin
BuildRequires(build): mt-st
BuildRequires(build): ncpfs
BuildRequires(build): net-scripts
BuildRequires(build): net-tools
BuildRequires(build): nfs-clients
# nut-driver: PreDepends: nut (= 2.0.1-alt2) but it is not going to be installed
#uildRequires(build): nut-driver
BuildRequires(build): pam
BuildRequires(build): pam0_console
BuildRequires(build): pam0_timestamp
BuildRequires(build): pcmcia-cs
BuildRequires(build): pdksh
BuildRequires(build): portmap
BuildRequires(build): procps
BuildRequires(build): psmisc
BuildRequires(build): quota
BuildRequires(build): raidtools
BuildRequires(build): reiser4progs
BuildRequires(build): reiserfsprogs
BuildRequires(build): rmt
BuildRequires(build): rpm
BuildRequires(build): samba-client
BuildRequires(build): sash
BuildRequires(build): sed
BuildRequires(build): service
BuildRequires(build): setserial
BuildRequires(build): sfdisk
BuildRequires(build): sh
BuildRequires(build): squashfsprogs
BuildRequires(build): su
BuildRequires(build): submount
BuildRequires(build): submount24
BuildRequires(build): syslog-common
BuildRequires(build): syslog-ng
BuildRequires(build): syslogd
BuildRequires(build): tar
BuildRequires(build): tcb-utils
BuildRequires(build): tcsh
BuildRequires(build): termutils
BuildRequires(build): traceroute
BuildRequires(build): udev
BuildRequires(build): util-linux
BuildRequires(build): vim-minimal
BuildRequires(build): vitmp
BuildRequires(build): wireless-tools
BuildRequires(build): xfsdump
BuildRequires(build): xfsprogs
BuildRequires(build): zcip
BuildRequires(build): zsh
%description
: Test that binaries in /bin and /sbin depend only on libraries in /lib.
: This is how the above list was formed:
cd Sisyphus/files/i586/RPMS
for f in *.rpm ; do if rpm -qpl $f |grep -E '^/s?bin/'; then rpm -qp --qf '%{NAME}\n' $f; fi; done
%build
set +x
RC=0
for f in `find /bin /sbin`; do
[ -f "$f" ] || { echo "test-rootfs: $f not a file"; continue; }
[ -r "$f" ] || { echo "test-rootfs: $f not readable"; continue; }
type="$(file -bL "$f")"
[ -z "${type%%ELF *}" -a -z "${type##*(uses shared libs)*}" ] || {
echo "test-rootfs: $f type $type"; continue; }
echo "$f"
ldd="$(ldd "$f")"
libs="$(echo "$ldd" |awk '{print$3}')"
for lib in $libs; do
[ -z "${lib%%/lib*/*}" ] || {
echo "Error: $f depends on $lib"
ls -l "$f"; RC=1; }
done
done
exit $RC
%files
%changelog
* Tue Jun 14 2005 Alexey Tourbin <at@altlinux.ru> 20050614-alt1
- initial revision
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] Re: RFC: test-rootfs
2005-06-14 9:46 [devel] RFC: test-rootfs Alexey Tourbin
@ 2005-06-14 11:33 ` Michael Shigorin
2005-06-14 12:01 ` Alexey Tourbin
2005-06-15 0:00 ` [devel] Re: RFC: test-rootfs Alexey Tourbin
2 siblings, 0 replies; 12+ messages in thread
From: Michael Shigorin @ 2005-06-14 11:33 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 2123 bytes --]
On Tue, Jun 14, 2005 at 01:46:49PM +0400, Alexey Tourbin wrote:
> Суть вопроса вот в чем:
> Test that binaries in /bin and /sbin depend only on libraries
> in /lib. Иными словами, система без смонтированного /usr
> должна быть замкнутой.
Разумно.
> Обнаруженные нарушители конвенции приведены ниже. Что бы с
> ними сделать? Развесить block-баги?
> Error: /bin/rpm depends on /usr/lib/librpm-4.0.4.so
> lrwxrwxrwx 1 rooter rooter 14 Jun 14 13:13 /bin/rpm -> ../usr/bin/rpm
Ммм... а вот и исключение: если что-то симлинк в /usr/bin, то
это может быть compatibility. Без /usr он работать не будет
вне зависимости от библиотек.
> Error: /bin/asfxload depends on /usr/lib/libawe.so.5
> -rwxr-xr-x 1 rooter rooter 9976 Nov 11 2004 /bin/asfxload
> Error: /bin/asfxload depends on /usr/lib/libasound.so.2
> -rwxr-xr-x 1 rooter rooter 9976 Nov 11 2004 /bin/asfxload
> Error: /bin/gusload depends on /usr/lib/libawe.so.5
> -rwxr-xr-x 1 rooter rooter 11516 Nov 11 2004 /bin/gusload
> Error: /bin/gusload depends on /usr/lib/libasound.so.2
> -rwxr-xr-x 1 rooter rooter 11516 Nov 11 2004 /bin/gusload
> Error: /bin/sfxload depends on /usr/lib/libawe.so.5
> -rwxr-xr-x 1 rooter rooter 10284 Nov 11 2004 /bin/sfxload
> Error: /bin/sfxload depends on /usr/lib/libasound.so.2
> -rwxr-xr-x 1 rooter rooter 10284 Nov 11 2004 /bin/sfxload
Ой! А что они вообще там забыли, в /bin?
Может, в sisyphus_check какой advisor на тему "если это не
System/*, то файло в /bin, /sbin, /lib не положено"?
не запрещалку, а напоминалку; System/* -- ясное дело, понятие
растяжимое, подробности чичас развешу в #7082. Это вывод
for i in /bin /sbin /lib; do echo "** $i:"; rpm -qf --queryformat '%{GROUP}\n' $i/* | sort -u; echo; done
[безобразие skip]
Наверное, вешать. Бо или в /sbin им делать нечего, или фиксить
библиотеки надо.
> # error: unpacking of archive failed on file /dev/MAKEDEV;42ae9a90: cpio: symlink failed - Permission denied
> #uildRequires(build): MAKEDEV
Ой.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] Re: RFC: test-rootfs
2005-06-14 9:46 [devel] RFC: test-rootfs Alexey Tourbin
2005-06-14 11:33 ` [devel] " Michael Shigorin
@ 2005-06-14 12:01 ` Alexey Tourbin
2005-06-14 12:43 ` [devel] bugzilla mail interface Michael Shigorin
2005-06-15 0:00 ` [devel] Re: RFC: test-rootfs Alexey Tourbin
2 siblings, 1 reply; 12+ messages in thread
From: Alexey Tourbin @ 2005-06-14 12:01 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 583 bytes --]
On Tue, Jun 14, 2005 at 01:46:49PM +0400, Alexey Tourbin wrote:
> Обнаруженные нарушители конвенции приведены ниже. Что бы с ними
> сделать? Развесить block-баги?
> Error: /bin/asfxload depends on /usr/lib/libawe.so.5
> -rwxr-xr-x 1 rooter rooter 9976 Nov 11 2004 /bin/asfxload
Господа, а кто-нибудь знает, как вешать баги из командной строки?
Типа:
$ altbug --new --package=awesfx --subject '/bin/asfxload depends on /usr/lib/libawe.so.5' <<EOF
Message...
EOF
Или, ещё лучше, имеется ли к багзилле почтовый интерфейс?
Хочется чего-то вроде bugs.debian.org.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] bugzilla mail interface
2005-06-14 12:01 ` Alexey Tourbin
@ 2005-06-14 12:43 ` Michael Shigorin
2005-06-14 23:55 ` [devel] " Alexey Tourbin
0 siblings, 1 reply; 12+ messages in thread
From: Michael Shigorin @ 2005-06-14 12:43 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 320 bytes --]
On Tue, Jun 14, 2005 at 04:01:29PM +0400, Alexey Tourbin wrote:
> Или, ещё лучше, имеется ли к багзилле почтовый интерфейс?
google по bugzilla "mail interface" наводит на некий
bugzilla/contrib/bugmail_help.html
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] Re: bugzilla mail interface
2005-06-14 12:43 ` [devel] bugzilla mail interface Michael Shigorin
@ 2005-06-14 23:55 ` Alexey Tourbin
0 siblings, 0 replies; 12+ messages in thread
From: Alexey Tourbin @ 2005-06-14 23:55 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 459 bytes --]
On Tue, Jun 14, 2005 at 03:43:26PM +0300, Michael Shigorin wrote:
> On Tue, Jun 14, 2005 at 04:01:29PM +0400, Alexey Tourbin wrote:
> > Или, ещё лучше, имеется ли к багзилле почтовый интерфейс?
>
> google по bugzilla "mail interface" наводит на некий
> bugzilla/contrib/bugmail_help.html
http://search.cpan.org/dist/WWW-Bugzilla/
https://bugzilla.altlinux.org/show_bug.cgi?id=7088
https://bugzilla.altlinux.org/show_bug.cgi?id=7089
Хы-хы. :)
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] Re: RFC: test-rootfs
2005-06-14 9:46 [devel] RFC: test-rootfs Alexey Tourbin
2005-06-14 11:33 ` [devel] " Michael Shigorin
2005-06-14 12:01 ` Alexey Tourbin
@ 2005-06-15 0:00 ` Alexey Tourbin
2005-06-15 6:47 ` [devel] ~/bin/altbug (was: RFC: test-rootfs) Michael Shigorin
2005-06-15 7:26 ` [devel] Re: RFC: test-rootfs Vitaly Lipatov
2 siblings, 2 replies; 12+ messages in thread
From: Alexey Tourbin @ 2005-06-15 0:00 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1032 bytes --]
On Tue, Jun 14, 2005 at 01:46:49PM +0400, Alexey Tourbin wrote:
> Обнаруженные нарушители конвенции приведены ниже. Что бы с ними
> сделать? Развесить block-баги?
$ sort -u +2 list |while read bin lib pkg; do { echo "Binary executable file $bin apparently depends on shared library $lib. However, binaries in /bin and /sbin should only depend on libraries in /lib. Please consider $bin to be reloacated to /usr$bin. Also please check other files in this package." |fmt; grep -w $pkg list; } | ~/bin/altbug --pkg=$pkg --subj="$pkg: $bin depends on $lib"; done
committed #7091: awesfx: /bin/asfxload depends on /usr/lib/libawe.so.5
committed #7092: ifplugd: /sbin/ifplugd depends on /usr/lib/libdaemon.so.0
committed #7093: info-install: /sbin/install-info depends on /usr/lib/libzio.so.0
committed #7094: magma: /sbin/circleping depends on /usr/lib/libmagma.so.DEVEL
committed #7095: syslog-ng: /sbin/syslog-ng depends on /usr/lib/libol.so.0
committed #7096: udev: /sbin/scsi_id depends on /usr/lib/libsysfs.so.1
$
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] ~/bin/altbug (was: RFC: test-rootfs)
2005-06-15 0:00 ` [devel] Re: RFC: test-rootfs Alexey Tourbin
@ 2005-06-15 6:47 ` Michael Shigorin
2005-06-15 8:21 ` [devel] " Alexey Tourbin
2005-06-17 18:02 ` Alexey Tourbin
2005-06-15 7:26 ` [devel] Re: RFC: test-rootfs Vitaly Lipatov
1 sibling, 2 replies; 12+ messages in thread
From: Michael Shigorin @ 2005-06-15 6:47 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 287 bytes --]
On Wed, Jun 15, 2005 at 04:00:37AM +0400, Alexey Tourbin wrote:
> ~/bin/altbug --pkg=$pkg --subj="$pkg: $bin depends on $lib"
Так-так-так-так-так. А можно вот этим поделиться? :)
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] Re: ~/bin/altbug (was: RFC: test-rootfs)
2005-06-15 6:47 ` [devel] ~/bin/altbug (was: RFC: test-rootfs) Michael Shigorin
@ 2005-06-15 8:21 ` Alexey Tourbin
2005-06-17 18:02 ` Alexey Tourbin
1 sibling, 0 replies; 12+ messages in thread
From: Alexey Tourbin @ 2005-06-15 8:21 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 964 bytes --]
On Wed, Jun 15, 2005 at 09:47:48AM +0300, Michael Shigorin wrote:
> On Wed, Jun 15, 2005 at 04:00:37AM +0400, Alexey Tourbin wrote:
> > ~/bin/altbug --pkg=$pkg --subj="$pkg: $bin depends on $lib"
> Так-так-так-так-так. А можно вот этим поделиться? :)
Сам скрипт -- ничего особенного, но пришлось в трёх местах захачить
ВВВ::Багзиллу, потому что она, вообще говоря, не работает.
Основная проблема вот в чем. Насколько я понял, "с одного раза" в нашей
багзилле баг засубмиттить нельзя. Это связано с тем, что в форме с
новым багом поля "component" нету, а есть только поле "matchstr" --
"поиск компонента". После первого субмита, если пакет найден,
то поле "component" появляется, но оно уже hidden, то есть не подлежит
редактированию.
Пришлось реализовать двойной субмит -- сначала matchstr, а потом уже
the rest of bug report.
Мне интересно знать: это особенность только нашей багзиллы, или
с некоторых пор все багзиллы так себя ведут?
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* [devel] Re: ~/bin/altbug (was: RFC: test-rootfs)
2005-06-15 6:47 ` [devel] ~/bin/altbug (was: RFC: test-rootfs) Michael Shigorin
2005-06-15 8:21 ` [devel] " Alexey Tourbin
@ 2005-06-17 18:02 ` Alexey Tourbin
2005-06-18 15:07 ` Eugene Vlasov
1 sibling, 1 reply; 12+ messages in thread
From: Alexey Tourbin @ 2005-06-17 18:02 UTC (permalink / raw)
To: devel
[-- Attachment #1.1: Type: text/plain, Size: 302 bytes --]
On Wed, Jun 15, 2005 at 09:47:48AM +0300, Michael Shigorin wrote:
> On Wed, Jun 15, 2005 at 04:00:37AM +0400, Alexey Tourbin wrote:
> > ~/bin/altbug --pkg=$pkg --subj="$pkg: $bin depends on $lib"
> Так-так-так-так-так. А можно вот этим поделиться? :)
Нужен пакет perl-WWW-Bugzilla *из Сизифа*.
[-- Attachment #1.2: altbug --]
[-- Type: text/plain, Size: 880 bytes --]
#!/usr/bin/perl
use strict;
use WWW::Bugzilla;
# ~/.altbug.pl:
# $email='my_name@altlinux.org';
# $password='my_password';
our ($email, $password);
do <~/.altbug.pl>; chmod 0600, <~/.altbug.pl*>;
die "no email?" unless $email =~ /@/;
die "no password?" unless $password =~ /\S/;
use Getopt::Long qw(GetOptions);
GetOptions
'pkg|package=s' => \my $pkg,
'subj|subject|summary=s' => \my $subj
or exit(1);
my $descr = join "" => <>;
die "no package?" unless $pkg =~ /\S/;
die "no summary?" unless $subj =~ /\S/;
die "no description?" unless $descr =~ /\S/;
my $bz = WWW::Bugzilla->new(
server => 'bugzilla.altlinux.org',
product => 'ALT Linux Sisyphus',
use_ssl => 1,
email => $email,
password => $password)
or die "Connection failed";
$bz->component($pkg);
$bz->summary($subj);
$bz->description($descr);
my $id = $bz->commit;
print "committed #$id: $subj\n";
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [devel] Re: RFC: test-rootfs
2005-06-15 0:00 ` [devel] Re: RFC: test-rootfs Alexey Tourbin
2005-06-15 6:47 ` [devel] ~/bin/altbug (was: RFC: test-rootfs) Michael Shigorin
@ 2005-06-15 7:26 ` Vitaly Lipatov
2005-06-15 8:21 ` Alexey Tourbin
1 sibling, 1 reply; 12+ messages in thread
From: Vitaly Lipatov @ 2005-06-15 7:26 UTC (permalink / raw)
To: devel
On Wednesday 15 June 2005 04:00, Alexey Tourbin wrote:
> |fmt; grep -w $pkg list; } | ~/bin/altbug --pkg=$pkg
Так и как всё-таки вешать баги из командной строки?
--
Lav
Виталий Липатов
Санкт-Петербург
GNU! ALT Linux Team! WINE! LaTeX! LyX!
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2005-06-18 15:07 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-14 9:46 [devel] RFC: test-rootfs Alexey Tourbin
2005-06-14 11:33 ` [devel] " Michael Shigorin
2005-06-14 12:01 ` Alexey Tourbin
2005-06-14 12:43 ` [devel] bugzilla mail interface Michael Shigorin
2005-06-14 23:55 ` [devel] " Alexey Tourbin
2005-06-15 0:00 ` [devel] Re: RFC: test-rootfs Alexey Tourbin
2005-06-15 6:47 ` [devel] ~/bin/altbug (was: RFC: test-rootfs) Michael Shigorin
2005-06-15 8:21 ` [devel] " Alexey Tourbin
2005-06-17 18:02 ` Alexey Tourbin
2005-06-18 15:07 ` Eugene Vlasov
2005-06-15 7:26 ` [devel] Re: RFC: test-rootfs Vitaly Lipatov
2005-06-15 8:21 ` Alexey Tourbin
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git