summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Push replay prevention protocol: Rename "supersedes" to "previously", as not ↵Ian Jackson2015-05-31
| | | | necessarily actually superseded
* Test suite: add some replay prevention testsIan Jackson2015-05-31
|
* Infra: Document dgit-repos-policy-trusting a bitIan Jackson2015-05-31
|
* Infra: Add dgit-repos-policy-trustingIan Jackson2015-05-31
| | | | | | | | Also add the --deliberately-fresh-repo deliberately, both to the manpage and to dgit's idea of non-fast-forward-ness. Rename the dgit test only deliberatelies to start with TEST-dgit-only- rather than having the -dgit-only at the end.
* Test suite: move t-commit and break out t-policy (nfc)Ian Jackson2015-05-31
|
* 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
|
* Test suite: Provide t-rm-dput-droppingIan Jackson2015-05-31
| | | | | This is needed if tests reuse versions, which we are perhaps going to have to do to test out the replay prevention.
* Test suite: finalise replay preventionIan Jackson2015-05-31
|
* infra: Finish replay preventionIan Jackson2015-05-31
|
* Dgit.pm: git_for_each_ref: Provide optional $git_dir argumentIan Jackson2015-05-31
|
* Infra: New approach to reply prevention hhen NOFFCHECK, involving removed ↵Ian Jackson2015-05-31
| | | | tags file
* dgit: Declare a "supersedes" in the signed tag for all previous refs/heads ↵Ian Jackson2015-05-31
| | | | and refs/tags in the repo, when deliberately_not_fast_forward
* dgit: Break out deliberately_not_fast_forward (nfc)Ian Jackson2015-05-31
|
* dgit-repos-policy-debian: better debugging for tainted object checkingIan Jackson2015-05-31
|
* New approach to replay prevention - WIPIan Jackson2015-05-31
|
* New approach to replay prevention - WIPIan Jackson2015-05-31
|
* Test suite: Abstract t-tstunt-parsechangelogIan Jackson2015-05-31
|
* Test suite: Use stunt Dpkg::Changelog::ParseIan Jackson2015-05-31
| | | | | | This saves a further 13s. Overalll the stunt changelog machinery saves 28s out of 100s (in my example case, the current debpolicy-newreject).
* Test suite: Allow for t-stunt to override Perl modulesIan Jackson2015-05-31
|
* Test suite: Use stunt dpkg-parsechangelogIan Jackson2015-05-31
| | | | | | | | | | This program takes 16ms instead of ~700ms on my computer. This saves 15s out of 100s for the debpolicy-newreject test (in its current state). Currently this is only used by various things in devscripts because dpkg-source uses /usr/lib/dpkg/parsechangelog/debian directly via a Perl module Dpkg::Changelog::Parse.
* Test suite: Provide new t-stunt facilityIan Jackson2015-05-31
|
* policy: Improve taint message recorded in db by --deliberately-not-fast-forwardIan Jackson2015-05-31
|
* git_get_ref: Move to Dgit.pm and reimplementIan Jackson2015-05-31
| | | | | | | | | | | | | Use git for-each-ref --format=%(objectname) [r]efs/whatever This pattern won't match literally as a prefix because a ref name cannot contain [, so it must match according to fnmatch. whatever cannot contain fnmatch metacharacters because they're not valid in ref names. This is a better idiom because it might directly look up the ref in question (although currently it probably doesn't).
* Dgit.pm: git_for_each_ref: do not insist that first component after refs/ ↵Ian Jackson2015-05-31
| | | | matches \w+
* 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
|
* Move is_fast_fwd into Dgit.pmIan Jackson2015-05-31
|
* Move git_rev_parse into Dgit.pm (renaming it from rev_parseIan Jackson2015-05-31
|
* Move various useful functions into Dgit.pm. Necessitates some slightly ↵Ian Jackson2015-05-31
| | | | fancy footwork with $::us
* Dgit.pm: Move debugging earlier in file (pure code motion)Ian Jackson2015-05-31
|
* Tests: debpolicy-newreject: Attempt push while still in newIan Jackson2015-05-31
|
* Tests: Introduce t-set-using-tmp and use it in lib and adhocIan Jackson2015-05-31
|
* dgit: Allow --deliberately-not-fast-forward to override dgit's fast forward ↵Ian Jackson2015-05-31
| | | | check
* Check for deliberatelies correctly (in-memory data structures have full name)Ian Jackson2015-05-31
|
* Dgit.pm: Fix next's in git_for_each_tag_referring which should be returnsIan Jackson2015-05-31
|
* Dgit.pm: Add debugging to git_for_each_...Ian Jackson2015-05-31
|
* Infra: Exit statuses: work around bizarre behaviour of perl die wrt $?, and ↵Ian Jackson2015-05-31
| | | | de-reserve policy hook status flag 0x80
* Dgit.pm: Introduce $deliberately_re and use it everywhereIan Jackson2015-05-31
|
* Dgit.pm: export git_for_each_tag_referringIan Jackson2015-05-31
|
* Tests: debpolicy-newreject: Make and use a tag at the startIan Jackson2015-05-31
|
* Tests: Debian policy: check incoming processing and subsequent cronIan Jackson2015-05-31
|
* Infra: in dgit-repos-policy-debian, fix history tagg lookupIan Jackson2015-05-31
|
* Infra: in dgit-repos-policy-debian, pass dgit api-query query specs with no ↵Ian Jackson2015-05-31
| | | | leading /
* Tests: debpolicy-newreject: Make each tree a new version (with dch and ↵Ian Jackson2015-05-31
| | | | debcommit)
* Tests: Make some t-archive* functions take a suiteIan Jackson2015-05-31
|
* Tests: debpolicy-newreject: Explicitly check the state of the repo after ↵Ian Jackson2015-05-31
| | | | each operation
* Tests: break out t-git-dir-time-passesIan Jackson2015-05-31
|