summaryrefslogtreecommitdiff
path: root/dgit
Commit message (Collapse)AuthorAge
* dgit: Internal change: Support forcing split source buildsIan Jackson2016-07-16
| | | | | | | | | | | | | | | | | | | | | | | | We are going to start handling weirder kinds of git tree, which will require a kind of `split brain': the dgit-using maintainer's view will be a git tree which is not a dgit git tree. dgit will convert them during push. For this to work we will have to have dgit always (in these cases) generate the source package itself (with a separate invocation of dpkg-source). This will involve some dis- and re-entangling of the way we generate arguments to dpkg-buildpackage. We can profitably split this up into this pre-patch, which has no overall functional change for normal users. We do here provide a new --always-split-source-build option which allows the new approach to be explicitly requested. This allows us to use the test suite to not only test that we didn't break any of the existing building strategies, but also that the new strategies all do what we expect. But this option is not really semantically useful for users so we do not document it.
* quilt fixup: When using git-reset, pass -qIan Jackson2016-07-01
|
* dgit sbuild no longer deletes extranious .changes files; instead we rely on ↵Ian Jackson2016-07-01
| | | | --rm-old-changes, or failing that, fail early.
* No longer tolerate a multitude of .changes files when doing push.Ian Jackson2016-07-01
| | | | | | | | | | | | | Instead, insist on a single one. This eliminates a potential for a variety of surprises, where dgit would upload something different to the user expected. We no longer need to behave this way because nowadays the sbuild build (which was the real use case, because it would generate a .source and a .ARCH changes as well as the final .multi) renames the intermediate changes files. Also --rm-old-changes helps.
* Remove any pre-existing _source.changes file before building source, as a ↵Ian Jackson2016-07-01
| | | | safety check.
* Introduce --rm-old-changes to delete previous builds' changes files.Ian Jackson2016-07-01
|
* Break out changespat (no functional change)Ian Jackson2016-07-01
|
* When running dpkg-buildpackage, cope if user specified -g or -G.Ian Jackson2016-07-01
|
* sbuild: Check that the binary .changes file doesn't contain a .dsc.Ian Jackson2016-07-01
|
* sbuild: Rename the used-up .changes files to `.inmulti'Ian Jackson2016-07-01
| | | | This avoids accidental use of the wrong one (by software, or by users).
* sbuild:: check that we have the right number of .changes filesIan Jackson2016-07-01
| | | | | Check that the set of .changes files found is as we expect, before calling mergechanges.
* build_source: Fix bad Perl poetry styleIan Jackson2016-07-01
| | | | | Pass --ch:* and -v options to dpkg-buildpackage when building source. Fixes bad Perl poetry syntax. Closes:#829121.
* Properly substitute $changesfile in one of the `You can retry' messages. ↵Ian Jackson2016-07-01
| | | | Closes:#800078.
* Print better error message (with `fail' rather than `die') if `dgit clone' ↵Ian Jackson2016-07-01
| | | | cannot create the destination directory.
* Do not call "warn" on failure of cleanup handler in END block (since warn ↵Ian Jackson2016-07-01
| | | | has been made fatal and aborts the cleanup chain).
* When cleaning up after failed clone, stat the to-be-cleaned-up directory ↵Ian Jackson2016-07-01
| | | | before running rmtree on it. Closes:#796773.
* sbuild; Do not pass -AIan Jackson2016-07-01
| | | | | | | | | | Incompatible change: * dgit sbuild does not pass -A to sbuild. Consequently the default build is now simply sbuild's default. With older sbuilds it was possible to override dgit's -A by passing another option. But this has been changed recently and now this default setting is very awkward to change for the dgit user.
* quilt-fixup checks that the git tree is clean, as for build-prep.Ian Jackson2015-08-22
|
* forbidden files: check them properlyIan Jackson2015-08-22
|
* With dgit sbuild, pass our -d before the user's arguments, so that the user ↵Ian Jackson2015-08-21
| | | | can override it. Closes:#796019.
* quilt fixup: A few more progress messagesIan Jackson2015-08-21
|
* Reject debian/source/local-patch-headerIan Jackson2015-08-21
|
* quilt fixup: quilt_fixup_linkorigs more debugging outputIan Jackson2015-08-21
|
* Cope properly with `3.0 (quilt)' with single-debian-patch. Closes:#796016.Ian Jackson2015-08-21
|
* quilt fixup: Break out quilt_fixup_delete_pc (nfc)Ian Jackson2015-08-21
|
* quilt fixup: Break out quilt_fixup_linkorigs (nfc)Ian Jackson2015-08-21
|
* quilt fixup: Break out quilt_fixup_mkwork (nfc)Ian Jackson2015-08-21
|
* quilt fixup: break out quilt_fixup_multipatch ready for quilt_fixup_singlepatchIan Jackson2015-08-21
| | | | Functional change: bomb out with die if single-debian-patch, rather than going wrong
* In --dry-run mode, _do_ actually run dpkg-source --commit so that we ↵Ian Jackson2015-08-21
| | | | actually do construct the quilt fixup commit; instead, honour --dry-run by avoiding pulling it back to your HEAD.
* get_source_format returns the debian/source/options, too (nfc since no users ↵Ian Jackson2015-08-21
| | | | yet)
* Copy debian/source/options into fake dscIan Jackson2015-08-20
|
* Refactor coping with maybe-existing files in fake dscIan Jackson2015-08-20
|
* Detect and reject git trees containing debian/source/local-options.Ian Jackson2015-08-19
|
* When quilt linearisation fails, print the right information in the error ↵Ian Jackson2015-08-18
| | | | message. (This has been broken forever.)
* When running git-add in commit-quilty-patch, use -f and sometimes -A, so as ↵Ian Jackson2015-08-18
| | | | to avoid being broken by any .gitignore, etc.
* When running git-add in commit-quilty-patch, properly escape filenames ↵Ian Jackson2015-08-18
| | | | (which git-add treats as glob patterns).
* Unbreak --dry-run (`exiting subroutine via next', broken in ac221d67, bug ↵Ian Jackson2015-08-18
| | | | released in 0.22).
* Properly quote package name when constructing regexp in ↵Ian Jackson2015-08-16
| | | | complete_file_from_dsc. Closes:#795736. Also, grep the code for likely similar problems elsewhere and improve a (harmless) instance in dgit-repos-server.
* If a .orig in .. is a symlink, hardlink the link target into our private ↵Ian Jackson2015-08-16
| | | | unpack directory, rather than the link itself (since latter won't work if the symlink is relative).
* In option parser test `@ARGV' not `length @ARGV'. Closes:#795710.Ian Jackson2015-08-16
|
* Finish dealing with uncuddled optionsIan Jackson2015-08-14
|
* Convert to defvalopt: -kIan Jackson2015-08-14
|
* Convert to defvalopt: -CIan Jackson2015-08-14
|
* Convert to defvalopt: -cIan Jackson2015-08-14
|
* Convert to defvalopt: --quilt=Ian Jackson2015-08-14
|
* Convert to defvalopt: --cleanIan Jackson2015-08-14
|
* Convert to defvalopt: --build-products-dirIan Jackson2015-08-14
|
* Convert to defvalopt: --initiator-tempdirIan Jackson2015-08-14
|
* Reformat defvalopt calls table (nfc)Ian Jackson2015-08-14
|
* Use defvalopt scalar ref (no overall functional change)Ian Jackson2015-08-14
|