flatpak-builder/src
Alexander Larsson 15eb895e00 Update platform creation to ensure good mtimes and better cacheing
This splits the platform creation into 3 parts:
 * base - create the initial directory based on the parent platform
 * prepare - run prepare commands and apply all changes
 * cleanup - apply cleanups and cleanup commands

This has cacheing advantages in that prepare_commands and cleanup changes
only cause the minimal amount of rebuilds.

Additionally, it ensures that the mtimes are zeroed out (from the
previous checkout) both when the prepare and cleanup commands are run.
This is actually important, since these often generate caches (for
example fontconfig ones) which rely on zeroed mtimes so they match
what will be deployed.

Closes: #277
Approved by: alexlarsson
2019-04-04 08:48:18 +00:00
..
Makefile.am.inc Load SDK configuration file. 2018-05-07 15:26:15 +00:00
builder-cache.c Compress changes when stored in cache commit metadata 2019-01-25 14:54:54 +00:00
builder-cache.h Don't prune build stages from cache with --{export,finish}-only 2018-06-11 15:47:39 +02:00
builder-context.c manifest: Add default-branch key 2019-01-26 03:16:27 +00:00
builder-context.h manifest: Add default-branch key 2019-01-26 03:16:27 +00:00
builder-extension.c Support using app-extensions during the build 2018-04-23 07:06:07 +00:00
builder-extension.h Support using app-extensions during the build 2018-04-23 07:06:07 +00:00
builder-flatpak-utils.c Make libcurl return error on HTTP response >= 400 2018-05-28 08:05:51 +00:00
builder-flatpak-utils.h build: handle changes to soup autocleanups 2018-06-26 10:47:39 +00:00
builder-git.c Remove builder_git_checkout_dir 2019-02-05 14:58:27 +00:00
builder-git.h Remove builder_git_checkout_dir 2019-02-05 14:58:27 +00:00
builder-main.c Move flatpak_version_check to builder-utils.c 2019-03-05 07:13:34 +00:00
builder-manifest.c Update platform creation to ensure good mtimes and better cacheing 2019-04-04 08:48:18 +00:00
builder-manifest.h Add --add/remove-tag options 2019-02-04 10:02:33 +00:00
builder-module.c Update platform creation to ensure good mtimes and better cacheing 2019-04-04 08:48:18 +00:00
builder-module.h Update platform creation to ensure good mtimes and better cacheing 2019-04-04 08:48:18 +00:00
builder-options.c Allow overriding SOURCE_DATE_EPOCH via env option 2019-01-14 10:31:42 +00:00
builder-options.h Add 'libdir' as build option. 2018-05-07 15:26:15 +00:00
builder-post-process.c post-process: Handle python 3.7 header formats 2019-01-14 10:17:47 +00:00
builder-post-process.h Automatically compress debug info unless no-debuginfo-compression is set 2017-10-05 18:11:21 +00:00
builder-sdk-config.c Load SDK configuration file. 2018-05-07 15:26:15 +00:00
builder-sdk-config.h Load SDK configuration file. 2018-05-07 15:26:15 +00:00
builder-source-archive.c add .txz archive suffix 2018-12-31 13:53:09 +00:00
builder-source-archive.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-bzr.c utils: Add flags argument to flatpak_spawn 2017-10-17 10:31:28 +00:00
builder-source-bzr.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-dir.c Add directory source 2018-04-26 07:15:38 +00:00
builder-source-dir.h Add directory source 2018-04-26 07:15:38 +00:00
builder-source-extra-data.c Add extra-data source type 2017-09-29 07:01:53 +00:00
builder-source-extra-data.h Add extra-data source type 2017-09-29 07:01:53 +00:00
builder-source-file.c Fix inline "data:" URLs 2018-08-03 21:34:23 +00:00
builder-source-file.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-git.c Add --no-shallow-clone for git mirroring 2018-03-27 13:41:42 +00:00
builder-source-git.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-patch.c patch source: Add paths option to specify multiple patches 2018-08-17 10:22:17 +00:00
builder-source-patch.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-script.c Move common/flatpak-utils.* to src/builder-flatpak-utils.* 2017-08-25 09:36:49 +02:00
builder-source-script.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-shell.c utils: add GSubprocessFlags parameter 2018-01-12 10:06:12 +00:00
builder-source-shell.h Move builder/ to src/ 2017-08-25 09:30:53 +02:00
builder-source-svn.c Add SVN source type 2018-04-25 17:07:44 +00:00
builder-source-svn.h Add SVN source type 2018-04-25 17:07:44 +00:00
builder-source.c Keep x-* properties in manifest.json 2018-08-15 16:39:06 +00:00
builder-source.h Add extra-data source type 2017-09-29 07:01:53 +00:00
builder-utils.c Move flatpak_version_check to builder-utils.c 2019-03-05 07:13:34 +00:00
builder-utils.h Move flatpak_version_check to builder-utils.c 2019-03-05 07:13:34 +00:00