aboutsummaryrefslogtreecommitdiff
path: root/pbuilder-runhooks
Commit message (Collapse)AuthorAge
* runhooks: move (un)loadhooks() and executehooks() to pbuilder-modules.Mattia Rizzolo2015-11-25
| | | | | | | | | | | | | Merging the file means the hooks can use functions from the modules and viceversa safely; otherwise we would need both the scripts to source the other and this is not supported in bash. We can't delete it since it's referenced in pdebuild-internal, and since we can't assure the same pbuilder version outside and inside the chroot we have to be backward-compatible. Otherwise running an old pbuilder with a newer chroot would break badly. Thanks: Holger to notice this broke with the last release
* use log.w() instead of log()Mattia Rizzolo2015-11-15
|
* use log.i() instead of log()Mattia Rizzolo2015-11-15
|
* pbuilder-runhooks: let unloadhooks don't fail if there are no hooks loadedMattia Rizzolo2015-10-13
| | | | | This way we can call it also when hooks are not actually loaded or two times in a row without fear the result.
* pbuilder-runhooks: normalize whitespacesMattia Rizzolo2015-10-13
| | | | Gbp-Dch: Ignore
* fix a whole bunch of warning from shellcheckMattia Rizzolo2015-09-18
| | | | | | | There are still quite some, this is a first chunk based on a given patch applied where i felt confident enough. Thanks: Herbert Parentes Fortes Neto <hpfn@ig.com.br> for the initial patch-set
* whitespace normalization …Mattia Rizzolo2015-08-17
| | | | Gbp-Dch: Ignore
* makes BUILDDIR available to hooks, so they can know where the source and the ↵Mattia Rizzolo2015-08-17
| | | | built packages are
* add a more useful message for pbuilder-runhooks when hookdir cannot be ↵Junichi Uekawa2010-07-04
| | | | removed. (closes: #587254)
* Warn when there is non-existing hookdir. (closes: #525420)Junichi Uekawa2009-12-05
|
* make --hookdir work on pdebuild-internal (closes:#526471)Junichi Uekawa2009-11-29
|
* fix spelling mistake in commentJunichi Uekawa2009-11-29
|
* refactor to use 'log' function rather than using 'echo' directly.Junichi Uekawa2009-02-26
| | | | First cut into doing this, hopefully we're not breaking anything.
* Dereference symlinks when copying hooks. (closes: #499358)Ben Finney2008-09-28
| | | | | | | | | | | | | I keep a number of different hooks in my $HOME/.pbuilder/hooks/ directory, and some are symlinks to files outside that directory. When 'pbuilder-runhooks' copies the hooks, it copies them without dereference, which fails inside the chroot since the referenced files are not found. The attached patch, generated using 'git format-patch', fixes this by using the '-L' ('--dereference') option to 'cp' when copying the hook files into the pbuilder chroot.
* add people to AUTHORS sometimesJunichi Uekawa2007-06-05
|
* add hook handling in pdebuild-internalJunichi Uekawa2007-05-31
|
* warning message goes to &2Junichi Uekawa2007-03-27
|
* error message goes to &2Junichi Uekawa2007-03-27
|
* +dancer2003-12-10
| | | | | | | + * debuild-pbuilder.1: fix document formatting error, from Roland Stigge. + + * pbuilder-runhooks (hooks): Try and detect file name non-matching case + for hooks, from Dale Amon.
* + * THANKS: adddancer2003-11-16
| | | | | | | + + * pbuilder-runhooks: fix warning messages to be more correct, thanks + to Daniel Martin. +
* +2003-03-10 Junichi Uekawa <dancer@debian.org>dancer2003-03-10
| | | | | | | | | | | | | | | | | | | | | | | + + * pbuilder-satisfydepends: quote some strings... trying to be pedantic + + * pbuilder-buildpackage-funcs: unset LOGNAME for when building with + real root privilage. + thanks Barak Pearlmutter <bap@cs.unm.edu> + + * pbuilder.8: document X hooks which were previously undocumented. + + * pbuilder-user-mode-linux (BUILDING_DSC_FILE): use readlink on real existing files. + GNU "readlink -f " exits with an exit code of 1 when the file does not + exist, debianutils readlink did not. + + * pbuilder-runhooks (hooks): do not call readlink here, + since the file may not exist. + + * pbuilder-checkparams (USE_PKGNAME_LOGFILE): use readlink on real existing files. + + * pbuilder-buildpackage (PACKAGENAME): use readlink on real existing files. +
* + * pbuilder-runhooks (hooks): do not error out if there are no hooks in the ↵dancer2002-09-25
| | | | hookdir.
* release is ready, I've checked.dancer2002-02-24
|
* added hooks support for pbuilder build target.dancer2002-02-24
|
* fixing bugs related to runhooks, reported by Dale. Some serious logic ↵dancer2001-10-21
| | | | disorder seems to be.
* changing the error message to warning, because these messages do not stop ↵dancer2001-10-12
| | | | execution
* fixed my logical disorder.dancer2001-10-12
|
* diffdancer2001-10-12
|
* removing commentdancer2001-09-27
|
* removing pushd and popd.dancer2001-09-27
|
* fixing some serious typos .dancer2001-09-27
|
* changing little bits to my liking, and hopefully removing any potentially ↵dancer2001-09-27
| | | | dangerous bits.
* and even more reindentation.dancer2001-09-27
|
* reindent etc.dancer2001-09-27
|
* new file from dale amon.dancer2001-09-27