* [sisyphus] I: Sisyphus-20050717 packages: +67 (4462)
@ 2005-07-17 12:40 Alexey M. Tourbin
2005-07-17 12:52 ` [sisyphus] qa-pkgwatch-robot (was: I: Sisyphus-20050717 packages: +67 (4462)) Alexey Tourbin
0 siblings, 1 reply; 2+ messages in thread
From: Alexey M. Tourbin @ 2005-07-17 12:40 UTC (permalink / raw)
To: sisyphus
67 UPDATED packages
Plone - Plone - is a user friendly implementation of the CMF
2.0.RC6-alt1 -> 2.0.S5-alt1
* Wed May 25 2005 Gennady Kovalev <gik@altlinux> 2.0.S5-alt1
- New release
- Charset patch
acc - ALT Linux Control Center
2.0-alt2 -> 2.1-alt2
* Tue Jul 12 2005 Stanislav Ievlev <inger@altlinux> 2.1-alt2
- improvements
alt-gpgkeys - ALT GnuPG keys
0.3.7-alt2 -> 0.3.7-alt3
* Fri Jul 15 2005 Stanislav Ievlev <inger@altlinux> 0.3.7-alt3
- Added keys:
1462F45E (Vladimir V Kamarzin)
alterator-control - alterator module for control package
0.1-alt1 -> 0.1.2.1-alt1
* Thu Jul 07 2005 Stanislav Ievlev <inger@altlinux> 0.1.2.1-alt1
- modernization
alterator-i18n - alterator module for i18n setup and configuration
0.1-alt2 -> 0.2-alt1
* Thu Jul 07 2005 Stanislav Ievlev <inger@altlinux> 0.2-alt1
- adopted to new map
arts - aRts (analog realtime synthesizer) - the KDE sound system
1:1.3.2-alt4 -> 1:1.4.1-alt2
* Mon Jul 11 2005 Sergey V Turchin <zerg at altlinux dot org> 1:1.4.1-alt2
- x86_64 fixes; thanks mouse@alt
cdrtools - A set command line tools for CD/DVD-Recorders
5:2.01-alt5.1a37 -> 5:2.01-alt5a37
* Fri Apr 22 2005 LAKostis <lakostis at altlinux.ru> 5:2.01-alt5a37
- add libnatspec patch.
dbus - D-BUS is a simple IPC framework based on messages.
0.23.4-alt1.64bit -> 0.34-alt1
* Tue Jul 12 2005 Anton Farygin <rider@altlinux> 0.34-alt1
- new version
- disabled mono for x86_64
design-bootloader-Compact - Graphical boot logo for lilo and syslinux.
2.9.4-alt1.1 -> 2.9.8-alt1
* Mon Jun 27 2005 Anton Farygin <rider@altlinux> 2.9.8-alt1
- belarusian translations added
- fixed #6664 (menu item down after keys from panel pressing)
design-installer-sisyphus - Installer Sisyphus design
0.1.0-alt1 -> 0.1.1-alt1
* Mon Jul 04 2005 Sergey V Turchin <zerg at altlinux dot org> 0.1.1-alt1
- new step stape pictures
- make package noarch
diet-bzlib - A bzlib compression library
20041025-alt0.3 -> 20050707-alt1
* Thu Jul 07 2005 Anton D. Kachalov <mouse@altlinux> 20050707-alt1
- multilib support
diet-newt - A development library for text mode user interfaces.
20041025-alt0.3 -> 20050707-alt1
* Thu Jul 07 2005 Anton D. Kachalov <mouse@altlinux> 20050707-alt1
- multilib support
diet-slang - A development library for S-lang language.
20041025-alt0.3 -> 20050707-alt1
* Thu Jul 07 2005 Anton D. Kachalov <mouse@altlinux> 20050707-alt1
- multilib support
dosemu-freedos - Minimum FreeDOS image for dosemu
050405-alt1 -> 050405-alt2
* Sat Jul 09 2005 Grigory Batalov <bga@altlinux> 050405-alt2
- FreeDOS kernel 1.1.35w (build 2035w-UNSTABLE) that understands
country settings, so localized filenames could be used
emacs-nxml-mode - Emacs mode for editing XML
0.1.20031031-alt1 -> 0.1.20041004-alt1
* Fri Jul 08 2005 Ivan Fedorov <ns@altlinux> 0.1.20041004-alt1
- 20041004
etcnet - /etc/net network configuration subsystem
0.7.7-alt2 -> 0.7.8-alt1
* Fri Jul 15 2005 Denis Ovsienko <pilot@altlinux> 0.7.8-alt1
- new version fixes several minor bugs introduced by 0.7.7 release
gambit - Gambit-C Scheme programming system
4.0-alt0.13.2 -> 4.0-alt0.14.1
* Sat Jul 16 2005 Alexey Voinov <voins@altlinux> 4.0-alt0.14.1
- new release (4.0b14)
glibc-kernheaders - Header files for the Linux kernel for use by glibc
2.4.25-alt2 -> 2.4.26-alt1
* Fri Apr 15 2005 Anton D. Kachalov <mouse@altlinux> 2.4.26-alt1
- Updated to linux-2.4.26.
- x86_64 support
gnome-vfs2 - The GNOME virtual file-system libraries
2.10.1-alt1.1 -> 2.10.1-alt2
* Fri Jul 15 2005 Yuri N. Sedunov <aris@altlinux> 2.10.1-alt2
- adopted for hal-0.5.
gnome-volume-manager - The GNOME Volume Manager
1.2.2-alt1 -> 1.3.2-alt1
* Fri Jul 15 2005 Yuri N. Sedunov <aris@altlinux> 1.3.2-alt1
- 1.3.2
gossip - Jabber client for GNOME
0.8-alt2 -> 0.8-alt3
* Fri Jul 15 2005 Mikhail Zabaluev <mhz@altlinux> 0.8-alt3
- Patch for new dbus from Fedora (thanks Rider) [Patch0]
- Requires dbus 0.34
gtkam - A digital camera manager
0.1.12-alt4 -> 0.1.12-alt5
* Fri Jul 15 2005 Denis Ovsienko <pilot@altlinux> 0.1.12-alt5
- rebuilt with current libexif
guile14 - A GNU implementation of Scheme for application extensibility.
1:1.4.1.102-alt2 -> 1:1.4.1.103-alt1
* Sat Jul 16 2005 Alexey Voinov <voins@altlinux> 1:1.4.1.103-alt1
- new version (1.4.1.103)
hal - Hardware Abstraction Layer
0.4.7-alt2.1 -> 0.5.3-alt2
* Thu Jul 14 2005 Anton Farygin <rider@altlinux> 0.5.3-alt2
- --retain-privileges added to initscript (#7362)
ht - ncurses-based file viewer/editor/analyzer/disassembler
0.8.0-alt2.1 -> 0.9.1-alt1
* Wed Jul 13 2005 Ivan Fedorov <ns@altlinux> 0.9.1-alt1
- 0.9.1
htmlpath - Command-line HTML parser
1.01-alt1 -> 1.02-alt1
* Wed Jul 13 2005 Victor Forsyuk <force@altlinux> 1.02-alt1
- 1.02
icoutils - Utility for extracting and converting Microsoft icon and cursor files
0.23.0-alt1 -> 0.26.0-alt1
* Wed Jul 13 2005 Andrei Bulava <abulava@altlinux> 0.26.0-alt1
- 0.26.0
- fixed URLs in spec
- removed alt-extresso_makefile.patch (fixed in upstream),
alt-extresso_am_makefile.patch for developers is no longer needed too
imlib2 - Powerful image loading and rendering library
1.2.0-alt1 -> 1.2.1-alt1
* Thu Jun 30 2005 Anton D. Kachalov <mouse@altlinux> 1.2.1-alt1
- 1.2.1
- x86_64 support
install3 - Third stage of installer
2.0-alt2 -> 2.1-alt1
* Wed Jul 06 2005 Stanislav Ievlev <inger@altlinux> 2.1-alt1
- added new design
- new wizard engine with goto-frame
jhead - Tool for handling EXIF data in JPEG image files
2.3-alt1 -> 2.4-alt1
* Mon Jun 06 2005 Victor Forsyuk <force@altlinux> 2.4-alt1
- 2.4 (able to display GPS info if included in image!).
kdebase - K Desktop Environment - Core files
3.4.1-alt1 -> 3.4.1-alt2
* Wed Jul 13 2005 Sergey V Turchin <zerg at altlinux dot org> 3.4.1-alt2
- rebuilt with new hal
- add patch from FC for default konsole keytab
kernel-build-tools - RPM macroses for kernel builds
0.7-alt2 -> 0.8-alt1
* Thu Jul 14 2005 Anton D. Kachalov <mouse@altlinux> 0.8-alt1
- kernel-macros: added macros for per-arch configuration:
+ %set_kernel_arches
+ %get_kernel_config
kernel-image-std-up - The Linux kernel (the core of the Linux operating system)
2.4.29-alt5.1 -> 2.4.29-alt6
* Wed May 11 2005 Sergey Vlasov <vsu@altlinux> 2.4.29-alt6
- Updated kernel-fix-security:
+ fix ELF core dump issue (CAN-2005-1263)
kernel-image-std26-smp - The Linux kernel (the core of the Linux operating system)
2.6.11-alt11 -> 2.6.12-alt1
* Sat Jul 02 2005 Sergey Vlasov <vsu@altlinux> 2.6.12-alt1
- 2.6.12.
- Updated kernel-fix-build, kernel-fix-core, kernel-fix-drivers-char,
kernel-fix-drivers-ide, kernel-fix-drivers-media, kernel-fix-drivers-net,
kernel-fix-drivers-pci, kernel-fix-drivers-scsi, kernel-fix-drivers-usb,
kernel-fix-drivers-video, kernel-fix-fs, kernel-fix-net, kernel-fix-security:
- removed obsolete patches
- Updated kernel-fix-acpi:
+ updated acpi-attrs and suspend-setup-leave patches for 2.6.12
+ call acpi_register_gsi() even for default PCI interrupt assignment (needed
to set PCI interrupts to level/low properly)
- Updated kernel-fix-core:
+ round size in remap_pfn_range() up to a page boundary
+ add "memory" clobbers to string.h functions to avoid memory access
reordering by gcc
- Updated kernel-fix-drivers-media:
+ updated Manli and BeholdTV remote control support patch for 2.6.12
- Updated kernel-fix-drivers-net:
+ e1000: fix spinlock bug
- Updated kernel-fix-drivers-pci:
+ fix typo in drv->driver.shutdown setting for PCI drivers that might result
in not setting drv->driver.owner
- Updated kernel-fix-drivers-scsi:
+ fix qla2xxx initialization problems
- Updated kernel-fix-drivers-usb:
+ updated old_scheme_first patch for 2.6.12
- Updated kernel-fix-net:
+ fix connection tracking on bridges
+ fix socket hashing bugs in netlink
- Updated kernel-fix-security:
+ CAN-2005-1913
- Updated kernel-feat-drivers-input:
+ updated trackpoint support patch:
- warning: module parameters for trackpoint device configuration are no
longer available - use sysfs for configuration;
- support for scroll emulation in the driver was removed - use the
appropriate Xorg options
- Updated kernel-feat-drivers-lirc, kernel-feat-drivers-sk98lin:
+ fix compilation with 2.6.12
- Updated kernel-feat-drivers-video-splash:
+ updated splash patch for kernel 2.6.12
kernel-image-std26-up - The Linux kernel (the core of the Linux operating system)
2.6.11-alt11 -> 2.6.12-alt1
* Sat Jul 02 2005 Sergey Vlasov <vsu@altlinux> 2.6.12-alt1
- 2.6.12.
- Updated kernel-fix-build, kernel-fix-core, kernel-fix-drivers-char,
kernel-fix-drivers-ide, kernel-fix-drivers-media, kernel-fix-drivers-net,
kernel-fix-drivers-pci, kernel-fix-drivers-scsi, kernel-fix-drivers-usb,
kernel-fix-drivers-video, kernel-fix-fs, kernel-fix-net, kernel-fix-security:
- removed obsolete patches
- Updated kernel-fix-acpi:
+ updated acpi-attrs and suspend-setup-leave patches for 2.6.12
+ call acpi_register_gsi() even for default PCI interrupt assignment (needed
to set PCI interrupts to level/low properly)
- Updated kernel-fix-core:
+ round size in remap_pfn_range() up to a page boundary
+ add "memory" clobbers to string.h functions to avoid memory access
reordering by gcc
- Updated kernel-fix-drivers-media:
+ updated Manli and BeholdTV remote control support patch for 2.6.12
- Updated kernel-fix-drivers-net:
+ e1000: fix spinlock bug
- Updated kernel-fix-drivers-pci:
+ fix typo in drv->driver.shutdown setting for PCI drivers that might result
in not setting drv->driver.owner
- Updated kernel-fix-drivers-scsi:
+ fix qla2xxx initialization problems
- Updated kernel-fix-drivers-usb:
+ updated old_scheme_first patch for 2.6.12
- Updated kernel-fix-net:
+ fix connection tracking on bridges
+ fix socket hashing bugs in netlink
- Updated kernel-fix-security:
+ CAN-2005-1913
- Updated kernel-feat-drivers-input:
+ updated trackpoint support patch:
- warning: module parameters for trackpoint device configuration are no
longer available - use sysfs for configuration;
- support for scroll emulation in the driver was removed - use the
appropriate Xorg options
- Updated kernel-feat-drivers-lirc, kernel-feat-drivers-sk98lin:
+ fix compilation with 2.6.12
- Updated kernel-feat-drivers-video-splash:
+ updated splash patch for kernel 2.6.12
kernel-modules-drm-std26-up - The Direct Rendering Infrastructure modules
2005.05.30-alt1.11 -> 2005.05.30-alt1.132620.1
* Mon May 30 2005 Sergey Vlasov <vsu@altlinux> 2005.05.30-alt1.132620.1
- DRI CVS snapshot from 2005.05.30 (fixes #6872).
kernel-modules-fglrx-std26-up - ATI video card drivers
1.0.8.14.13-alt1.11 -> 1.0.8.14.13-alt2.132620.1
* Sat Jul 02 2005 Sergey Vlasov <vsu@altlinux> 1.0.8.14.13-alt2.132620.1
- Added patches to fix build with kernel 2.6.12:
+ 01_fglrx-2.6.12-pci_name.patch: use pci_name(dev) instead of dev->slot_name
to fix compilation with kernel 2.6.12
+ 02_fglrx-2.6.12-inter_module.patch: inter_module_get() is no longer
available in kernel 2.6.12 - avoid using it
+ 03_fglrx-8.14.13-alt-2.6.12-agp.patch: add wrappers for new agpgart
interfaces in kernel 2.6.12 (should work for systems with a single AGP
bridge, proper solution requires new interfaces with the binary-only part)
+ 04_fglrx-8.14.13-alt-nopage-proto.patch: fix wrong arguments for
vm_pcie_nopage() implementation for 2.6.x
kernel-modules-unionfs-std26-smp - Linux unionfs - a unioning file system for Linux
1.0.11-alt1.132620.1 -> 1.0.12-alt1.132620.1
* Fri Jul 15 2005 Anton Farygin <rider@altlinux> 1.0.12-alt1.132620.1
- next version
kernel-modules-unionfs-std26-up - Linux unionfs - a unioning file system for Linux
1.0.11-alt1.132620.1 -> 1.0.12-alt1.132620.1
* Fri Jul 15 2005 Anton Farygin <rider@altlinux> 1.0.12-alt1.132620.1
- next version
libcdio - CD-ROM/CD-image access library
0.69-alt1 -> 0.74-alt1
* Tue Jul 12 2005 Yuri N. Sedunov <aris@altlinux> 0.74-alt1
- 0.74
libdomainkeys - DomainKey email authentication system
0.65a-alt1 -> 0.66-alt1
* Wed Jul 13 2005 Victor Forsyuk <force@altlinux> 0.66-alt1
- 0.66
libgdiplus - An Open Source implementation of the GDI+ API.
1.0-alt1 -> 1.1.8-alt1
* Sat Jun 18 2005 Evgeny Sinelnikov <sin@altlinux> 1.1.8-alt1
- Update to 1.1.8
libtool_1.5 - The GNU libtool, which simplifies the use of shared libraries
3:1.5.16-alt1.1 -> 3:1.5.18-alt2
* Thu May 26 2005 Dmitry V. Levin <ldv@altlinux> 3:1.5.18-alt2
- Corrected License tags (#6704).
- Rediffed patches.
lvm2 - Userland logical volume management tools
2.01.09-alt1 -> 2.01.09-alt2
* Fri Jul 15 2005 Anton Farygin <rider@altlinux> 2.01.09-alt2
- requires updated for lvmcompat package
mar - mar - Mandrake Archiver
20041025-alt0.5 -> 20050707-alt1
* Thu Jul 07 2005 Anton D. Kachalov <mouse@altlinux> 20050707-alt1
- multilib support
- mkmar now may partially run in chroot env
mc - A user-friendly file manager and visual shell
4.6.0-alt9 -> 4.6.1a.20050606-alt1
* Mon Jul 11 2005 Kachalov Anton <mouse@altlinux> 4.6.1a.20050606-alt1
- 4.6.1a
- New patches (RH):
+ updated UTF8
+ fish upload
+ command prompt fix
mdnsresponder - Provides Name-to-address translation and Discovery of Services for Zeroconf
107-alt1.64bit -> 107-alt2
* Wed Jul 06 2005 Sergey V Turchin <zerg at altlinux dot org> 107-alt2
- fix for x86_64; thanks Mouse@ALT
monica - Monitor Calibration Tool
3.2-alt1 -> 3.3-alt1
* Wed Jul 13 2005 Victor Forsyuk <force@altlinux> 3.3-alt1
- 3.3
mono - The mono CIL runtime, suitable for running .NET code
1.1.4-alt1 -> 1.1.8-alt1
* Sat Jun 18 2005 Evgeny Sinelnikov <sin@altlinux> 1.1.8-alt1
- update release
motion - motion - Detect motion using a video4linux device
3.1.17-alt2 -> 3.1.19-alt1
* Mon Apr 25 2005 Grigory Milev <week@altlinux> 3.1.19-alt1
- new version released
- return ffmpeg
nautilus2-cd-burner - An extension for Nautilus to write files to a CD
2.10.2-alt1 -> 2.11.4-alt1
* Fri Jul 15 2005 Yuri N. Sedunov <aris@altlinux> 2.11.4-alt1
- 2.11.4
perl-Net-CIDR-Lite - Net-CIDR-Lite perl module
0.15-alt1 -> 0.18-alt1
* Wed Jul 13 2005 Victor Forsyuk <force@altlinux> 0.18-alt1
- 0.18
perl-Xmms - Xmms-Perl (module for perl)
0.12-alt1.1 -> 0.12-alt1.5
* Fri Jun 17 2005 Pavlov Konstantin <thresh@altlinux> 0.12-alt1.5
- Fixed Arch (closes #6499).
postgresql8.0 - PostgreSQL client programs and libraries
8.0.3-alt1.64bit -> 8.0.3-alt2
* Sun Jun 05 2005 Ivan Fedorov <ns@altlinux> 8.0.3-alt2
- bugfix in initscript
- conditional builds of hierarchical queries patch (--with hier).
propagator - 'Early userspace' set of binaries
20050514-alt1.64bit -> 20050707-alt1
* Thu Jul 07 2005 Anton D. Kachalov <mouse@altlinux> 20050707-alt1
- multilib support
rpm-build-python - RPM helper macros to rebuild python packages
0.21-alt1 -> 0.21-alt2
* Mon Apr 04 2005 Anton D. Kachalov <mouse@altlinux> 0.21-alt2
- x86_64 support
rpm-build-tcl - RPM helpers to use with Tcl scripts
0.1-alt0.4.64bit -> 0.1-alt0.5
* Wed Jul 13 2005 Sergey Bolshakov <sbolshakov@altlinux> 0.1-alt0.5
- #6488 again
scheme48 - S48 is an implementation of the Scheme programming language
1.2-alt2 -> 1.3-alt1
* Fri Jul 15 2005 Alexey Voinov <voins@altlinux> 1.3-alt1
- new version (1.3)
- makefile patch updated
separator - Tools for creating based on Sisyphus solutions
0.4.7-alt1.1 -> 0.5.0-alt1
* Mon Jul 04 2005 Anton Farygin <rider@altlinux> 0.5.0-alt1
- updated packages profile script (lioka@)
- updated installer profile
strace - Tracks and displays system calls associated with a running process
4.5.11-alt6 -> 4.5.12-alt2
* Sat Jun 18 2005 Dmitry V. Levin <ldv@altlinux> 4.5.12-alt2
- Rewritten quotactl(2) deparser (RH#118696).
syslinux - Simple kernel loader which boots from a FAT filesystem
2.11-alt1 -> 2.11-alt2
* Mon Jul 04 2005 Anton D. Kachalov <mouse@altlinux> 2.11-alt2
- multilib support
tetex - The TeX text formatting system
2.0-alt2.1 -> 2.0-alt2.2
* Tue May 03 2005 Anton D. Kachalov <mouse@altlinux> 2.0-alt2.2
- x86_64 support
unionfs - Unionfs - a unioning file system for Linux
1.0.11-alt1 -> 1.0.12a-alt1
* Thu Jun 09 2005 Anton D. Kachalov <mouse@altlinux> 1.0.12a-alt1
- 1.0.12a
vcdimager - VideoCD (pre-)mastering and ripping tool
0.7.20-alt1 -> 0.7.22-alt1
* Tue Jul 12 2005 Yuri N. Sedunov <aris@altlinux> 0.7.22-alt1
- 0.7.22
wmweather+ - Advanced weather monitor applet for WindowMaker
2.5-alt1.1 -> 2.9-alt1
* Wed Jul 13 2005 Sir Raorn <raorn@altlinux> 2.9-alt1
- [2.9]
- Updated buildrequires
xml-commons - Common code for XML projects
1.0-alt0.2.b2 -> 1.0-alt0.3.b3
* Thu Jun 30 2005 Mikhail Zabaluev <mhz@altlinux> 1.0-alt0.3.b3
- Packaged a CVS snapshot of Beta 3 which adds JAXP 1.3 APIs
- Updated Patch0
xorg-x11 - Part of the X.Org implementation of the X Window System
6.8.2-alt10.64bit -> 6.8.2-alt12
* Fri Jul 15 2005 Valery Inozemtsev <shrek@altlinux> 6.8.2-alt12
- added ru_RU.utf8 locale alias to ru_RU.UTF-8
- added description for Genius KB-19e NB keyboard
- merge patches from RH
- removed DRM patch by previous change
Total 4462 packages.
--
Alexey Tourbin / QA Team Robot
advertisement - The act of informing or notifying
* Thu Jun 23 2005 Alexey Tourbin <at@altlinux> 0.1-alt1
- ALT Linux hosts free software conference for developers:
http://www.altlinux.org/index.php?module=conf2
- I need some funds for my work on Sisyphus project.
Please contact me if you can help.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [sisyphus] qa-pkgwatch-robot (was: I: Sisyphus-20050717 packages: +67 (4462))
2005-07-17 12:40 [sisyphus] I: Sisyphus-20050717 packages: +67 (4462) Alexey M. Tourbin
@ 2005-07-17 12:52 ` Alexey Tourbin
0 siblings, 0 replies; 2+ messages in thread
From: Alexey Tourbin @ 2005-07-17 12:52 UTC (permalink / raw)
To: sisyphus
[-- Attachment #1.1: Type: text/plain, Size: 821 bytes --]
On Sun, Jul 17, 2005 at 04:40:55PM +0400, Alexey M. Tourbin wrote:
> 67 UPDATED packages
Внимание, это письмо отражает не изменения в репозитарии, а изменения
в роботе. Теперь робот умеет распознавать дупы, и среди группы дупов
учитывается только пакет с самой большой версией (раньше учитывался
пакет, выбранный, грубо говоря, случайным образом; из-за этого некоторые
обновления-дупы не были в предыдущих отчетах, теперь это видно).
По моему нескромному мнению, этот скрипт является удачным примером
программирования на shell+perl: кое-что удобнее писать на шелле (comm+join),
а кое-что -- на перле (дамп + сортировка rpmevrcmp по вторичному ключу).
Теперь осталось только переделать lastchange(), чтобы не терялись
промежуточные changelog entries. Кто-нибудь знает, как изящнее всего
это сделать?
[-- Attachment #1.2: qa-pkgwatch-robot --]
[-- Type: text/plain, Size: 3186 bytes --]
#!/bin/sh -ef
export LC_ALL=C
SRPMS=/raid/ALT/Sisyphus/files/SRPMS
dump()
{
local dir="$1"; shift
# we use perl because it's quite a lot faster
# using shell+rpm whould require >4000 fork+exec calls
perl -MRPM::Header -Mstrict - "$dir" <<'EOF'
my $dir = shift;
chdir $dir or die "$dir: $!";
my @rpms;
foreach my $f (<*.rpm>) {
tie my %hdr, "RPM::Header", $f or die "$f: $RPM::err";
my $SVR = "$hdr{VERSION}-$hdr{RELEASE}";
$SVR = "$hdr{SERIAL}:$SVR" if $hdr{SERIAL};
# the output format is: name SVR filename
push @rpms, [ $hdr{NAME}, $SVR, $f ];
}
die "$dir: no rpms" unless @rpms;
# sort order is: by name, ascending; by SVR, descending
@rpms = sort { $$a[0] cmp $$b[0] or 0+`rpmevrcmp $$b[1] $$a[1]` } @rpms;
# unique, by name
my %seen;
foreach my $rpm (@rpms) {
print join("\t", @$rpm), "\n" if not $seen{$$rpm[0]}++;
}
EOF
}
lines() { wc -l ${1+"$@"} |awk '{print$1}'; }
mtime() { stat --format $'%Y\n' ${1+"$@"}; }
mkdir -p pkgwatch
now="$(mtime "$SRPMS")"
dump "$SRPMS" >pkgwatch/srpms.new
total="$(lines pkgwatch/srpms.new)"
if [ ! -f pkgwatch/srpms.old ]; then
mv pkgwatch/srpms.new pkgwatch/srpms.old
echo "Initialized database ($total packages)."
exit 0
fi
comm -13 pkgwatch/srpms.old pkgwatch/srpms.new >pkgwatch/plus
comm -23 pkgwatch/srpms.old pkgwatch/srpms.new >pkgwatch/minus
join pkgwatch/minus pkgwatch/plus >pkgwatch/updated
join -v1 pkgwatch/minus pkgwatch/plus >pkgwatch/orphaned
join -v2 pkgwatch/minus pkgwatch/plus >pkgwatch/brandnew
[ -s pkgwatch/updated -o -s pkgwatch/orphaned -o -s pkgwatch/brandnew ] || exit 0
exec 4>pkgwatch/msg
subj="I: Sisyphus-$(date +%Y%m%d) packages:"
summary() { local f="$1"; shift; rpm -qp --qf '%{SUMMARY}\n' -- "$f"; }
lastchange() { local f="$1"; shift; rpm -qp --lastchange -- "$f" |sed -ne \
's/@\([[:alnum:]-]\+\)\.[[:alnum:]]\+>/@\1>/;/[[:alnum:]]/p'; }
if [ -s pkgwatch/brandnew ]; then
n="$(lines pkgwatch/brandnew)"
subj="$subj +$n!"
echo " $n BRAND NEW packages"; echo
while read name SVR f; do
echo -n "$name - "
summary "$SRPMS/$f"
lastchange "$SRPMS/$f"
echo
done <pkgwatch/brandnew
fi >&4
if [ -s pkgwatch/orphaned ]; then
n="$(lines pkgwatch/orphaned)"
subj="$subj -$n"
echo " $n ORPHANED/obsolete packages"; echo
while read name SVR f; do echo "$name $SVR"; done <pkgwatch/orphaned
echo
fi >&4
if [ -s pkgwatch/updated ]; then
n="$(lines pkgwatch/updated)"
subj="$subj +$n"
echo " $n UPDATED packages"; echo
while read name SVR2 f0 SVR4 f; do
echo -n "$name - "
summary "$SRPMS/$f"
echo "$SVR2 -> $SVR4"
lastchange "$SRPMS/$f"
echo
done <pkgwatch/updated
fi >&4
if [ "$now" -ne "$(mtime "$SRPMS")" ]; then
echo "$SRPMS was changed; we are out of luck" >&2
# shit happens; we can re-exec ourselves, but...
exit 1
fi
subj="$subj ($total)"
echo "Total $total packages." >&4
if [ -n "$mailto" -a -z "${mailto##*@*}" ]; then
if [ -f pkgwatch/signature ]; then
echo
cat pkgwatch/signature
fi >&4
mail -s "$subj" $mailto <pkgwatch/msg
mv -f pkgwatch/srpms.new pkgwatch/srpms.old
else
echo "$subj"
cat pkgwatch/msg
fi
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-07-17 12:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-07-17 12:40 [sisyphus] I: Sisyphus-20050717 packages: +67 (4462) Alexey M. Tourbin
2005-07-17 12:52 ` [sisyphus] qa-pkgwatch-robot (was: I: Sisyphus-20050717 packages: +67 (4462)) Alexey Tourbin
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git