Commit Graph

892 Commits (9a6bf9505402df3e15541106ecf82dd48187d43b)
 

Author SHA1 Message Date
Alexander Larsson a79ea2e890 common: Add XdgAppTempDir which cleans up temporary directories 2016-01-15 12:04:46 +01:00
Alexander Larsson cb971722fe Better handling of the title in the summary
Now we store the title in the repo config and re-apply it every time
we regenerate the summary.
2016-01-14 21:26:51 +01:00
Alexander Larsson 93e8d8bd78 builder: Add some spew when downloading files 2016-01-14 16:45:44 +01:00
Alexander Larsson 78601a42ce lib: xdg_app_installation_fetch_remote_size_sync 2016-01-14 16:45:44 +01:00
Alexander Larsson 839c5ca885 XdgAppDir: Add helper to fetch the size info for a commit 2016-01-14 16:45:28 +01:00
Alexander Larsson f3bf30334c builder: Also apply cleanup to changes in usr 2016-01-14 11:16:17 +01:00
Alexander Larsson 7fb1309488 completion: Update to the new cli commands 2016-01-13 17:55:11 +01:00
Alexander Larsson 5a12157add remote-ls: Regularize --runtime and --app user 2016-01-13 17:21:08 +01:00
Alexander Larsson 025fa4e4d6 Merge list-apps and list-runtimes into single list command 2016-01-13 17:02:15 +01:00
Alexander Larsson 37c6485183 docs: Update for the new command names 2016-01-13 16:33:43 +01:00
Alexander Larsson 123626b36f xdg-app: Update the command names and make nicer usage output
All the *-remote commands are changed to remote-* and otherwise made
more regulare.

The usage output is split into titled subsections and has per-command
descriptions.
2016-01-13 16:09:30 +01:00
Alexander Larsson f7a1fdaa99 xdg-app: Deprecate install/update/uninstall-app/runtime
We just have install/updata/uninstall and have --app and --runtime
options if you really want to specify the type. Otherwise we just
automatically chose the right thing.
2016-01-13 15:34:08 +01:00
Alexander Larsson f8894af8d7 builder: Change the way the cache is indexed
Instead of a single ref we use one ref per stage (init, build module X,
cleanup, finish). This means we don't have to iterate in the cache
lookup, and it also means we get clean refs for each stage so one
can easily inspect the differences between the stages.
2016-01-13 09:50:15 +01:00
Alexander Larsson 46ef2824dd build-finish: Export appdata files 2016-01-12 16:33:20 +01:00
Alexander Larsson d43e797b4b builder: Add support for rename-appdata-file option 2016-01-12 16:30:20 +01:00
Alexander Larsson f56d6a7290 builder: Fix up cleanup matching 2016-01-12 16:06:53 +01:00
Alexander Larsson 0823d1960c install: Fix printing of NULL in already-installed error message 2016-01-12 15:13:02 +01:00
Alexander Larsson 55e934ee76 builder: Fix handling of builddir 2016-01-12 14:25:41 +01:00
Alexander Larsson 4c47951cbd builder: Add some more spew when exporting 2016-01-12 12:36:07 +01:00
Alexander Larsson a6eab3e732 builder: Don't break if ccache not enabled. 2016-01-12 12:32:44 +01:00
Alexander Larsson 689c36aa8f builder: Pass --body, --subject and --gpg-sign to build-export 2016-01-12 12:25:45 +01:00
Alexander Larsson f95cd2d029 builder: Add option to enable ccache use in build 2016-01-12 12:09:09 +01:00
Alexander Larsson a241610793 helper: Align help output 2016-01-12 11:21:14 +01:00
Alexander Larsson 59c8c49bdd builder: Run builds in /run/build/$modulename
This creates repeatable builds for anything that leaves the build
dir in the resulting files, such as debug info.
2016-01-12 11:05:37 +01:00
Alexander Larsson e1cb723c55 build: Add --bind-mount and --build-dir arguments 2016-01-12 10:42:04 +01:00
Alexander Larsson 5c578946bf helper: Allow specifying initial cwd 2016-01-12 10:39:03 +01:00
Alexander Larsson b60e81271e helper: Add missing arguments to usage output 2016-01-12 10:33:43 +01:00
Alexander Larsson 1934562ca2 run: Be more flexible with --runtime option, and add --runtime-version
This makes it easier to experiment with running an app with a
different runtime.
2016-01-12 09:57:20 +01:00
Alexander Larsson 5a905d913c helper: Print nicer error messages when user namespaces don't work. 2016-01-12 09:33:55 +01:00
Alexander Larsson 6701207ca7 build-finish: Don't leave empty directories in the exports dir 2016-01-12 09:22:52 +01:00
Alexander Larsson df75f881e7 export: Add docs for the new command line arguments 2016-01-12 09:14:12 +01:00
Alexander Larsson 13d07d6a6f builder: Add support for exporting with --repo=foo 2016-01-11 15:35:17 +01:00
Alexander Larsson e2b347ba76 run: Fix support for app extensions 2016-01-11 15:34:54 +01:00
Alexander Larsson 1fb39381b2 export: Allow custom source for "files" and "metadata" 2016-01-11 14:37:51 +01:00
Alexander Larsson 69d489bbef builder: Create metadata.debuginfo if debug info exists 2016-01-11 14:37:30 +01:00
Alexander Larsson 33f634ec67 export: Support --exclude 2016-01-11 13:57:59 +01:00
Alexander Larsson b4fbb84f0a common: Move path_match_prefix to common 2016-01-11 13:56:07 +01:00
Alexander Larsson fc5ded5b3c builder: Clean up how the commit filters work
Now we do the path filtering manually and just rewrite the info in the
filter.
2016-01-11 13:06:37 +01:00
Alexander Larsson d3e1ffb4f7 builder: Match debuginfo files against regular cleanup patterns
I.e. if /lib/foo is cleaned, also clean /lib/debug/lib/foo.debug
2016-01-11 11:41:50 +01:00
Alexander Larsson 1b2ed4fe09 builder: Pass down global cleanups via BuildContext 2016-01-11 11:40:46 +01:00
Alexander Larsson 5896b5ae08 builder: Pass down keep-build-dirs via BuildContext 2016-01-11 11:40:46 +01:00
Alexander Larsson 825611a758 builder: Break out helpers for path matching 2016-01-11 11:40:46 +01:00
Alexander Larsson 98a7d731ad builder: Add support for separating out debuginfo 2016-01-11 11:40:46 +01:00
Alexander Larsson 62b4ffaa72 builder: Use libelf to detect elf files
This additionally looks for already stripped files
2016-01-11 11:40:46 +01:00
Alexander Larsson 8be0031355 builder: Print all files removed by cleanup 2016-01-11 11:40:46 +01:00
Alexander Larsson e0af4441b3 build-export: FLAGS_GENERATE_SIZES when commiting 2015-12-23 14:58:28 +01:00
Alexander Larsson 9a41938a1b add-remote: Fix typo in no-enumerate handling 2015-12-21 22:43:08 +01:00
Alexander Larsson b510465e31 add-remote: Fix typo in prio handling 2015-12-21 22:40:31 +01:00
Alexander Larsson 116ae4f440 build-export: Look in the right keyfile group when exporting runtimes 2015-12-21 22:22:00 +01:00
Alexander Larsson 6ddee9905b build-export: Add --runtime commit support 2015-12-21 15:38:42 +01:00