[arch-projects] [namcap] [PATCH] Add py_mtime rule
keenerd at gmail.com
Wed Aug 27 13:14:28 EDT 2014
This is a patch inspired by
It checks packages with py/pyc/pyo files for time conflicts. When a
py file is newer than a pyc/pyo python locks up a little while
figuring out what to do.
Sometime it is our fault for copying files in the wrong order or doing
a sed after the pyc was generated. Sometimes it is upstream's fault;
many setup.py scripts copy them in the wrong order.
The test checks both the tar file and the mtree logs. If there is a
time error in the tar file, it will affect every installation. If the
error only appears in the mtree file, then the package will be fine
but there is a chance that you won't get as lucky the next time the
package is built. The tar case generates an error and the mtree case
generates a warning.
My apologies for including the patch as an attachment. I tried to
send this with 'git send-email' but every time Mailmain said "Message
rejected by filter rule match"
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6789 bytes
Desc: not available
More information about the arch-projects