Mise à jour / Création /debug de paquetages
b_adele
Hankyu
Messages : 10 Inscription : mar. 04 oct. 2011, 21:07
Localisation : Montpellier
Message
par b_adele » dim. 20 janv. 2013, 19:44
Bonjour,
j'ai crée un nouveau paquet garchdeps qui aura pour fonction d'afficher les paquets qui utilisent le plus de place sur le disque et également d'afficher sous forme de graphique les dépendences des logiciels installés.
Le projet est disponible sous forme de paquet
https://aur.archlinux.org/packages/garchdeps-git ou
https://github.com/badele/garchdeps
Quelque exemples d'utilisation
EDIT: un apercu de la prochaine release
Grand Format:
http://www.flickr.com/photos/b_adele/84 ... otostream/
Code : Tout sélectionner
>garchdeps.py
-----------------------------------------+---------+----------+----------+----------+-----------+------------+
Package | T. Deps | M. depth | N usedby | Size | T. Size | % T. Size |
-----------------------------------------+---------+----------+----------+----------+-----------+------------+
microchip-mplabx-bin | 10 | 6 | 0 | 553 MB | 85 MB | |
processing | 90 | 11 | 0 | 377 MB | 335 MB | ### |
qt-doc | 112 | 10 | 0 | 377 MB | 509 MB | #### |
libreoffice-common | 88 | 8 | 10 | 236 MB | 462 MB | #### |
eagle | 65 | 8 | 0 | 203 MB | 240 MB | ## |
ocaml | 7 | 5 | 0 | 191 MB | 62 MB | |
virtuoso | 32 | 10 | 0 | 185 MB | 255 MB | ## |
gutenprint | 3 | 2 | 0 | 170 MB | 47 MB | |
boost | 13 | 6 | 1 | 143 MB | 121 MB | # |
mono | 37 | 7 | 4 | 136 MB | 153 MB | # |
blender | 153 | 10 | 0 | 122 MB | 753 MB | ####### |
mongodb | 13 | 6 | 0 | 113 MB | 121 MB | # |
chromium | 118 | 9 | 0 | 111 MB | 440 MB | #### |
webmin | 24 | 6 | 0 | 107 MB | 175 MB | # |
libreoffice-sdk-doc | 106 | 9 | 0 | 104 MB | 1 GB | ########## |
emacs | 138 | 9 | 0 | 102 MB | 514 MB | ##### |
google-chrome | 131 | 8 | 0 | 101 MB | 555 MB | ##### |
catalyst-utils | 89 | 10 | 2 | 94 MB | 240 MB | ## |
android-sdk | 121 | 11 | 1 | 94 MB | 512 MB | #### |
python | 27 | 7 | 23 | 93 MB | 187 MB | # |
Code : Tout sélectionner
>garchdeps.py -t python
|--python
|--expat
|--glibc
+--linux-api-headers
+--tzdata
|--bzip2
|--glibc
|--gdbm
|--glibc
|--sh(by bash)
|--readline
|--glibc
|--ncurses
|--glibc
|--glibc
|--openssl
|--perl
|--gdbm
|--db
|--gcc-libs(by gcc-libs-multilib)
|--glibc
|--lib32-gcc-libs
+--lib32-glibc
|--gcc-libs(by gcc-libs-multilib)
|--sh(by bash)
|--coreutils
|--glibc
|--pam
|--glibc
|--db
|--cracklib
|--glibc
|--zlib
|--glibc
|--libtirpc
|--libgssglue
|--glibc
+--pambase
|--acl
|--attr
|--glibc
|--gmp
|--gcc-libs(by gcc-libs-multilib)
|--sh(by bash)
|--libcap
|--glibc
|--attr
|--glibc
|--sh(by bash)
|--libffi
|--glibc
|--zlib
N'hésitez pas à me faire part de vos remarques.
Dernière modification par
b_adele le dim. 20 janv. 2013, 22:55, modifié 1 fois.
Youpi
yeomen
Messages : 252 Inscription : sam. 16 juin 2012, 22:44
Message
par Youpi » dim. 20 janv. 2013, 20:14
un truc vraiment génial, serait d'afficher les dépendances graphique comme baobab avec les fichiers en anneaux ...
mais ce ne serais qu'un gadget....un joli gadget
Arch 64 bit +
Kernel ck-corex +
Tint2 et fbpanel +
OpenBox +
Bumblebee +
conky +
eclipse et
matlab
navigateur internet :
iron (yaourt iron-bin)
b_adele
Hankyu
Messages : 10 Inscription : mar. 04 oct. 2011, 21:07
Localisation : Montpellier
Message
par b_adele » dim. 27 janv. 2013, 23:20
Voici une preview de la version qui permet de générer des graphes.
chipster
Maître du Kyudo
Messages : 2063 Inscription : ven. 11 août 2006, 22:25
Localisation : Saint-Étienne (42)
Contact :
Message
par chipster » lun. 28 janv. 2013, 08:07
Joli travail
Anghirrim
Elfe
Messages : 701 Inscription : mar. 28 févr. 2012, 11:09
Localisation : Loire-Atlantique
Message
par Anghirrim » lun. 28 janv. 2013, 10:07
Extra!!! Félicitations et merci!!
Optiplex 3060 Micro Intel© Core™ i5-8500T, 16Go RAM, Arch Linux Cinnamon + Windows 10
Asus X53S, Linux Mint Cinnamon
b_adele
Hankyu
Messages : 10 Inscription : mar. 04 oct. 2011, 21:07
Localisation : Montpellier
Message
par b_adele » mar. 29 janv. 2013, 00:00
La version supportant la génération des graphes est dispo sur AUR (
garchdeps-git ).
Le graphe précédent à été généré avec la commande suivante garchdeps.py -f qt -g /tmp/graph.dot ; tred /tmp/graph.dot | dot -Tpng -o /tmp/graph.png
Merci pour vos retours
BA
vlamy
yeomen
Messages : 268 Inscription : ven. 20 juil. 2012, 15:19
Localisation : Grenoble
Message
par vlamy » mar. 29 janv. 2013, 09:37
Super boulot !
Je viendrais poster des retours (apparemment je vais en avoir), quand j'aurai eut l'occasion de tester plus en profondeur.
merci.
b_adele
Hankyu
Messages : 10 Inscription : mar. 04 oct. 2011, 21:07
Localisation : Montpellier
Message
par b_adele » lun. 18 févr. 2013, 13:06
Une nouvelle mise à jours est disponible, celle ci apporte la notion de paquet lié (mise en evidence des paquets supprimé avec le paquet initial), en vert sur la capture ci dessous
Code : Tout sélectionner
./garchdeps.py -o -s totalsize
libreoffice-common 236 MB sudo pacman -R libreoffice-common
ocaml 191 MB sudo pacman -R ocaml
virtuoso 185 MB sudo pacman -R virtuoso
virtualbox 180 MB sudo pacman -R virtualbox libvncserver virtualbox-host-modules linux linux-firmware mkinitcpio mkinitcpio-busybox
arduino 162 MB sudo pacman -R arduino avr-libc avr-gcc avr-binutils
mono 136 MB sudo pacman -R mono
mongodb 113 MB sudo pacman -R mongodb
chromium 111 MB sudo pacman -R chromium
emacs 109 MB sudo pacman -R emacs libotf m17n-lib m17n-db
google-chrome 101 MB sudo pacman -R google-chrome
catalyst-utils 94 MB sudo pacman -R catalyst-utils
python 93 MB sudo pacman -R python
inkscape 91 MB sudo pacman -R inkscape gc gsl gtkspell
qt 90 MB sudo pacman -R qt
jre 86 MB sudo pacman -R jre
avr-gcc 81 MB sudo pacman -R avr-gcc
mysql 79 MB sudo pacman -R mysql
gcc-multilib 78 MB sudo pacman -R gcc-multilib
gimp 78 MB sudo pacman -R gimp libwmf gsfonts gegl babl
fritzing 74 MB sudo pacman -R fritzing
Code : Tout sélectionner
./garchdeps.py -s totalsize
-----------------------------------------+---------+---------+----------+----------+----------+----------+----------+----------+------------+
Package | T. Deps | L. Deps | N. depth | N usedby | P. Size | L. Size | T. Size | D. Size | % T. Size |
-----------------------------------------+---------+---------+----------+----------+----------+----------+----------+----------+------------+
libreoffice-common | 88 | 0 | 8 | 7 | 236 MB | 0 KB | 236 MB | 462 MB | ########## |
ocaml | 7 | 0 | 5 | 0 | 191 MB | 0 KB | 191 MB | 62 MB | ######## |
virtuoso | 32 | 0 | 10 | 0 | 185 MB | 0 KB | 185 MB | 255 MB | ####### |
virtualbox | 89 | 6 | 9 | 0 | 73 MB | 107 MB | 180 MB | 432 MB | ####### |
arduino | 63 | 3 | 11 | 0 | 46 MB | 116 MB | 162 MB | 441 MB | ###### |
mono | 37 | 0 | 7 | 2 | 136 MB | 0 KB | 136 MB | 153 MB | ##### |
mongodb | 13 | 0 | 6 | 0 | 113 MB | 0 KB | 113 MB | 121 MB | #### |
chromium | 118 | 0 | 9 | 0 | 111 MB | 0 KB | 111 MB | 440 MB | #### |
emacs | 138 | 3 | 9 | 0 | 102 MB | 7 MB | 109 MB | 514 MB | #### |
google-chrome | 131 | 0 | 8 | 0 | 101 MB | 0 KB | 101 MB | 555 MB | #### |
catalyst-utils | 89 | 0 | 10 | 2 | 94 MB | 0 KB | 94 MB | 240 MB | #### |
python | 27 | 0 | 7 | 17 | 93 MB | 0 KB | 93 MB | 187 MB | ### |
inkscape | 129 | 3 | 10 | 0 | 81 MB | 10 MB | 91 MB | 558 MB | ### |
qt | 111 | 0 | 9 | 25 | 90 MB | 0 KB | 90 MB | 418 MB | ### |
jre | 52 | 0 | 10 | 0 | 86 MB | 0 KB | 86 MB | 207 MB | ### |
avr-gcc | 17 | 0 | 6 | 1 | 81 MB | 0 KB | 81 MB | 127 MB | ### |
mysql | 43 | 0 | 9 | 1 | 79 MB | 0 KB | 79 MB | 288 MB | ### |
gcc-multilib | 17 | 0 | 7 | 0 | 78 MB | 0 KB | 78 MB | 135 MB | ### |
gimp | 154 | 4 | 11 | 0 | 69 MB | 9 MB | 78 MB | 662 MB | ### |
fritzing | 112 | 0 | 10 | 0 | 74 MB | 0 KB | 74 MB | 509 MB | ### |
Une page du projet a également été crée à l'adresse suivante
http://bruno.adele.im/projets/garchdeps/
Ypnose
Maître du Kyudo
Messages : 1363 Inscription : sam. 01 mai 2010, 13:17
Message
par Ypnose » dim. 03 mars 2013, 00:18
Je ne sais pas si c'est déjà le cas, mais je t'encourage vivement à ajouter le paquet sur notre dépôt Archlinux.fr. Sinon, j'aime beaucoup le blog en statique.
b_adele
Hankyu
Messages : 10 Inscription : mar. 04 oct. 2011, 21:07
Localisation : Montpellier
Message
par b_adele » dim. 03 mars 2013, 02:28
@Ypnose peut tu m'indiquer la démarche à suivre pour le déposer sur le site archilinux.fr ?
Pour info, il est sur la AUR, je ne sais pas si on cause de la la même chose
Merci à toi
Ypnose
Maître du Kyudo
Messages : 1363 Inscription : sam. 01 mai 2010, 13:17
Message
par Ypnose » dim. 03 mars 2013, 12:12
La communauté française dispose d'un dépôt pour les contributeurs, sur lequel il est possible de mettre à disposition des paquets.
Je te lire cette page du wiki, qui sera certainement une excellente explication:
http://wiki.archlinux.fr/Depot_archlinuxfr