aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp
Commit message (Collapse)AuthorAge
* pull: Allow to specify remote on the command lineGuido Günther2017-01-19
| | | | Closes: #851844
* Drop unused variableGuido Günther2017-01-18
| | | | to make flake8 happy
* buildpackage: Use commit instead of tree to create archiveGuido Günther2017-01-17
| | | | | | | | This makes sure we use the timestamps of the commit when creating the tarball. Only applies when not using pristine-tar Thanks: Ximin Luo for investigating Closes: #851645
* buildpackage: Don't set a compression level if unset and make this the defaultGuido Günther2017-01-17
| | | | | | | | This allows compressors to use the their default compression level. Only applies when not using pristine-tar. Thanks: Antoine Beaupré for investigating Closes: #820846
* Fix typosGuido Günther2017-01-13
|
* command_wrappers: Simplify RunAtCommandGuido Günther2017-01-12
|
* import-orig: Move orig.tar.gz with filter-pristine-tarGuido Günther2017-01-11
| | | | | | | | | | | | If we filter a tarball and use filter-pristine-tar we want pristine-tar to see the correct file name. If a file already exists at that location move it. If we wouldn't move the existing tarball but rather e.g. create the symlink in a temp directory we risk gbp buildpackage picking up the unfiltered tarball later. Closes: #558777
* Quote arguments passed to builderGuido Günther2017-01-11
| | | | | Closes: #850869 Thanks: Simon McVittie
* import_orig: Delay unpack of component tarballsGuido Günther2017-01-11
| | | | | | | | Instead of unpacking them right away first repack the filtered tarball so the component tarballs don't end up in the main tarball when using filters. Closes: #840602
* Improve wordingGuido Günther2017-01-11
| | | | Git-Dch: Ignore
* Drop superfluous whensGuido Günther2017-01-11
| | | | Git-Dch: Ignore
* UpstreamSource: don't use empty list as default argumentGuido Günther2017-01-11
| | | | since we want to avoid the same list being reused
* Fix typoGuido Günther2017-01-11
| | | | Git-Dch: Ignore
* import-orig: Make sure we exit non zeroGuido Günther2017-01-11
| | | | | Although none of the callers returns None but raises an exception this is more defensive.
* import_dsc: Store debian/changelog in commit messageGuido Günther2017-01-10
| | | | | | when importing packages. Closes: #577810
* gbp.deb.changelog: Allow to parse out changes from a specific versionGuido Günther2017-01-10
| | | | | We don't iterate over all individual sections but rather let dpkg-parsechangelog do the hard work.
* Always set a mainttrailer optionGuido Günther2017-01-10
| | | | | | | | | | to honor --[no]-git-author This basically reverts c3258c19c6cfa291c8bebac1dae230f6e3ccca36 but also adds a test case to not break it again that easily. Closes: #796913 Thanks: David Kalnischkies for investigating
* buildpackage: use os.makedirs to create export dirsGuido Günther2017-01-09
| | | | Thanks: Andrea Zagli for the suggestion
* buildpackage: simplify export dir selectionGuido Günther2017-01-09
|
* buildpackage: print proper dist when using sidGuido Günther2017-01-07
| | | | | | We're setting the dist to empty in this case since git-pbuilder will the use either base.cow or base-sid.cow but we should print a proper dist to the user.
* GitRepository: properly use pipe on empty stringsGuido Günther2017-01-06
| | | | | | | | So far we've been avoiding a pipe for input on empty strings. This would make commands as 'git mktree' hang forever waiting for standard input. So use a proper pipe on '' and skip it only for None. Closes: #850319
* GitRepository.make_tree: make it easier to readGuido Günther2017-01-06
|
* tests/component/rpm: flake8 cleanGuido Günther2017-01-03
|
* GitVfs: make objects usable as context managersGuido Günther2017-01-02
|
* Deprecate --download in import_srpm tooGuido Günther2017-01-01
|
* GitRepository: allow for dry-run pushGuido Günther2016-12-30
|
* GitRepository.commit_dir: add a proper reflog entryGuido Günther2016-12-28
| | | | otherwise 'gbp import-dsc' adds reflog entries without a description.
* GitRepository: use GitArgs for update_refGuido Günther2016-12-28
|
* import_dsc: fix options.download fallbackGuido Günther2016-12-28
|
* config: Don't missubstitute HOME in testsGuido Günther2016-12-27
| | | | | | If the user running the tests has e.g. a home directory of /git-buildpackage we'd end up with '/etcHOME/gbp.conf' when replacing on arbitrary positions. Make the replacement anchored instead.
* import-dsc: Improve error message if there is no dsc fileGuido Günther2016-12-26
| | | | instead of spewing the exception on the console.
* import-dsc: determine download automaticallyGuido Günther2016-12-26
| | | | No need to parse --download of URL is given or it's not a dsc file
* import-orig: determine download automaticallyGuido Günther2016-12-26
|
* import-orig: Handle download errors properlyGuido Günther2016-12-26
| | | | | This introduces tests that reach out to the network. These are disabled by default.
* Use compact forms of logging functionsGuido Günther2016-12-26
|
* pq: Don't fail --commit on empty commitsGuido Günther2016-12-23
| | | | | | | | So far we would fail empty commits with the confusing error $ gbp pq export --commit gbp:info: Generating patches from git (debian/sid..patch-queue/debian/sid) gbp:error: Error running git commit:
* GitRepository: allow to check cleaniness of arbitrary pathsGuido Günther2016-12-23
|
* Only set username and email when creating reposGuido Günther2016-12-21
| | | | Don't modify existing ones.
* gbp clone: configure user.email, user.name from DEBEMAIL/DEBFULLNAMEMichael Stapelberg2016-12-19
| | | | | | Signed-off-by: Guido Günther <agx@sigxcpu.org> Close: #845536
* create_remote_repo: allow to list config sectionsGuido Günther2016-12-09
|
* create_remote_repo: move repo creation to separate functionGuido Günther2016-12-09
| | | | Gbp-Dch: Ignore
* gbp.config: keep the parser aroundGuido Günther2016-12-09
| | | | so we can query things like sections at a later point.
* create_remote_repo.parse_args: drop unused argumentGuido Günther2016-12-09
|
* config: use better variable namesGuido Günther2016-12-08
| | | | Gbp-Dch: Ignore
* Fix doc stringGuido Günther2016-12-07
| | | | Git-Dch: Ignore
* import_srpm: Drop epoch tooGuido Günther2016-12-07
| | | | | | Upstream tags are without epoch so we need to filter that out too. Thanks: Tzafrir Cohen
* gbp/rpm: flake8 cleanGuido Günther2016-12-07
|
* specfile: handle %patch -FTzafrir Cohen2016-12-07
| | | | | | | | | The %patch macro of rpm supports the flag -F<num>, which seems to be similar to that of patch(1): allow patches with a specific fuzz. Parse the option but ignore it since we don't want patches with fuzz. Closes: #846479
* rpm: improve error message on specfile patch parser errorsGuido Günther2016-12-07
| | | | | | | | | | | | | | | The parser uses optparse and gave confusing error messages on failure like: Usage: buildpackage_rpm.py [options] buildpackage_rpm.py: error: no such option: -F This now looks like Usage: gbp.rpm internal patch macro opts parser for -F2 gbp.rpm internal patch macro opts parser: error: no such option: -F
* rpm_ch: flake8 cleanGuido Günther2016-12-07
|