Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Id3b2f1caeaf12747401c33e25d9f697bf53138e0
|
|
Change-Id: I821ba7173ba0abc4251edd987a0bce5b13e2fd33
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
revealing another bug where we overwrote parsed values with defaults
Closes: #733759
(cherry picked from commit 14f6ded0143a3e82d04cad2614d705ca3a5b5c7e)
|
|
This would otherwise overwrite values set in the legacy config sections.
Closes: #733759
(cherry picked from commit f1bc54279b6f2a9b8848196044ba5312e2af9aaf)
|
|
Change-Id: I19bce2de51ff74a05ef844867e1777d360bb6414
|
|
Which caused an unwanted behavior of not fetching refs/heads at all --
only tags were fetched.
This reverts commit a574027f445ac1558aa292985236fe58113bd8de.
Change-Id: Ic2a1afd26b70102b7e4f1209a397c4c144f710dd
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This reverts commit d7ed865a5acf965f439f7c6b8a0f4fe6f62d0cbf.
Gbp-Rpm: If 0%{?centos_ver}
Change-Id: Id79507712b9709c85fb6f94253892e18926952f9
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Iee86168a04155c61d1e2d3b24c161030eb46cd4b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I3937f8b6584486ba4e87c4509bf7f7f666ceda29
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Ie640a6b847b75dce95590c432c4aca89339eb7e9
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I56476d6a832a755c7b56b2a5395785dea60df6b1
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I7592bc624cee78b5072ab43e1a85c52bd2ae106c
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
If name cannot be determined from pw_gecos field use the login name as
the author.
Change-Id: I7450d8e9369036f8298af94761341ae5e6bddc14
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Be non-greedy when matching string format fields.
Change-Id: I2821830fb32fbdb77740bc06de4cb93c29d039e4
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Use GitRepository.get_author_info() for getting the author name and
email if --git-author is specified. Fallback to default method for
determining name and/or email if they cannot be determined with
get_author_info().
Change-Id: Ife3c3d4358e0bb5c55ba7b6b850bba470e4e06b6
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
The script crashed if changelog revision format did not contain any
string fields.
Change-Id: I2331e7ca995aed59a1f88bdc60b7643f5cad84c1
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I9490092f2f3430789c29c93b443c68e76beea1ed
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Id0f4e270c666fb2c823a1a7745bd70e5a41568e0
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Enables non-interactive invocation.
Change-Id: Id4d083cdda4f0fa5c83f778101fe998fcee00bce
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I8d4ffe1da8668ba7f94089482d00e7bdcbf23feb
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
This way you can update multiple files in the same commit (e.g. spec
file or debian changelog).
Change-Id: I27c91dfd4c2d920b7f334253959d2aeae3dba8ea
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
For setting the committer name/email/date - similarly to author_info.
Change-Id: I18ae467623d73148145cc5d4e314d14abb327b4f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Ib61ad117ee7b0697de66e7e0da17f5b7d58ab808
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Ia8681dfdeeebaf5aaeecda348ee6d3121e772a6d
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Create a baseclass for tests that are run in a git repository containing
valid packaging for an rpm package. Makes it possible to re-use the
repository initializations (from the test data manifest file).
Change-Id: Ia034c6f8f82e8732efcbd2b9f7f852bd19eba500
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I08dd576f6f4924e70682810b6a0886b8b368e1fc
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Mark one string that contains a backslash as raw.
Change-Id: Id95d7642a3741794698d3ff1310076c4558f5a5c
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I6e19c0af49d7484b7165b88f9454159c2d0a1a7e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
So that the changelog is searched/created in the correct directory.
Change-Id: I6c6db01da2be566101cd7b547a60902ef92ec779
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Used for setting the packaging directory to be used in the new orphan
packaging branch. Defaults to --packaging-dir so that the gbp.conf files
are more likely to work without modification.
Change-Id: I990ccf59216cc1f62105136004bfbd03074d1d9e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
The new subcommand is intended to be a one-time-callable command for
converting a package to use the "orphan-packaging" development model and
git layout (where packaging files are maintained in a separate branch
and code development in another branch).
Change-Id: I7ffcb17bc893d59864e10b40ecb69f7b0b293b21
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Adds git-buildpackage-rpm --patch-export support for the 'orphan
packaging' development model (where packaging files and development sources are kept in separate
branches).
New functionality:
1. If patch-export is enabled and gbp detects that the current branch
has a development/patch-queue branch it exports the patches from there,
instead of the tip of the packaging branch.
2. If gbp detects that the current (or exported) branch is a
development/patch-queue branch it automatically enables patch-export
and exports packaging files from the base branch (instead of the
development/patch-queue branch.
Also, add a new '--git-patch-export-rev' command line option with which
the user can explicitly set the treeish from which patches are generated
(i.e. HEAD..<patch-export-rev>)
Change-Id: Ic7cfc9759c5e453ace1669e2c2726cd9363e6ecc
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
For defining the packaging file(s) that will be imported into the
development/patch-queue branch.
By default, the local gbp conf files are imported.
NOTE: This option does not affect the patch files that are imported. The
files defined with this option will appear as one monolithic commit in
the development/patch-queue branch.
Change-Id: Ia1967d77d2be5a8afc41e8d32c84b3386bc45924
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
NoSource and NoPatch should be lists, thus not currently fully supported
by us. However, rpm-python used to return them as long values in case
only one NoSource/NoPatch tag was defined (RH Bug: 991329).
Change-Id: Id99205a68f2c8862a4d9fa141c4507a287a90a6b
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Try to get archive path/filename from spec file if no file name is given
on the command line. This should make version bumps more
straightforward: just update version number in the spec file and run
'git-import-orig-rpm'.
Change-Id: I3222f5f699ffc61e39755a89f667f8db92bb4681
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Automatically try to download the archive if the archive filename points
to a remote location.
Change-Id: I387cab9f7ec53d268010367517f22f02055e01b7
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
So that this functionality can be easily re-used elsewhere.
Change-Id: I6f0f3e6efcbd6462810d0116da6d06bef57919cf
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: I6f8a4bd98aa6051556cacb7ec7a771025c5f3880
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Change-Id: Ia8b0d4775ea5ac6c5e1ead224f976a2b7e3dcce3
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Create the upstream branch if it does not exist. Use the same option
name that import-srpm has.
Change-Id: I2e55a2d88348776e9f2d9110a33e36a79b26ffff
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Create the upstream branch if it does not exist. Use the same option
name that import-dsc has.
Change-Id: I32769cb3c03fd2e63f743b7a3aa0b18465bb7ce7
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
So that the git working directory is not dirtied, by default.
Change-Id: Ic0b1455566bcc27e83d7171aa9b67f4311a6a066
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Merging upstream to packaging does not usually make sense with rpm
packages. Merely, it can create confusion cause unapplicable patches to
be generated.
Change-Id: Id053643d4045522ff3e5ac7444501252bbf2d77f
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Fixes: #1642
Change-Id: I6e0dc851daa5daee9bf1185b927f87d47482c1eb
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Implement '--tag' command line option (and other related options for
signing) for creating and tagging a release. These correspond the
tagging options in git-buildpackage-rpm.
The git-buildpackage-rpm tool does not commit anything to git. However,
in rpm-ch the '--tag' option causes the changelog modifications (and,
all other staged changes) to be committed to git before creating the
tag. This makes it possible to create a release and document the
packaging/release tag name in the rpm changelog.
Change-Id: I0fe44b9ef98a4ea5d26320913cd9d8aa552aecfb
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
In order to be able to spawn an editor, similarly to other commitX
methods in GitRepository.
Change-Id: Ie110cd36dde90b5d1ead5da219f0be00d49830dd
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
For setting the committer name/email/date - similarly to author_info.
Change-Id: I5f085eb5f23bacd7494620726024f09b48c23f19
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Previously the editor would not show in the shell because stdout was
captured.
Change-Id: I0732cfb8ff429ea008a2a927f44ba46cbcbb6874
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Make it possible for git commands to output directly to stdout without
redirection (i.e. capturing their stdout stream).
Change-Id: I157b004c03452802a162fbf1765c81168b448b66
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|
|
Implement a function for creating the packaging tag in the Git
repository. In order to re-use the functionality elsewhere.
Change-Id: I0b475b541b2bda0df4f5e99b989aa369cc05d7aa
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
|