From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-sysadm/2011-January/001895.html | 104 +++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 zarb-ml/mageia-sysadm/2011-January/001895.html (limited to 'zarb-ml/mageia-sysadm/2011-January/001895.html') diff --git a/zarb-ml/mageia-sysadm/2011-January/001895.html b/zarb-ml/mageia-sysadm/2011-January/001895.html new file mode 100644 index 000000000..206367528 --- /dev/null +++ b/zarb-ml/mageia-sysadm/2011-January/001895.html @@ -0,0 +1,104 @@ + + + + [Mageia-sysadm] [263] PNG is a binary file + + + + + + + + + +

[Mageia-sysadm] [263] PNG is a binary file

+ Michael Scherer + misc at zarb.org +
+ Mon Jan 10 19:42:28 CET 2011 +

+
+ +
Le lundi 10 janvier 2011 à 20:22 +0200, Thomas Backlund a écrit :
+> Maarten Vanraes skrev 10.1.2011 20:16:
+> > Op maandag 10 januari 2011 13:41:12 schreef root at mageia.org:
+> >> Revision: 263
+> >> Author:   pterjan
+> >> Date:     2011-01-10 13:41:12 +0100 (Mon, 10 Jan 2011)
+> >> Log Message:
+> >> -----------
+> >> PNG is a binary file
+> >>
+> >> Modified Paths:
+> >> --------------
+> >>      build_system/mgarepo/trunk/RepSys/binrepo.py
+> >>
+> >> Modified: build_system/mgarepo/trunk/RepSys/binrepo.py
+> >> ===================================================================
+> >> --- build_system/mgarepo/trunk/RepSys/binrepo.py	2011-01-10 12:12:58 UTC
+> >> (rev 262) +++ build_system/mgarepo/trunk/RepSys/binrepo.py	2011-01-10
+> >> 12:41:12 UTC (rev 263) @@ -106,7 +106,7 @@
+> >>   def is_binary(path):
+> >>       raw = config.get("binrepo", "upload-match",
+> >>               "\.(7z|Z|bin|bz2|cpio|db|deb|egg|gem|gz|jar|jisp|lzma|"\
+> >> -               "pdf|pgn\\.gz|pk3|rpm|rpm|run|sdz|smzip|tar|tbz|"\
+> >> +               "pdf|pgn\\.gz|pk3|png|rpm|run|sdz|smzip|tar|tbz|"\
+> >>                  "tbz2|tgz|ttf|uqm|wad|war|xar|xpi|xz|zip|wav|mp3|ogg|"\
+> >>   	       "jpg|png|gif|avi|mpg|mpeg|rar)$")
+> >>       maxsize = config.getint("binrepo", "upload-match-size", "1048576") #
+> >> 1MiB
+> >
+> >
+> > why is png here twice? (once next to jpg and once next to rpm)
+> 
+> mistake.
+> 
+> that list sohuld be kept sorted.
+
+
+Or use python-magic to get the mime-types and ban everything that do not
+match text/*
+
+-- 
+Michael Scherer
+
+
+ + + + + + + + +
+

+ +
+More information about the Mageia-sysadm +mailing list
+ -- cgit v1.2.1