aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/buildpackage.py
Commit message (Collapse)AuthorAge
* gbp: Fix misc spelling in user visible output and commentsOtto Kekäläinen2024-01-12
|
* buildpackage: Map 'debian/latest' and 'debian/main' to sid tooGuido Günther2021-10-28
| | | | | This avoids having to specify a suite with more modern common branch names.
* Add info about --git-ignore-branch when not on branchJonathan Rubenstein2021-02-08
| | | | Closes: #956491
* buildpackage: Fix tests and test arch overrideGuido Günther2020-10-12
|
* buildpackage: Honor --git-arch for GBP_CHANGES_FILEHeiko Schlittermann2020-10-12
| | | | Closes: #941345
* add option to export tarballs with upstream signatureChristian Göttsche2020-01-21
| | | | | | | Add option `--upstream-signatures=[on|auto|off]` to export-orig. Add option `--git-upstream-signatures=[on|auto|off]` to buildpackage. Closes: 872864
* Use UpstreamSource for additional tarballs as wellGuido Günther2019-10-27
| | | | | This will help on upstream tarball signatures as well as improving additional tarball handling.
* Fix over intended linesGuido Günther2019-07-21
| | | | | | (rightfully tripping up newer flake8) Gbp-Dch: Ignore
* buildpackage, export-orig: support version substitution for --git-tarball-dirLuca Boccassi2018-11-23
| | | | | | | | | Add support for passing %(version), %(hversion) and %(version%A%B) in buildpackage --git-tarball-dir and export-orig --tarball-dir. Closes: #909266 Signed-off-by: Luca Boccassi <bluca@debian.org>
* buildpackage{,-rpm}: add preexport hookLuca Boccassi2018-10-28
| | | | | | | | | | | | | | | Sometimes it is necessary to perform operations before preparing the tarballs and exporting to the build directory. One such case is when having to handle extremely large binary assets in the orig tarball and at the same time complex packaging code, which makes it desirable to separate the two into different repositories for easier handling. A pre-export hook allows to ensure that the tarball repository is present and checked out at the correct branch. Closes: #909266 Signed-off-by: Luca Boccassi <bluca@debian.org>
* buildpackage: Unify 'extract' messagesAndreas Beckmann2018-09-21
| | | | Gbp-Dch: Ignore
* builpackage: look at builder as well when determining the changes file nameGuido Günther2018-01-20
| | | | Closes: #887779
* hooks: print hook name prior to executionGuido Günther2017-12-01
| | | | This makes it simpler to identify build steps
* buildpackage: Expand --git-comp-type auto again in --git-overlay modeGuido Günther2017-11-09
| | | | | Thanks: Maximiliano Curia for the detailed analysis Closes: #879781
* buildpackage: unpack additional tarballs as well in --git-overlay modeGuido Günther2017-11-09
| | | | Closes: #881253
* buildpackage: mark overlay related function as suchGuido Günther2017-11-09
| | | | Gbp-Dch: Ignore
* buildpackage: Add back --git-pristine-tar-commit supportGuido Günther2017-11-08
| | | | | | The call got lost when we split out export-orig. Closes: #880624
* buildpackage: don't require debian/ prefix for --git-dist=DEP14 to workGuido Günther2017-09-15
|
* buildpackage: drop superfluous elseGuido Günther2017-09-15
| | | | Git-Dch: Ignore
* Add tag commandGuido Günther2017-09-14
| | | | | | | | | | by splitting out the code from buildpackage This is shorter than running gbp buildpackage --git-tag-only Closes: #797086
* Revert "buildpackage: don't prepare any tarballs in overlay mode"Guido Günther2017-08-16
| | | | | | | | | This breaks workflows where people have a detache debian/ dir but keep upstream VCS and pristine-tar in the same repo. This reverts commit 3e4e7950d2b0e81a8821f60e9a6d842c88e8b7fb. Thanks: Maximiliano Curia for the report
* buildpackage: move branch setting and check to separate methodGuido Günther2017-08-12
| | | | | | to make things more expressive Gbp-Dch: Ignore
* buildpackage: move tag creation to separate functionGuido Günther2017-08-12
| | | | Gbp-Dch: Ignore
* buildpackage: set variables upfrontGuido Günther2017-08-12
| | | | | | | This makes it far simpler to shift blocks of code around without hitting unset variables. Gbp-Dch: Ignore
* buildpackage: pass the proper tarball dir for overlaysGuido Günther2017-08-08
| | | | We want to look for tarballs in tarball dir not the output dir
* buildpackage: don't prepare any tarballs in overlay modeGuido Günther2017-08-08
| | | | They're not in git so we fail otherwise
* export_source: replace orig_file with source.upstream_tarball_nameMaximiliano Curia2017-08-08
| | | | orig_file was dropped in 8edd16022d75967a8fe54ef99a0733400a287bc2
* buildpackage: drop the long deprecated --dont-purge optionGuido Günther2017-08-04
| | | | Use --no-purge instead
* prepare_upstream_tarballs: use plural formGuido Günther2017-08-03
| | | | since we might create additional tarballs
* builpackage: Move tarball creation functions to export_origGuido Günther2017-08-03
|
* Test that we don't fail tagging when on pq branchGuido Günther2017-05-23
| | | | Closes: #863167
* buildpackage: add sloppy mode to build upstream tarballsGuido Günther2017-04-25
| | | | | | | | | | When starting with Debian _and_ git people often stumble over a mismatch between what dpkg-source expects to be in the tarball and the generated tarball for various reasons. Give them a way to say: "Use what I have on my current debian branch" as upstream source. Closes: #861004
* Fix typoGuido Günther2017-04-25
| | | | Gbp-Dch: Ignore
* buildpackage: make --git-export=WC simpler to useGuido Günther2017-04-20
| | | | | | | by implying --git-ignore-new --git-ignore-branch. There's no point in these safety checks when we export the working copy as is. Closes: #822823
* Improve error message for non-native packages with broken version numbersGuido Günther2017-02-14
| | | | Closes: #824634
* Use the source package instead of the chagenlog for tarball namesGuido Günther2017-02-13
| | | | | | to improve readability. Git-Dch: Ignore
* Pass source pkg around instead of changelogGuido Günther2017-02-13
| | | | | | | This gives us more control since we have the full source package information and increases readability. Git-Dch: Ignore
* Use vfs upfrontGuido Günther2017-02-12
| | | | Git-Dch: Ignore
* On a patch-queue branch tag the corresponding debian branch instead.Guido Günther2017-02-06
| | | | | | | | | | Eases building and tagging of source format 3.0 (quilt) packages since one can build from a (throw away) patch-queue branch that has the quilt patches applied (i.e. patch-queue/master) while the tag is created at the branch point where the patch-queue branch diverged from master. (usually the tip). Closes: #583938
* Make epydoc happyGuido Günther2017-02-01
| | | | | (although this docstring is sphinx style but we need to switch for python3 anyway)
* Extract a function to clean the working tree.Ben Finney2017-01-29
|
* buildpackage: fix exporting of working copy when .git is not a directoryMarkus Lehtonen2017-01-20
| | | | | | as is the case with git submodules lately, for example Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
* buildpackage: verify generated tarballsGuido Günther2017-01-20
| | | | when using pristine-tar
* 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
* Quote arguments passed to builderGuido Günther2017-01-11
| | | | | Closes: #850869 Thanks: Simon McVittie
* 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.
* Use compact forms of logging functionsGuido Günther2016-12-26
|