]> git.decadent.org.uk Git - dak.git/commitdiff
Merge branch 'master' of /srv/ftp.debian.org/git/dak
authorPhilipp Kern <pkern@debian.org>
Sat, 13 Sep 2008 14:40:02 +0000 (14:40 +0000)
committerPhilipp Kern <pkern@debian.org>
Sat, 13 Sep 2008 14:40:02 +0000 (14:40 +0000)
Conflicts:

ChangeLog

ChangeLog
dak/new_security_install.py
daklib/queue.py

index cc0c83022f05d9f853f307903aa0f1380f6a0f41..7d3a7ddf26f8f08debe599f510315d9446ac6bdc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2008-09-13  Philipp Kern  <pkern@debian.org>
+
+       * dak/queue.py (dump_vars): make .dak u,g=rw,o=r; James'
+       assumption (as stated in 2002-05-18's ChangeLog entry)
+       was that people will use the information therein albeit
+       it is "just" a duplication of information present in
+       other control files; people should still not use it
+       as source of information but access to those files makes
+       dak debugging easier and there is no leak of sensitive
+       information involved
+
+2008-09-12  Philipp Kern  <pkern@debian.org>
+
+       * dak/new_security_install.py (actually_upload): remove
+       oldstable-security/amd64 check; Etch, as the next oldstable,
+       already had proper amd64 support
+
 2008-09-12  Joerg Jaspert  <joerg@debian.org>
 
        * scripts/debian/update-pseudopackages.sh: s/i/file/
index 4cfd2133a92676d948af481d462597c26535d036..a6469e27f4dfdd8f90fb1c245851867259ef4e1e 100755 (executable)
@@ -235,10 +235,6 @@ def actually_upload(changes_files):
         files = Upload.pkg.files
         changes = Upload.pkg.changes
         dsc = Upload.pkg.dsc
-        # We have the changes, now return if its amd64, to not upload them to ftp-master
-        if changes["distribution"].has_key("oldstable-security") and changes["architecture"].has_key("amd64"):
-            print "Not uploading amd64 oldstable-security changes to ftp-master\n"
-            continue
         # Build the file list for this .changes file
         for file in files.keys():
             poolname = os.path.join(Cnf["Dir::Root"], Cnf["Dir::PoolRoot"],
index 40960b9040e297cd2c10953e5015389ba297caa4..2c3602a2b4741ba4690af16b3315e181df762ae7 100755 (executable)
@@ -217,14 +217,9 @@ class Upload:
         dump_filename = os.path.join(dest_dir,self.pkg.changes_file[:-8] + ".dak")
         dump_file = utils.open_file(dump_filename, 'w')
         try:
-            os.chmod(dump_filename, 0660)
+            os.chmod(dump_filename, 0664)
         except OSError, e:
-            if errno.errorcode[e.errno] == 'EPERM':
-                perms = stat.S_IMODE(os.stat(dump_filename)[stat.ST_MODE])
-                if perms & stat.S_IROTH:
-                    utils.fubar("%s is world readable and chmod failed." % (dump_filename))
-            else:
-                raise
+            raise
 
         p = cPickle.Pickler(dump_file, 1)
         d_changes = {}