Commit Graph

1218 Commits (185fdc194782e24775db22c26a79687b1598be01)
 

Author SHA1 Message Date
Joaquim Rocha 39279c8b8b builder: Skip separate locales exportation if directory doesn't exist
This will avoid errors when separate_locales is set to true but the
locales directory does not exist. This is the case of many apps that do
not support separate locales but haven't specifically set
separate_locales to false in the configuration.
2016-04-20 12:32:02 +02:00
Alexander Larsson b16517798f Add --ref to build-import-bundle to override branch name 2016-04-20 11:46:13 +02:00
Alexander Larsson 5392f2d629 common: Break out xdg_app_mtree_create_root helper 2016-04-20 09:55:13 +02:00
Alexander Larsson cfd3f303b1 Add build-import-bundle command 2016-04-19 13:53:26 +02:00
Alexander Larsson 1c1bc4acca common: Move xdg_app_dir_pull_from_bundle to xdg_app_pull_from_bundle
The only difference is it takes an OstreeRepo, not a XdgAppDir, so we
can use it at a lower level too.
2016-04-19 13:31:55 +02:00
Alexander Larsson 18bb0868e9 build-bundle: Split out bundle building to helper 2016-04-19 13:19:36 +02:00
Alexander Larsson 0730eb05d7 dbus-filter: Log arg0 validation failures 2016-04-19 09:44:49 +02:00
Alexander Larsson 8b77e8ae17 Merge pull request #134 from smcv/systemd
session-helper: connect the D-Bus and systemd services
2016-04-18 08:48:57 +02:00
Simon McVittie 3d0a97099d session-helper: connect the D-Bus and systemd services
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-04-17 10:25:57 +01:00
Alexander Larsson c8cdb75a09 Merge branch 'typo-fix' of https://github.com/matthiasclasen/xdg-app into matthiasclasen-typo-fix 2016-04-16 21:43:06 +02:00
Alexander Larsson f2a96888f5 Merge pull request #132 from matthiasclasen/json-docs
Document field types
2016-04-16 21:38:45 +02:00
Matthias Clasen 1c41cac06b Document field types
This is not entirely clear for all fields from the documentation.
2016-04-16 00:54:34 -04:00
Matthias Clasen 73c98722e8 Fix a typo
s/extention/extension/
2016-04-16 00:11:39 -04:00
Matthias Clasen 3299640b2d Remove a duplicate { 2016-04-16 00:11:05 -04:00
Alexander Larsson 265ba5e528 Merge pull request #128 from matthiasclasen/run-fixes
Some fixes for xdg-app-builder --run
2016-04-15 11:50:34 +02:00
Alexander Larsson 1ee0fb7e96 Merge pull request #129 from matthiasclasen/document-force-clean
Document --force-clean
2016-04-15 11:49:33 +02:00
Alexander Larsson 8d6ba78a1d Update NEWS and version to 0.5.2 2016-04-15 11:27:31 +02:00
Tristan Van Berkom 401c7b2dea BuilderModule: Use builder_options_get_config_opts()
The configure arguments are now a combination of the
default config-opts plus the accumulative sum of the config-opts
specified in the build-options that are active for a given build
context.

https://bugs.freedesktop.org/show_bug.cgi?id=94940
2016-04-15 10:25:55 +02:00
Tristan Van Berkom 17ec9ef3b0 BuilderOptions: Added 'config-opts' option.
Allows conditional configure arguments.

https://bugs.freedesktop.org/show_bug.cgi?id=94940
2016-04-15 10:25:55 +02:00
Matthias Clasen 1992901b63 Document --force-clean
We shouldn't allow new options to be added without documentation.
2016-04-14 19:29:41 -04:00
Matthias Clasen ae96c039f9 Document --run better
The xdg-app-builder commandline with --run looks a bit different,
spell this out in the docs.
2016-04-14 19:18:35 -04:00
Matthias Clasen 9426438c0b Fix --run
I have a manifest which has --command=terminix in the finish-args,
and xdg-app build doesn't like that option, so filter it out.
2016-04-14 19:11:48 -04:00
Alexander Larsson 3d7d9ece93 Fix warning 2016-04-14 22:12:25 +02:00
Alexander Larsson 167564b637 common: Add xdg_app_dir_remote_fetch_summary
This is in preparation for adding a cache for the summary
2016-04-14 20:04:51 +02:00
Alexander Larsson fe1004f6af xdg_app_installation_fetch_remote_metadata_sync2: Fix docs cut and paste issue 2016-04-14 19:31:46 +02:00
Alexander Larsson b06528e0ef Merge pull request #127 from matthiasclasen/bus-logging
Bus logging
2016-04-14 19:30:57 +02:00
Alexander Larsson 1dd993cad6 lib: Add new cache based getters for metadata and size 2016-04-14 19:29:40 +02:00
Alexander Larsson 664fb128e7 utils: Remove unused helper 2016-04-14 19:29:18 +02:00
Alexander Larsson 416ad53878 Fix typo for no-debuginfo properly 2016-04-14 19:28:08 +02:00
Alexander Larsson ca9bfc99b8 Use string for metadata cache 2016-04-14 19:18:11 +02:00
Alexander Larsson 29a7e0459e run: Use the current version by default 2016-04-14 18:26:22 +02:00
Matthias Clasen fd4c1018d4 docs: Move generic options up top
It is nicer if --help, --version and --verbose are together
at the top of the options list.
2016-04-14 10:05:45 -04:00
Matthias Clasen 6c1970ad45 Document --log-session-bus and --log-system-bus 2016-04-14 10:04:43 -04:00
Matthias Clasen 4283473b38 Add options to enable bus logging
This can be useful to find out what bus names your app
is actually talking to, so you can set up a bus policy
that is narrowed than blanket access without breaking
your application.
2016-04-14 10:01:42 -04:00
Alexander Larsson 8d4393a7aa build-update: Add installed/download size and metadata cache to summary 2016-04-14 13:53:24 +02:00
Alexander Larsson 3187c0c142 appstream: Don't create new commit for unchanged appstream branch 2016-04-14 11:57: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 db797bf4df Merge pull request #125 from matthiasclasen/bundle-docs
More documentation bits
2016-04-14 08:41:25 +02:00
Alexander Larsson 75a0ff3d46 Merge pull request #126 from matthiasclasen/build-clean
builder: Add an option to erase app dir
2016-04-14 08:40:29 +02:00
Matthias Clasen 838d109e58 builder: Add an option to erase app dir
Having to run rm -rf yourself before every new build attempt
gets old. Lets add an option to have xdg-app-builder do it
for us.
2016-04-13 23:06:59 -04:00
Matthias Clasen 74074facaf Explain --repo-url a bit better
Make it clearer that this must be accessible from the systems
where the bundle is installed, it is not useful to specify
your local repository here.
2016-04-13 18:23:26 -04:00
Matthias Clasen ef02059906 docs: Mention bundle installation in overview 2016-04-13 17:42:12 -04:00
Matthias Clasen 0e2d8ec886 Trivial doc fixes
Just add some punctuation.
2016-04-13 17:39:31 -04:00
Matthias Clasen 5d27b8742a Document the --bundle option
I was looking for information on how to install bundles, and found
nothing, since the --bundle option wasn't documented.
2016-04-13 17:36:40 -04:00
Alexander Larsson 19509eb808 Merge pull request #123 from matthiasclasen/doc-builder-details
doc: Explain .xdg-app-builder
2016-04-13 16:12:32 +02:00
Alexander Larsson 2472d3905f Merge pull request #124 from matthiasclasen/typo-fix
Fix a possibly confusing doc typo
2016-04-13 16:12:01 +02:00
Alexander Larsson ddf94988f2 Merge pull request #122 from matthiasclasen/doc-cleanup-details
doc: Clarify the cleanup docs
2016-04-13 16:11:04 +02:00
Matthias Clasen a286692010 Fix a possibly confusing doc typo 2016-04-13 09:36:19 -04:00
Matthias Clasen cb9b3e6987 doc: Explain .xdg-app-builder
This directory can grow quite large (my local example here is 900M),
so we should document that it is safe to remove.
2016-04-13 09:26:59 -04:00
Matthias Clasen 726a8fe935 doc: Clarify the cleanup docs
Mention explicitly that full paths are not expected to have the
/app prefix. I was confused about this, so others might too.
2016-04-13 07:49:25 -04:00