Tristan Van Berkom
51e387159b
build-export: Add --arch option
...
This patch adds the --arch option to the build-export builtin command.
Previously build-export derives this from the metadata and then falls back
to xdg_app_get_arch(), except that this does not work when the metadata does
not specify an arch (such as with extensions like .Debug or .Locale).
https://bugs.freedesktop.org/show_bug.cgi?id=95226
2016-05-03 09:05:56 +02:00
Alexander Larsson
5392f2d629
common: Break out xdg_app_mtree_create_root helper
2016-04-20 09:55:13 +02:00
Alexander Larsson
3602c53dd8
build-export: Don't use generate-sizes
...
This is pretty inefficient in terms of download counts, and its not
cached. Lets store the data we need in the summary, which we need
to download anways, and which we cache.
2016-04-14 11:32:46 +02:00
Alexander Larsson
62c0d3ad3d
build-export: Never export files you can't read
...
It makes no sense to have these in a runtime or an app, it just
causes issues.
2016-01-22 12:21:49 +01:00
Alexander Larsson
071561637a
Remove unused variables
2016-01-19 12:37:51 +01:00
Alexander Larsson
6e204a4d2e
Add support to gpg sign summaries and appstream
2016-01-18 21:36:57 +01:00
Alexander Larsson
efad98815a
build-export: Add --include option
2016-01-18 11:22:25 +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
13d07d6a6f
builder: Add support for exporting with --repo=foo
2016-01-11 15:35:17 +01:00
Alexander Larsson
1fb39381b2
export: Allow custom source for "files" and "metadata"
2016-01-11 14:37:51 +01:00
Alexander Larsson
33f634ec67
export: Support --exclude
2016-01-11 13:57:59 +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
e0af4441b3
build-export: FLAGS_GENERATE_SIZES when commiting
2015-12-23 14:58:28 +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
Christian Hergert
ed6867fe68
build-export: add human readable format to "Content Bytes Written"
...
It's nice to get a general idea of the size quickly from the build-export
command without counting the number of digits.
2015-10-26 09:07:04 +01:00
Alexander Larsson
607e3b1849
Always regenerate summary after export-build
2015-10-05 13:05:15 +02:00
Alexander Larsson
7791ea130f
build-export: Add support for signing build
2015-10-05 11:13:36 +02:00
Alexander Larsson
c66f09b6b6
build-export: Strip out uid/gid and xattrs
...
These are not important anyway as we ignore them on checkout.
2015-09-30 12:48:50 +02:00
Alexander Larsson
279558b6bf
cleanup: Simplify code using xdg_app_fail
2015-09-28 16:54:24 +02:00
Alexander Larsson
e4920a8e7e
cleanup: Remove trivial use of goto out
2015-09-28 16:40:19 +02:00
Alexander Larsson
6775dc1002
Use g_auto(GStrv) instead of glnx_strfreev
2015-08-31 09:51:48 +02:00
Alexander Larsson
302f88e69d
Restructure directories and build
...
This moves a all source code into separate subdirs per binary. The
helper and the generic stuff goes into lib/ which is then used by all
the others. For now this is a completely internal library, but at
some point we will probably clean it up and expose some subset.
Also, we move the dbus proxy to libexecdir.
2015-07-10 12:15:45 +02:00