summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-05docs: hyperlink references to other manpagesMarkus Lehtonen
Change references to other gbp manpages to linked refs so that we get hyperlinks in the html manpages. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-06-05docs: add some missing commas to manpagesMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-05-24Document changes and release 0.6.15Guido Günther
2014-05-24Revert "Determine build_dir upfront"Guido Günther
This reverts commit b2549fac19f2d666552291a4fcf2020ca0570834.
2014-05-22Document changes and release 0.6.14Guido Günther
2014-05-22Improve error reporting on hooksGuido Günther
Make it obvious that a hook failed and not a gbp internal function
2014-05-22Improve error reporting on failed commandsGuido Günther
Make it more clear if the command exited with non zero exit status. Also don't report the command line twice. Closes: #748248
2014-05-22Determine build_dir upfrontGuido Günther
so it's available to all hooks
2014-05-19pq: Try harder to cleanup after a failed patchGuido Günther
If we fail to apply the patch the tree is left in a dirty state so reset to the last head. This avoids irritating errors like: gbp:error: Failed to apply 'debian/patches/poison+remember_trash': Failed to commit tree: fatal: invalid date format: 1998/03/21 following files would be overwritten by checkout: doc/hosts.nntp.5 innd/art.c innd/innd.h innd/rc.c Please, commit your changes or stash them before you can switch branches. Aborting Thanks: Marco d'Itri for the repo to debug this
2014-05-19pq: Print proper error message if we fail to apply the treeGuido Günther
e.g. instead of gbp:error: Failed to apply 'debian/patches/poison+remember_trash' we now have gbp:error: Failed to apply 'debian/patches/poison+remember_trash': Failed to commit tree: fatal: invalid date format: 1998/03/21
2014-05-19Documnt that the patches must apply without fuzzGuido Günther
2014-05-16Fix comitter vs committer typosGuido Günther
Thanks: Sandro Tosi Closes: #748339
2014-05-07Handle version format errors more gracefullyGuido Günther
So far if a package claimed to be non native but the version number didn't contain a '-' we failed like: Traceback (most recent call last): File "/usr/bin/gbp", line 9, in <module> load_entry_point('gbp==0.6.13', 'console_scripts', 'gbp')() File "/usr/lib/python2.7/dist-packages/gbp/scripts/supercommand.py", line 82, in supercommand return module.main(args) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 541, in main output_dir) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 96, in prepare_upstream_tarball upstream_tree = git_archive_build_orig(repo, cp, output_dir, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 270, in git_archive_build_orig upstream_tree = get_upstream_tree(repo, cp, options) File "/usr/lib/python2.7/dist-packages/gbp/scripts/buildpackage.py", line 245, in get_upstream_tree cp['Upstream-Version']) File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 107, in version_to_tag return format % dict(version=DebianGitRepository._sanitize_version(version)) File "/usr/lib/python2.7/dist-packages/gbp/deb/git.py", line 122, in _sanitize_version return version.replace('~', '_').replace(':', '%') It shouldn't be like that.
2014-05-02gbp pq: document --forceGuido Günther
2014-04-04Slightly improve usage outputGuido Günther
2014-04-03Document changes and release 0.6.13Guido Günther
2014-04-03config: add decorator to add_option_* functionsGuido Günther
This allows us to build an internal list of valid options and print these.
2014-04-03Import command not moduleGuido Günther
This matches the function name
2014-04-03docs: re-enable missing manpageMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-04-02Remove tests now covered by 18_test_ConfigGuido Günther
2014-04-02Revert "GitRepository/add_remote_repo: fix the 'tags' argument"Markus Lehtonen
Which caused an unwanted behavior of not fetching refs/heads at all -- only tags were fetched. This reverts commit 5dd598fb8f2a9109189fad6cf631811f12ce2130 Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-04-01Add minimal 'config' commandGuido Günther
This only allows to print single config values so far. Closes: #733470
2014-04-01.gitignore: ignore editor backup filesGuido Günther
2014-04-01Test option parser fallbacks more thoroughlyGuido Günther
revealing another bug where we overwrote parsed values with defaults Closes: #733759
2014-03-29Document changes and release 0.6.12Guido Günther
2014-03-29Use a much simpler version to fix the command name in --helpGuido Günther
mostly reverting e1780f0. Closes: #742907
2014-03-27Document changes and release 0.6.11Guido Günther
2014-03-27Fix command outputGuido Günther
The first line lacked the subcommand like: $ gbp pull --help Usage: gbp [options] - safely update a repository from remote instead of $ gbp pull --help Usage: gbp pull [options] - safely update a repository from remote ^^^^
2014-03-27ComponentTestBase: use regex matching in log checkingMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-03-27pq: minor log message typo fixMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-03-27Use a temporary directoryGuido Günther
This avoids file name collisions and weired files in the working copy.
2014-03-27tests: more robust check for the default urgency level of dchMarkus Lehtonen
The dch tool might not report it's version if it is incorrectly compiled. Create a dummy changelog and parse it "manually" to determine the default urgency level. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-03-27GitRepository/add_remote_repo: fix the 'tags' argumentMarkus Lehtonen
Explicitly use --tags in git arguments - otherwise tags might not be fetched. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-03-27GitRepository/get_commit_info: correctly handle file renames/copiesMarkus Lehtonen
Use the '--no-renames' git command line option in order to prevent two filenames per entry. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-03-27docs: add some missing sgml closing tagsMarkus Lehtonen
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-03-13Fix config file nameMario Lang
2014-03-09Remove incorrect docs about multiple filter optionsGuido Günther
Closes: #718536
2014-03-03Request verbose output on bug reportsGuido Günther
2014-02-23Document changes and release 0.6.10Guido Günther
2014-02-23git-import-dsc: Document --create-missing-branchesGuido Günther
2014-02-23import_dsc: Create missing debian branch with --create-missing-branchesGuido Günther
Closes: #739888
2014-02-23Remove cover-min-percentageGuido Günther
It makes running single tests harder than necessary since it requires the percentage also when using "nose <testname>".
2014-02-19config: Don't pull in config defaults twiceGuido Günther
This would otherwise overwrite values set in the legacy config sections. Closes: #733759
2014-02-18config: Don't pull in config defaults twiceGuido Günther
This would otherwise overwrite values set in the legacy config sections. Closes: #733759
2014-02-16Update copyright noticeGuido Günther
Git-Dch: Ignore
2014-02-15Document changes and release 0.6.9Guido Günther
2014-02-15docs: improve docs on using upstream's git repoGuido Günther
The documentation on using upstream's git directly instead of tarballs was very terse. Add a step by step guide on how to get started and how to update to new upstream versions.
2014-01-07import_orig: test error paths of find_sourceGuido Günther
2014-01-07tests: adapt dch tests for older devscriptsMarkus Lehtonen
Determine the default urgency level by determining the version number of the dch tool from command line. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2014-01-05Change the default of cleaner to /bin/trueGuido Günther
Running a clean command within version control by default nowadays causes more trouble than it helps. It's unnecessary with pbuilder/cowbuilder/sbuild and with export-dir. So change the default from 'debuild clean' to a noop ('/bin/true'). Closes: #670624