summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-12-09Better wrap thanks and closesGuido Günther1-3/+11
Closes: #529332
2010-12-07Drop debugging print statementGuido Günther1-1/+0
2010-12-06git-dch: fix --id-length != 0Guido Günther1-0/+1
Git-Dch: Ignore
2010-12-06Add git-dch --customizations FILE to allow changelog entry customizationRob Browning4-96/+180
Add support for git-dch --customizations FILE. FILE must be Python code, and for now, the only useful thing it can do is define a format_changelog_entry() function which will override gbp.dch.format_changelog_entry(). Add a new customization option group for --customizations. Create a gbp.dch module and move the changelog entry formatting functions there. Create separate procedures to handle extracting metadata from the git log, and use them in the default format_changelog_entry(). These functions are also available for use by custom formatters: extract_git_dch_cmds(), filter_ignore_rx_matches(), extract_bts_cmds(), extract_thanks_info(), etc. Add a GitRepository.get_commit_info() method, and use it in git-dch parse_commit(). Signed-off-by: Rob Browning <rlb@defaultvalue.org>
2010-12-06Add "*.pyc" to .gitignore.Rob Browning1-0/+1
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
2010-12-06Use "log -n1" instead of "show" to retrieve commit log information.Rob Browning1-1/+1
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
2010-12-06Remove unused commit_msg variable from git-dch.Rob Browning1-1/+0
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
2010-12-03Fix off by one error by not countingGuido Günther1-2/+2
Thanks: Olivier Aubert for pointing this out
2010-11-25Also allow for 'issue' as bugnumber prefixGuido Günther1-1/+1
as used in Grml.
2010-11-16Document changes and release 0.5.11debian/0.5.11Guido Günther1-0/+37
2010-11-16Add logging functionsGuido Günther11-140/+248
This allows us to color and prefix the output. Closes: #544332
2010-11-08Fix download locationGuido Günther1-1/+1
Thanks: Rob Browning
2010-11-02Expand environment variables and '~' in gbp.conf pathsBenoît Knecht2-4/+14
Options that expect a path in gbp.conf can now be given as '~/path/to/dir' or '$HOME/path/to/dir' (or any other environment variable for that matter). Closes: #545692
2010-10-14Don't put generated gbp/gbp_version.py into the source packageGuido Günther1-1/+1
2010-10-07Merge branch 'master' into experimentalGuido Günther3-1/+14
2010-09-29Document --git-overlayYaroslav Halchenko1-0/+7
Closes: #598530
2010-09-29Makes uscan options explicitGuido Günther1-1/+1
Closes; #596003 Thanks: Chris Butler
2010-09-29Fall back to source only changes fileGuido Günther1-0/+3
if the architecture one doesn't exist. Closes: #593598
2010-09-27Document changes and release 0.5.10debian/0.5.10Guido Günther1-0/+8
2010-09-27Cleanup generated manpageGuido Günther1-1/+1
Git-Dch: Ignore
2010-09-27Warn if not invoked by git-buildpackageGuido Günther1-0/+5
git-pbuilder is supposed to be invoked by git-buildpackage. Otherwise things like export-dir aren't respected. Closes: #596625
2010-09-17Add --[no]-interactive to avoid promptsGuido Günther2-2/+13
2010-09-17Let git-import-orig find the changelog when not on the debian-branch.Matthijs Kooijman5-16/+62
When no changelog file is available in the checkout, look for the changelog in the repository. This allows for using git-import-orig when the upstream branch is checked out, for example.
2010-09-17Ask the user for the package name and version if needed.Matthijs Kooijman2-30/+113
If there is no debian/changelog to find the source package name, and/or the upstream version was not given on the commandline, ask the user for them. The values guessed from the original tarball name are offered as defaults to the user. Previously, this guessed version was used without confirmation. The source package name is now always taken from debian/changelog or prompted for, even when it might not be used (when importing a directory instead of a tarball, for example). This makes the code more straightforward and less errorprone in the future. Closes: #479172
2010-09-17Allow passing --quiet to git show.Matthijs Kooijman1-2/+5
Git-Dch: Ignore
2010-09-17Document changes and release 0.5.9debian/0.5.9Guido Günther1-0/+16
2010-09-16Don't fail on missing debian/rulesGuido Günther1-1/+2
LP: #638371
2010-09-14Improve compression format detectionGuido Günther2-3/+21
by checking if a version is already on the pristine-tar branch and use it's compression type if found. LP: #615212
2010-09-14Avoid unnecessary branch switchGuido Günther1-2/+3
when fixing the previous issues. LP: #637286
2010-09-13Switch to debian branch before forcing the HEAD updateGuido Günther1-0/+1
otherwise we might forward the current branch to another branch's ref. Thanks: Rolf Leggewie for the testcase
2010-09-02Add --git-arch optionGuido Günther3-1/+18
2010-09-02Resync with git-pbuilder 0.16Guido Günther1-22/+38
Closes: #595055
2010-09-01Document changes and release 0.5.8debian/0.5.8Guido Günther1-0/+15
2010-08-31Don't hardcode package nameGuido Günther1-1/+2
2010-08-31Fix exception nameGuido Günther1-1/+1
so we don't fail on repos without tags.
2010-08-31Remove file and commit ambiguityGuido Günther1-1/+1
2010-08-29Properly handle local only changes as no update neededGuido Günther2-6/+20
2010-08-29Fix --git-cleaner option name in git-buildpackage man pageSvend Sorensen1-1/+1
git-cleaner option is misspelled as git-cleander in description of git-pbuilder option in the git-buildpackage man page. Closes: #594612
2010-08-24Simple helper to tag a version if using git-svnGuido Günther1-0/+18
2010-08-21Don't call stdout stdin.Matthijs Kooijman1-3/+3
Git-Dch: Ignore
2010-08-18Document changes and release 0.5.7debian/0.5.7Guido Günther1-0/+17
2010-08-18Use --pretty=format: instead of --format=Guido Günther1-1/+1
to support the git version in Lenny.
2010-08-18Check for greater not unequal when looking for a new upstream versionGuido Günther1-1/+1
2010-08-15Catch KeyboardInterruptGuido Günther1-0/+3
2010-08-15Don't fail on gbp_version import errorsGuido Günther1-2/+5
This makes it easier to test from the source tree without starting a build first.
2010-08-14Fix bug numberGuido Günther1-1/+1
Git-Dch: Ignore
2010-08-14Update copyright fileGuido Günther1-3/+19
2010-08-14Recommend cowbuilderGuido Günther1-1/+1
2010-08-14Check for cowbuilderGuido Günther1-0/+7
The cowbuilder package depends on pbuilder so this is enough.
2010-08-14Only output dist if set.Guido Günther1-1/+1