[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.1-61-gbf9196b



The following commit has been merged in the master branch:
commit bf9196b97d13963815e6e952b8195d6fd66a25e1
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 9 16:54:27 2011 +0200

    Removed cross package symlinks from the lab
    
    Existing symlinks in unpacked packages will not be removed from
    Labs.

diff --git a/collection/fields b/collection/fields
index 0155792..cc0be99 100755
--- a/collection/fields
+++ b/collection/fields
@@ -70,30 +70,4 @@ for my $field (keys %$data) {
     close(F) or fail("Could not write $field_file: $!");
 }
 
-if ($type eq 'source'){
-    # FIXME - the LAB really ought to handle this as it involves
-    # cross-pkg LAB layout.
-
-    # Create symbolic links to binary packages
-    mkdir('binary', 0777) or fail("mkdir binary: $!");
-    for my $bin (split(m/,\s+/o,$data->{'binary'})) {
-        next if ($bin =~ m,/,o);
-        symlink("../../../binary/$bin", "binary/$bin")
-            or fail("cannot symlink binary package $bin: $!");
-    }
-}
-
-if($type eq 'binary' or $type eq 'udeb'){
-    # FIXME - the LAB really ought to handle this as it involves
-    # cross-pkg LAB layout.
-
-    # create symlink to source package
-    $data->{'source'} =~ s/\s*\(.*\)\s*$//;
-    # but only create it if it doesn't traverse directories
-    if ($data->{'source'} !~ m,/,) {
-        symlink("../../source/$data->{'source'}","source")
-            or fail("symlink: $!");
-    }
-}
-
 exit 0;
diff --git a/debian/changelog b/debian/changelog
index 95e2f32..96a17b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -96,6 +96,10 @@ lintian (2.5.2) UNRELEASED; urgency=low
     + [NT] Symlink checking extended to relative paths as well.
       (Closes: #217023)
 
+  * collections/fields:
+    + [NT] Removed creation of cross package symlinks.  They have
+      been replaced by the group information that checks are
+      passed.
   * collection/file-info:
     + [NT] Double check the output of file(1) when it says a ".gz"
       file is not gzip compressed.  This should reduce the number

-- 
Debian package checker


Reply to: