summaryrefslogtreecommitdiff
path: root/infra/dgit-repos-server
Commit message (Collapse)AuthorAge
* dgit-repos-server: Do not reject commits with no author/committer emailIan Jackson2017-07-16
| | | | | | | | | But still insist on date, and hence on the actual committer and author commit header fields. Peter Green reports that eg 66c65d90db100435 in upstream linux.git is such a commit (and is accepted by github). Closes:#863353. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* infrastructure: Cope with new git-receive-pack which has quarantine featureIan Jackson2017-07-08
| | | | | | | | | Ie, work around #867702. See the bug there for discussion. (We are perhaps flying a little close to the wind with our wrapper script location, but it doesn't seem likely to break, to me.) Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* infra: dgit-repos-server: Break out mkscriptIan Jackson2017-07-08
| | | | | | No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* infrastructure: Do not reject commits with no author/committer nameIan Jackson2017-01-18
| | | | | | | | | | | But still insist on email address and date). Peter Green reports that eg 71e128629ec786f3 in upstream xen.git is such a commit (and is accepted by github). Closes:#851716. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* infrastructure: Properly honour NOCOMMITCHECK policy hook exit status.Ian Jackson2017-01-18
| | | | | | Closes:#851800. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
* dgit-repos-server: Defend against bad commits (from eg #849041).Ian Jackson2017-01-05
| | | | | | | Right now, this causes the test `debpolicy-quilt-gbp' to fail, because in this branch #849041 is unfixed. 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-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>
* 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.
* 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.
* 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
|
* Infra: dgit-repos-server: unlock _templateIan Jackson2015-06-28
|
* Infra: Support not running out of working treeIan Jackson2015-06-20
|
* Infra: dgit-repos-server; In NOFFCHECK but not FRESHREPO case, do not ↵Ian Jackson2015-05-31
| | | | request wrong ref name
* Push replay prevention protocol: Rename "supersedes" to "previously", as not ↵Ian Jackson2015-05-31
| | | | necessarily actually superseded
* Infra: Allow FRESHREPO to override "tag already exists"Ian Jackson2015-05-31
| | | | drs-push-rejects test needs updating too.
* Infra: dgit-repos-server: Fix some typos in debug messagesIan Jackson2015-05-31
|
* Infra: Make replay prevention file contain tags (by searching for right ref ↵Ian Jackson2015-05-31
| | | | names)
* Infra: document DELIBERATELIES parameter to policy hookIan Jackson2015-05-31
|
* infra: Finish replay preventionIan Jackson2015-05-31
|
* Infra: New approach to reply prevention hhen NOFFCHECK, involving removed ↵Ian Jackson2015-05-31
| | | | tags file
* New approach to replay prevention - WIPIan Jackson2015-05-31
|
* New approach to replay prevention - WIPIan Jackson2015-05-31
|
* Break out ensuredir and make mkrepotmp use itIan Jackson2015-05-31
|
* Dgit.pm: git_for_each_tag_referring provides referred-to object id tooIan Jackson2015-05-31
|
* Dgit.pm: Introduce $deliberately_re and use it everywhereIan Jackson2015-05-31
|
* Infra: in dgit-repos-server, produce less verbose message when policy hook ↵Ian Jackson2015-05-31
| | | | rejects
* dgit-repos-server: Remove obsolete duplicate settings of some ENVs for stunt ↵Ian Jackson2015-05-31
| | | | hook
* Infra: pass $distrodir to policy hook (as yet unused, intended for config)Ian Jackson2015-05-31
|
* dgit-repos-server: Debug when we movetogarbageIan Jackson2015-05-31
|
* dgit-repos-server: Small debugging output improvementIan Jackson2015-05-31
|
* dgit-repos-server: Use shellquote() where appropriate in diagnosticsIan Jackson2015-05-31
|
* Debugging: Use Dgit.pm's facilities in dgit-repos-serverIan Jackson2015-05-31
|
* Infra: add some more debuggingIan Jackson2015-05-31
|
* Implement cron mode for dgit-repos-server and corresponding code in ↵Ian Jackson2015-05-31
| | | | dgit-repos-policy-debian
* dgit-repos-server: Break out policy_checkpackage() (nfc)Ian Jackson2015-05-31
|
* Policy hook sets mode of NEW repos (and policy protocol passes new repo ↵Ian Jackson2015-05-31
| | | | pathname for this purpose)
* Policy hook protocol: pass dgit live directory (nfc)Ian Jackson2015-05-31
|
* Turn all perl warnings into errorsIan Jackson2015-05-31
|
* Abolish $realdestrepo variable and replace with function.Ian Jackson2015-05-31
| | | | Fixes a use-before-set of $realdestrepo
* dgit-repos-server: Check that no args follow --sshIan Jackson2015-05-31
|
* dgit-repos-server: Break out mode_ssh and generalise --ssh option (nfc)Ian Jackson2015-05-31
|
* dgit-repos-server etc.: Rework argument & distros-dir passing (no overall ↵Ian Jackson2015-05-31
| | | | functional change)