Age | Commit message (Collapse) | Author |
|
set_upstream_branch sets upstream branch for the local branch using
git branch --set-upstream
get_upstream_branch returns info about upstream branches
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
|
|
|
|
so we get correct coverage information for the scripts
|
|
so tests don't fail on rpm based systems.
|
|
* tests/11_test_dch_main.py: Test common cases with "--release" and
"--snapshot". Try 2 consecutive snapshots to check for merged entries.
|
|
|
|
Add file status and name to the info returned by the get_commit_info()
method.
Signed-off-by: Zhang Qiang <qiang.z.zhang@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Add committer to the info returned by get_commit_info() method. Returns
committer name, email and timestamp as a GitModifier object.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Add author timestamps to the info returned by get_commit_info() method.
Signed-off-by: Ed Bartosh <eduard.bartosh@intel.com>
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Allow to pass in the date as datetime object, timestamp or git raw date.
and allow to retrieve these values. This make constructing GitModifiers
from python simpler.
|
|
Add an option to ignore untracked files when checking if the repository
is clean.
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.
|
|
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>
|
|
|
|
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>
|
|
neeeded for the upcoming packagename/version parsing support
|
|
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: #673473
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
Git-Dch: Ignore
|
|
to parse package and version out of a changelog section
|
|
Closes: #672642
Signed-off-by: Guido Günther <agx@sigxcpu.org>
|
|
to pkg base module. This refactor is preparation to the upcoming rpm
support.
|
|
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.
|
|
so it can be used as dictonary
|
|
|
|
not the system ones
|
|
Git-Dch: Ignore
|
|
that don't support user-defined output formats (tar filters) in
git-archive.
|
|
|
|
since this is more consistent with the other is_* methods in other
classes.
|
|
|
|
and make it accessible from GitRepository to group
checkout/checkin/lookup.
|
|
|
|
get_obj_type() returns the type of a git repository object.
|
|
|
|
|
|
|
|
|
|
|
|
to check if a branch contains a specific commit
|
|
|
|
|
|
|