~ubuntu-branches/ubuntu/wily/dgit/wily-proposed

« back to all changes in this revision

Viewing changes to infra/dgit-repos-server

  • Committer: Package Import Robot
  • Author(s): Ian Jackson
  • Date: 2015-08-16 17:51:02 UTC
  • Revision ID: package-import@ubuntu.com-20150816175102-s825s5hmtl7etkjc
Tags: 1.3
Important bugfixes:
* In option parser test `@ARGV' not `length @ARGV'.  Closes:#795710.
* Properly quote package name when constructing regexp in
  complete_file_from_dsc.  Closes:#795736.  Also, grep the code for
  likely similar problems elsewhere and improve a (harmless) instance in
  dgit-repos-server.

Other improvements:
* If a .orig in .. is a symlink, hardlink the link target into our
  private unpack directory, rather than the link itself (since latter
  won't work if the symlink is relative).  Closes:#795665.
* Test suite: Fix t-restriction-x-dgit-schroot-build in non-adt mode.
* Infrastructure: Improve an error message in dgit-repos-policy-debian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
624
624
    printdebug " dm_txt_check $keyid $dmtxtfn\n";
625
625
    open DT, '<', $dmtxtfn or die "$dmtxtfn $!";
626
626
    while (<DT>) {
627
 
        m/^fingerprint:\s+$keyid$/oi
 
627
        m/^fingerprint:\s+\Q$keyid\E$/oi
628
628
            ..0 or next;
629
629
        if (s/^allow:/ /i..0) {
630
630
        } else {