flatpak-builder/builder
Alexander Larsson 006d9a1927 Correctly handle .pyc mtimes for .py files changing multiple times
If a .py file changes multiple times we can end up in a situation
where there is an .py file with corresponding .pyc file that we
rewrote, so both are now mtime==1. Then a new version of the .py file
is added, but the corresponding .pyc file is not updated. This means
that the .pyc file is stale, and python would not normally use it.
However, we will later change the mtime on the .py file to 1, causing
the old .pyo file to look up-to-date even though its stale.

We fix this by detecting the case where the is a new mtime on a .py file
where the .pyc file doesn't match, and remove the stale .pyc file.
2016-08-10 16:24:11 +02:00
..
Makefile.am.inc Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
builder-cache.c builder: Fix a few memory leaks 2016-07-28 16:03:42 -04:00
builder-cache.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-context.c builder: Fix a few memory leaks 2016-07-28 16:03:42 -04:00
builder-context.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-main.c Fix license headers 2016-07-29 14:27:49 -04:00
builder-manifest.c Add locations to some error messages 2016-07-29 14:16:31 -04:00
builder-manifest.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-module.c Correctly handle .pyc mtimes for .py files changing multiple times 2016-08-10 16:24:11 +02:00
builder-module.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-options.c builder: Fix a few memory leaks 2016-07-28 16:03:42 -04:00
builder-options.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-archive.c Add RPM archive support 2016-07-15 11:13:28 +02:00
builder-source-archive.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-bzr.c Rename source files to flatpak 2016-05-09 09:00:20 +02:00
builder-source-bzr.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-file.c Rename source files to flatpak 2016-05-09 09:00:20 +02:00
builder-source-file.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-git.c builder: Allow git sources to be specified as paths 2016-07-29 16:01:30 -04:00
builder-source-git.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-patch.c builder: Add "use-git" option for patch source type 2016-06-28 14:24:16 +02:00
builder-source-patch.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-script.c uncruftify: Initial run, all non-problematic changes 2016-05-06 16:03:27 +02:00
builder-source-script.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source-shell.c Rename everything but the on-disk location to flatpak 2016-05-09 11:11:55 +02:00
builder-source-shell.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-source.c uncruftify: Initial run, all non-problematic changes 2016-05-06 16:03:27 +02:00
builder-source.h Fix license headers 2016-07-29 14:27:49 -04:00
builder-utils.c builder: Strip "." from locale names too 2016-06-30 11:47:45 +02:00
builder-utils.h Fix license headers 2016-07-29 14:27:49 -04:00