Terminology: Change "rewind" to "rewrite" where appropriate In #928473, Colin Watson writes: > the use of "rewind" as a synonym for "non-fast-forwarding", while > somewhat common in git terminology, is unfortunate. The terms seem > to be borrowed from video playback systems, where "rewind" is often > just the exact opposite of "fast-forward", and so when I see > "rewinding history" in a few places in dgit(1) my initial > interpretation is that it must mean "updating a ref to point to an > ancestor of the commit that it previously pointed to", whereas I > think dgit(1) means "any push that isn't a fast-forward". I don't > know if I'm the only one for whom it has that connotation. This makes sense. So, I am changing uses of "rewind" which do not mean precisely going back to an ancestor. I think we can often use the word "rewrite" for the more general case, but there are some places where another wording is better. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tag2upload: Use the non-readonly method for dgit fetch The principal effect in the Debian configuration is to access the master dgit git server via ssh, rather than the mirror via https. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Update copyright notices in many files Mostly, adding 2019. Also adding some missing credits to Sean Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tag2upload: baredebian: Pass dgit refs/tags/, not the commit hash This will enable git to report the upstream tag in its messages. The tag name is safe to pass here since dgit only uses its referent, unless it is nice enough to print. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tag2upload: Actually recognise and honour --quilt in tag Non-default quilt modes were completely broken before. We only didn't notice because the existing tests worked with the default. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: parsetag: Print a bit more debug about junk Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: Don't crash on --quilt=baredebian The die needs to be qualified. This little bit of fcode has never worked. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: Remove comment saying it's a prototype We have done everything to make it safe to use. Obviously it still needs some web service queue thing around it to invoke it. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Clarify key situation comments Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Check changelog info Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Better message from upstream mismatch Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Check the upstream tag syntax only once Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Verify the tag slightly earlier Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Improve a message Could be multiple distro=, in which case any matching is OK. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Drop an obsolete comment The usage comment says this script should be retried. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Improve a reject message Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: log when we fail and email Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Drop a debug $_ from quit message Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Use a bpd and clean up origs This prevents us keeping forever the junk from uploads, and it prevents us reusing it too. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit-repos-server: tag2upload: Cope with native packages Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>