apt-history logs the changes of /var/lib/dpkg/status when installing, removing, upgrading packages with apt-get.
INSTALLATION: # apt-get install python-apt # cp apt-history /usr/bin/ # chmod +x /usr/bin/apt-history optional: # cp 30apt-history /etc/apt/apt.conf.d/ USAGE: - logs the latest changes to /var/lib/dpkg/status: # apt-history log - shows the changes: # apt-history show - cleans the log informations: # apt-history clean LOG FILES: apt-history creates and updates the following files: - /var/log/apt-history/log: log informations - /var/log/apt-history/status: latest informations from dpkg status file
Home Page: http://developer.berlios.de/projects/apt-history/
Sources: http://download.berlios.de/apt-history/apt-history_0.1.tar.bz2
Debian package: http://download.berlios.de/apt-history/apt-history_0.1-1_i386.deb
Important note: from version 1.13.5 dpkg includes the logging of operations. apt-history should be replaced with this shell script (should be included in ~/.bashrc
):
function apt-history(){ case "$1" in install) cat /var/log/dpkg.log | grep 'install ' ;; upgrade|remove) cat /var/log/dpkg.log | grep $1 ;; rollback) cat /var/log/dpkg.log | grep upgrade | \ grep "$2" -A10000000 | \ grep "$3" -B10000000 | \ awk '{print $4"="$5}' ;; *) cat /var/log/dpkg.log ;; esac }
Inserito il: 26/02/2005
Simple python+gtk+glade script for testing python regular expressions.
Screenshot:
Download: pyregexp_0.1.tar.bz2
Inserito il: 30/01/2005
Simple python script for mounting remote Samba’s shares with smbmount.
Usage:
$ ./Samba\ mount 192.168.0.1
or:
$ ./Samba\ mount <server_name>
or make a directory “192.168.0.1” and associate “Samba mount” script as action (example with konqueror, nautilus or rox-filer).
A window will be shown with a list of shared directories on the remote host. You can select the desired shares and click on “Mount” button: the selected shares will be mounted on path ./192.168.0.1/share_name
and can be umounted with smbumount
.
Screenshot:
Download: python-smbmount_0.1.tar.bz2
Inserito il: 01/01/2005
Script in python, serve a generare un file sorgente in python partendo da un file di interfaccia grafica in xml creato con Glade. Lo script rileva tutti i signal handler specificati nel file .glade e crea le relative funzioni (da implementare).
Uso:
$ python pyglade.py <nomefile.glade>
Script: pyglade.py
File .glade
di prova: test.glade
Output ottenuto: test.py
Inserito il: 06/12/2004
Front-end per cdrecord/mkisofs, ha come caratteristica principale la possibilità di aggiornare un cd multisessione sovrascrivendo solo i file modificati più recentemente.
Screenshot:
Download: pycdburn.tar.bz2
Inserito il: 22/03/2004