Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
since they now show up with --list-cmds
|
|
|
|
It's a boolean indicating wether we fetch the author information from
git not the author information itself.
Git-Dch: Ignore
|
|
Gbp-Dch: Ignore
|
|
We don't change any mainttrailer options if already given.
Thanks: James McCoy for the detailed explanation
Closes: #740566
|
|
This is done in sake of more general purpose naming, intended for
enabling rpm support: to allow logical naming for rpm and to
share as much code between debian and rpm tools as possible.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This is done in sake of more general purpose naming, intended for
enabling rpm support.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Thanks: Sandro Tosi
Closes: #748339
|
|
This allows us to build an internal list of valid options and print
these.
|
|
mostly reverting e1780f0.
Closes: #742907
|
|
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
^^^^
|
|
since the later doesn't exist in python3
|
|
This code that determined if we found a snapshot header was obuscated by
the code that determines the commits to add. Split those and better
document their purpose. Also always return the commit to start from so
we don't need to repeat the logic in the uper levels.
|
|
This fixes a problem when running git-dch form a detached HEAD
|
|
instead of ChangeLog.is_native since the former used
debian/source/format in favor of debian/changelog.
|
|
* tests/11_test_dch_main.py: test the new --urgency option to
dch.main(). Add only meaningful tests, i.e. options alone and combined
with --release and --snapshot.
* git-dch (fixup_section): Manage "urgency" option.
(main): Add version_group option "-U" and "--urgency" to set the
urgency level of the entry.
* docs/manpages/git-dch.sgml: Update documentation for new option.
|
|
The snapshot mode fails to merge two "debian/changelog" entries if the
distribution is not "UNRELEASED".
* tests/11_test_dch_main.py: test the new --distribution option to
dch.main(). Add only meaningful tests, i.e. options alone and combined
with --release and --snapshot.
* git-dch (fixup_section): Rename as it's used to fix header in addition
to trailer, this require a new named parameter "options".
(main): Add version_group option "-D" and "--distribution" to
specify the distribution name.
Add version_group option "--force-distribution" to force the provided
distribution to be used, used by "dch".
Rename fixup_trailer() to fixup_section() and add options as parameters.
* docs/manpages/git-dch.sgml: Update documentation for new options.
Closes: #646684
|
|
spawn_dch switch gbp.command.wrappers.Command.
* gbp/deb/changelog.py (ChangeLog.spawn_dch): static method adapted from
gbp.scripts.dch and converted to gbp.command_wrappers.Command.
(add_entry): New method adapted from
gbp.scripts.dch.add_changelog_entry.
(add_section): New method adapted from
gbp.scripts.dch.add_changelog_entry. Remove DebianGitRepository and
options, this has nothing to do with changelog management.
* tests/test_Changelog.py: Test new methods.
* gbp/scripts/dch.py: Remove useless functions: system(), spawn_dch(),
add_changelog_section() and add_changelog_entry().
Update calls accordingly.
(fixup_trailer): Use spawn_dch() method of ChangeLog class.
(process_options): dch_options became a list.
(main): Use add_section() and add_entry() methods of ChangeLog object.
Take care of upstream version since ChangeLog.add_section() does not
manage it anymore.
Update exception handling, ChangeLog.spawn_dch() can raise
"CommandExecFailed" exception.
Closes: #672954
|
|
based on a patch by Daniel Dehennin
Needed for #672954, #646684, #669171
|
|
This makes snapshot changelog generation e.g. within jenkins builds
simpler since jenkins by defaults checkouts out the commit without
creating a branch.
|
|
Adds a new command line and config file option 'color-scheme' for
selecting the colors used in log output.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
|
|
|
|
|
|
this make sure the number of return values doesn't stays sane when
also returning timestamps and committer information.
|
|
Thanks: Salvatore Bonaccorso
|
|
Closes: #673368
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Closes: #669145
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Split GbpOptionParser in to a common base class and a Debian
specific subclass, as a preparation for upcoming RPM support.
This allows having different default values (and help texts) for common
options between different package types, and, clearer separation of
package type specific options.
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Closes: #652366
Thanks: a lot to Daniel Dehennin for the testcase
|
|
|
|
to limit number of returned commits and fix path option to also accept a
list of paths instead of a string.
|
|
|
|
|
|
|
|
|
|
making it easier to query versions. Add tests.
|
|
by moving the commands to gbp/scripts/
|