| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
| |
Also add a --keep-playground option to control this.
I haven't done this for git-debrebase, since its playgrounds are going
to be much smaller. dgit's can contain orig tarballs etc.
Closes: #1056103
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This generates a warning
"my" variable $date masks earlier declaration in same scope at /home/ian/things/Dgit/dgit/dgit line 2190.
Possibly we should disable this warning, but it might be saving us
from other kinds of bugs. (In Rust where I have gained this rebinding
habit, the type system will generally spot mistakes.)
Closes: #1055528
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Fall back to using data from top changelog entry.
Closes: #1054630
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
| |
Move the dicey parts into their own function.
If there are no origs, or import_r1authline didn't obtain the top
changelog entry, just call parsechangelog.
No overall functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
This is more stable: generated commits don't any more depend on the
prevailing timezone at the time of the conversion.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Code motion.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
| |
Distinguish situations where it's going to fail (until #908747 is
fixed), from ones where we are probably working with a defective tree
produced by importing a defective .dsc produced from a non-dgit
upload.
Closes: #1050709
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
These options can accumulate.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Use wantarray to distinguish the cases.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
| |
But this is still not sufficient, because some dpkg-source options
accumulate, so we mustn't just assign them.
No change with existing code since right now we only test for
single-debian-patch.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
| |
Bail out if the changelog version we are uploading is not strictly
newer than the .dsc version in the archive.
Closes: #1050711
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
Allow (but ignore) the --force option we're going to use.
Apply it to two tests which play a bit fast and loose,
(ie, which omit calls to dch to update the changelog version.)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The suite-map and suite-rmap for debian-security are necessary for the
pre-bullseye layout of the security.debian.org archive.
Since bullseye (i.e. after buster), the archive layout has changed,
and these mappings are no longer necessary (indeed, they cause dgit
clone to fail to work with bullseye and later security suites).
Buster is the oldest suite still available on security.debian.org, so
this is the only suite we still need the mapping for.
Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
|
|
|
|
|
|
|
|
| |
Now that bookworm is released, this is now supported even by
old-old-stable.
Closes: #904969
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
| |
Closes: #1030093
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
We don't want to inherit some prior output.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
This commit should be published in a dgit release after the
corresponding server side code is deployed.
Closes: #944855
Closes: #1027186
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
This will allow the tests to bypass the local checks when they want
to.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Make this apply to every call to deliberately(). (Now it is wrong to
not use deliberately().)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
This now produces the same answers as push would.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
The messages now come out the same.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
|
|
| |
According to the poldb schema, gitobjtype is optional, so make it
optional in the protocol too.
Reintroduce time, as we're about to need it for calling the common
message construction.
Clarify what optionality means and implement it properly.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
This can save on a git-cat-file.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
We're going to want to print a hint. (In this case, the message that
would be printed to stderr if we rejected the actual push.)
Add it to the spec, and to the client code.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
And change the data structure to support this.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
| |
Add the config for controlling policy-client-query calls. For now we
default to "unknown" everywhere.
If supported, check if tainted objects are reachable from $dgithead,
and report them.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
|
| |
"auto" makes it sound like this automatically selects the right quilt
mode, which is far from true.
Don't even document "auto" any more, but accept it for compatibility.
Closes: #935762
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
| |
Closes: #993769
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
| |
Closes: #1026918
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
| |
Hoist the !@bpath check so we can add another statement here with
different behaviour.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Preparation for rpush-built, rpush-source.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
| |
Closes: #974012
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
|
|
|
| |
The main program does little between these: recording and checking the
cwd, mainly, and slurping the config. But this comman doesn't depend
on the config and doing it earlier will simplify things when we have
rpush-source too.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
| |
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|
|
|
|
|
|
| |
Make this function a bit easier to read.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
|