Age | Commit message (Collapse) | Author |
|
this make sure the number of return values doesn't stays sane when
also returning timestamps and committer information.
|
|
Now uses git-show instead of git-log. This is needed for further
enhancements (namely to get name-status for merge commits). Also, use
null-character as the field separator which makes parsing more reliable.
The method now returns 'body' of the commit message as is, without
stripping or splitting to lines.
In addition, get_commit_info() now uses GitArgs and _git_inout() instead
of the deprecated _git_getoutput().
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
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>
|
|
of the form packagename-<version>
|
|
the double underscore prefix was dropped ages ago.
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
Use the strip information of the patch when applying patches. Also,
changes GitRepository.apply_patch() to accept integer values as 'strip'
argument.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This change makes is_link_target() re-usable in the upcoming RPM-tools.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
|
|
with --git-ignore-branch.
Closes: #661598
|
|
Instead of moving individual files around simply rename the directories.
This is faster and independent of the tarballs content.
Closes: #675412
|
|
so move_old_export works again
|
|
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
Based on a patch by Markus Lehtonen
This refactor is preparation to the upcoming rpm support.
|
|
Closes: #670623
|
|
Closes: #673473
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
|
|
this will allow us to reparse the changelog after manipulation with dch.
|
|
Thanks: Salvatore Bonaccorso
|
|
Closes: #673368
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
to parse package and version out of a changelog section
|
|
Closes: #672642
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
and disable it by default.
|
|
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: #669145
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Separate some functions of git-import-orig into a baselib, intended to
be re-used by the upcoming rpm variant of the tool.
|
|
Makes ask_package_name() and ask_package_version() more generic and
re-usable in the upcoming RPM-tools.
|
|
Separate some functions of git-buildpackage into a basemodule, intended
to be re-used by the upcoming rpm variant of the tool.
|
|
Separate some functions of gbp-pq into a basemodule, intended to be
re-used by the upcoming rpm variant of the tool.
Also, introduces a new python subpackage gbp.scripts.common to be used
for the re-usable parts of the scripts in the refactoring work.
|
|
This new tag makes git-dch use the full commit message when generating
the Debian changelog file, even when --full is not given.
Closes: #669159
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Closes: #668896
|
|
Closes: #668554
|
|
when mirroring a repository
|
|
This allows to link the import-orig commit with the corresponding
upstream vcs tag. See #664771 for a discussion.
|
|
This specifies an additional config file section that can be used
to preconfigure different remote locations.
|
|
This makes it possible to parse additional mandatory sections
from config files to prefill defaults.
Git-Dch: Ignore
|
|
Git-Dch: Ignore
|
|
Git-Dch: Ignore
|
|
to git init so it's possible to set up remote hooks.
|
|
Git-Dch: Ignore
|
|
|
|
Git-Dch: Ignore
|
|
Git-Dch: Ignore
|
|
Git-Dch: Ignore
|
|
|