| SVN-DO(1) | Manuels des commandes | SVN-DO(1) |
svn-do - exportation des sources et exécution de commande à l'intérieur
svn-do COMMANDE
svn-do utilise svn-buildpackage pour exporter les sources, exécuter une commande à l'intérieur des sources exportées et, si la commande réussit, recopie l'arborescence debian/.
Nettoyage de l'arborescence (pratique si l'intégralité du code source est nécessaire) :
$ svn-do debclean
I: Exporting source tree via svn-buildpackage...
[...]
I: Running command: debclean
[...]
I: Copying back the debian/ tree...
'debian/control' -> 'path/package/debian/control'
Utilisation de quilt pour mettre à niveau un correctif :
$ QUILT_PATCHES=debian/patches svn-do \
sh -c "quilt push 002_static-linking-dont-build-perf.patch; \
quilt refresh"
[...]
I: Copying back the debian/ tree...
[...]
'debian/patches/002_static-linking-dont-build-perf.patch' ->
'/path/package/debian/patches/002_static-linking-dont-build-perf.patch'
Commencer une session de modification des sources et décider de ne pas recopier l'arborescence debian/ :
$ svn-do $SHELL
[...]
I: Running command: /bin/zsh
% exit 1
E: command exited with 1; not copying back the debian/ tree.
Modifier un correctif dans un paquet simplement géré par CDBS :
$ svn-do cdbs-edit-patch 02_pmount.patch
[...]
/usr/share/doc/svn-buildpackage/html/fr/
svn-inject(1)
svn-upgrade(1)
svn(1)
dpkg-buildpackage(1)
lintian(1)
Eduard Bloch
Goneri Le Bouder
Neil Williams
Copyright © 2009 Eduard Bloch
| Mai 2009 | Version : 0.8.2 |