Age | Commit message (Collapse) | Author |
|
|
|
enigmail upstream uses tags named enigmail-1-8 for 1.8. Other
upstreams have used similar conventions, likely as holdovers from CVS
(e.g. gnupg 1.4.2 was tagged with V1-4-2). This patch helps packagers
work with these upstreams.
Closes: #780679
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
introduced by 0a4725c045a5a55592dafd41c6ef6f9bab4791cd
|
|
to work toward Python3 support
|
|
works with python 2 and 3
|
|
Not existent in Python3
|
|
via
2to3-3.4 -w -f print .
to work towards python3 support
Gbp-Dch: Ignore
|
|
Python3 does not return None anymore
|
|
Allow --git-author to work if either author or email is not specified
in the git config, taking the other config option into account.
|
|
|
|
Make it easier for the user to detect misformated replacement strings in
config files and command line options.
|
|
The UpstreamSource class now gets a PkgPolicy in it's initialization.
Also, introduces new DebiaUpstreamSource class which is taken in use in
the scripts.
The PkgPolicy is not yet used for anything in UpstreamSource.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Thanks: Sandro Tosi
Closes: #748339
|
|
since the later doesn't exist in python3
|
|
|
|
and add the error detail to the exception message. This silences the
testsuite and makes sure we have error message and exception output in
sync.
|
|
so we have the object creation close to the object itself.
|
|
to avoid accidental usage. Use DebianSource.is_native instead.
|
|
instead of ChangeLog.is_native since the former used
debian/source/format in favor of debian/changelog.
|
|
Determine from changelog if debian/source/format does not provide any
type (1.0 format).
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
to easily fetch the source package name
Git-Dch: Ignore
|
|
when checking if a package is a native package
Closes: #669267
|
|
so we don't have to expose all the details of Debian's different
files and conventions.
|
|
so we don't spew the error message on stdout for nonexistent objects
|
|
|
|
|
|
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
|
|
Closes: #703694
|
|
|
|
|
|
by parsing out the warnings and error fields from the dehs output.
|
|
|
|
|
|
Continuation to the PristineTar refactoring, makes the "common"
PristineTar independent of DebianPkgPolicy. This commit moves the
Debian-specific has_commit() and checkout() methods to DebianPristineTar
class and replaces them with more generic functions in the base class.
Also, drops the Debian-specific get_commit() method completely, as it
was not used outside the PristineTar class itself.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
the double underscore prefix was dropped ages ago.
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Based on a patch by Markus Lehtonen
This refactor is preparation to the upcoming rpm support.
|
|
Closes: #673473
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
this will allow us to reparse the changelog after manipulation with dch.
|
|
to parse package and version out of a changelog section
|
|
to pkg base module. This refactor is preparation to the upcoming rpm
support.
|
|
from UpstreamSource class to DebianPkgPolicy.
|
|
Create a new 'pkg' basemodule, intended to be re-used by the upcoming
rpm package helpers. Move some deb functionality to a new pkg.PkgPolicy
class, to be used as a base for different package types. Introduces
Deb-specific deb.DebianPkgPolicy.
|
|
Closes: #668554
|
|
|
|
|
|
|