summaryrefslogtreecommitdiff
path: root/infra
Commit message (Collapse)AuthorAge
* git- prefixes: Fix dgit-repos-policy-debianIan Jackson2016-10-16
| | | | | | | | Use `git for-each-ref' instead of `git-for-each-ref'. Broken in 8a178bf100d4 "Tag change: Update dgit-repos-policy-debian". Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Infra: Introduce Debian::Dgit::InfraIan Jackson2016-10-15
| | | | | | | This is used by all the Perl in dgit-infrastructure.deb. So far it does nothing, so no functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Copyright: Add notices to some more of the (larger) filesIan Jackson2016-10-11
| | | | Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Split brain: dgit-repos-server: Permit pushing maintainer tag tooIan Jackson2016-09-25
| | | | | | | | | Split brain is going to need the maintainer tag on the dgit server. Allow clients to push the _both_ the DEP-14 and new dgit archive/ tag. In this case dgit-repos-server can largely ignore the DEP-14 tag. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Tag change: Update dgit-repos-policy-debianIan Jackson2016-07-31
| | | | | | | | The only place where we call debiantag, and the only place where we know about tag names, is in vsn_in_our_history. We need to change it to query multiple tags. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Tag change: Update dgit-repos-serverIan Jackson2016-07-31
| | | | | | | | | | Change the calls to debiantag_old to changes to debiantags, and the regexp to tolerate either tag name. We need an additional check that we are not receiving the tag named by debiantag_new when debiantag_old already exists. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Tag change: Declare intent in docs etc.Ian Jackson2016-07-31
| | | | | | | Provide debiantag_new as well as debiantag_old. Change the docs and an important comment. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* Tag change: Rename debiantag to debiantag_oldIan Jackson2016-07-31
| | | | | | | | | | | | | | | | | We are going to change the tag name of the main signed tag used by dgit to signal the user's intent to the archive server. Prepare for this by changing debiantag to debiantag_old and changing all call sites outside dgit itself. dgit will want to be able to generate either, depending on whether it's cooperating in an rpush with a new or old dgit so reintroduce a wrapper called debiantag there. This will also allow us to have dgit generate old tags for testing. No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit-repos-policy-debian.: fix git-cat-file-handling with multiple taints in ↵Ian Jackson2016-07-16
| | | | db (!).
* dgit-repos-policy-debian: Better error handlingIan Jackson2016-07-16
| | | | Show more info when git-cat-file --batch goes wrong
* dgit-repos-policy-debian: better error message when git-cat-file produces ↵Ian Jackson2016-07-01
| | | | unexpected output
* Infrastructure: Improve an error message in dgit-repos-policy-debian.Ian Jackson2015-08-16
|
* 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.
* Make warnings fatal in dpkg-repos-admin-debian, dgit-ssh-dispatch (using ↵Ian Jackson2015-07-25
| | | | setup_sigwarn).
* Work around #793471 (madness with $SIG{__WARN__} and Perl's system builtin): ↵Ian Jackson2015-07-25
| | | | | | | move $SIG{} setting into setup_sigwarn in Dgit.pm, and check getppid. We also need to fix up the expectation for an error message in one of the tests, where the message changes as a side effect.
* Infrastructure: Get mirroring right for fresh repos of existing packages (!)Ian Jackson2015-07-21
|
* dgit-repos-policy-debian: Break out vsn_in_our_history (nfc)Ian Jackson2015-07-21
|
* Improve an error message from dgit-repos-policy-debian.Ian Jackson2015-07-19
|
* Make dgit-ssh-dispatch not spew (harmless) warnings if caller tries for a ↵Ian Jackson2015-07-18
| | | | shell session (ie SSH_ORIGINAL_COMMAND not set).
* Provide cgit-regen-config command for cgi-grnet-01.Ian Jackson2015-07-18
|
* Mirroring: Remove pointless empty .log filesIan Jackson2015-07-11
|
* Mirroring: Honour DGIT_DRS_DEBUG=0Ian Jackson2015-07-11
|
* Mirroring: In backlog processing, tolerate errorsIan Jackson2015-07-11
|
* Mirroring: Avoid breaking out of loop due to execIan Jackson2015-07-11
|
* Mirroring: Sort out stderr plumbingIan Jackson2015-07-11
|
* Mirroring: Tolerate missing .a file when tidying mirrorIan Jackson2015-07-11
|
* Mirroring: dgit-mirror-rsync copes with invocation via relative pathnameIan Jackson2015-07-11
|
* Mirroring: Check number of arguments to dgit-mirror-rsyncIan Jackson2015-07-11
|
* Mirroring: Provide rsync-based mirror hook scriptIan Jackson2015-07-11
|
* Mirroring: Run mirror hook script, if one is providedIan Jackson2015-07-11
|
* Error messages: Add some newlines to make the real error clearer in a lot of ↵Ian Jackson2015-07-05
| | | | noise
* When receiving a push with dgit-repos-server, update the server's ↵Ian Jackson2015-07-04
| | | | refs/heads/master if we are pushing to what the distro regards as a relevant branch, and the push would ff master. Closes:#728209.
* For non-Debian distros, debiantag() uses distro name a la DEP-14.Ian Jackson2015-07-04
|
* Fix an undef reference in error message processing when quilt fixup ↵Ian Jackson2015-06-29
| | | | linearisation fails.
* Infra: Add get-suitesIan Jackson2015-06-28
|
* Infra: get-dm-txt: set umaskIan Jackson2015-06-28
|
* Infra: dgit-repos-server: unlock _templateIan Jackson2015-06-28
|
* Infra: Add drs-cron-wrapIan Jackson2015-06-28
|
* Infra: get-dm-txt: Report if git-config failsIan Jackson2015-06-28
|
* Infra: ssh-wrap: set umaskIan Jackson2015-06-28
|
* Infra: Honour archive-query-tls-curl-ca-argsIan Jackson2015-06-28
|
* Infra: get-dm-txt: Use curlIan Jackson2015-06-28
|
* Infra: get-dm-txt: Honour DGIT_INFRA_GETDMTXT_DATADIR for testingIan Jackson2015-06-28
|
* Infra: get-dm-txt: Break out $certargsIan Jackson2015-06-27
|
* Infra: ssh-wrap: Use master dgit-live for dispatchIan Jackson2015-06-26
|
* Infra: ssh-wrap: export PERLLIBIan Jackson2015-06-26
|
* Infra: Improve db retry handlingIan Jackson2015-06-23
| | | | | | | | | | Use theh new poldb_setup hook to (a) set up HandleError and (b) run the DGIT_RPD_TEST_DBLOOP_HOOK. This is needed because the PRAGMA in poldb_setup can cause a SQLITE_BUSY error in newer sqlite3, and we want both the HandleError setup and the hook (which sets a timeout, amongst other things) to occur before sqlite3 tries to take its lock.
* Test suite: Rename dgit-repos-policy-debian DB retry hook env var (nfc)Ian Jackson2015-06-22
|
* Infra: Support not running out of working treeIan Jackson2015-06-20
|
* Infra: ssh-wrap: set PERLLIB and get name of script rightIan Jackson2015-06-20
|