1099 Commits

Author SHA1 Message Date
Alexander Larsson
8d6ba78a1d Update NEWS and version to 0.5.2 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
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
Alexander Larsson
21e5391ab8 Merge pull request #121 from matthiasclasen/gpg-import-error
Another man page fix
2016-04-13 13:16:56 +02:00
Matthias Clasen
9223be6cee Improve an error message
If we don't find the file for --gpg-import in the remote-add
command, say so and mention the file name.
2016-04-13 06:59:21 -04:00
Alexander Larsson
eb3a0df75c Add xdg-app build-sign to sign a single commit 2016-04-13 10:08:59 +02:00
Alexander Larsson
51781b50d2 repo-update: Fix docs
The gpg key signs the summary, not the commit
2016-04-13 09:37:49 +02:00
Alexander Larsson
3c92368674 Merge pull request #120 from matthiasclasen/man-page-fix
doc: Make xdg-app-build-init man page match reality
2016-04-13 09:28:02 +02:00
Matthias Clasen
f1843adaf9 doc: Add build-args to xdg-app-builder man page
This option was missing from the "Build Options" section.
2016-04-12 19:04:30 -04:00
Matthias Clasen
bcef5ca3ea Improve the xdg-app-builder man page
Fix some inconsistencies, and update the example to not
not use app-id.
2016-04-12 16:00:28 -04:00
Matthias Clasen
e29192c89f doc: Make xdg-app-build-init man page match reality
The order of arguments did not match what the tool expects.
DIRECTORY comes first.
2016-04-12 14:52:04 -04:00
Alexander Larsson
9ba4030564 Fix crash 2016-04-12 16:19:31 +02:00
Alexander Larsson
ba0363bd2a Handle empty subpaths 2016-04-12 16:17:58 +02:00
Alexander Larsson
d52cb3b378 builder: better error messages if failing to find desktop file 2016-04-11 11:20:45 +02:00
Alexander Larsson
3cc45ccf13 Add support for subpath limited installs
This allows you to install e.g. org.freedesktop.Platform.Locale
but only the /sv subdir, and replaces using separate branches for
each locale.
2016-04-07 20:36:53 +02:00
Alexander Larsson
545a699698 builder: Only create one locale extension
Given that each app can have 100 locates, ostree just doesn't scale
to having a branch per app/locale combo. For 100 apps and 100 locales
that would be 10000 branches.

Also, things like xdg-app remote-list doesn't properly handle that
either.

We need to handle this by e.g. supporting subsetting the pull of
the locale extension.
2016-04-07 13:02:36 +02:00
Alexander Larsson
4beaa990c2 Don't ostree pull while deploying
This makes no sense, callers should be calling xdg_app_dir_pull() before
2016-04-06 16:57:31 +02:00
Alexander Larsson
619e1f1025 Release 0.5.1 0.5.1 2016-03-30 14:47:17 +02:00
Alexander Larsson
33e09be5c9 helper: Use 64bit capset/capget versions
This fixed kernel warnings about 32bit capabilities APIs on some distros.
2016-03-30 10:23:07 +02:00
Alexander Larsson
ef09d6fa83 Merge pull request #118 from matthiasclasen/library-docs
Some assorted work on the library docs
2016-03-26 11:08:19 +01:00
Matthias Clasen
3b76c3523a docs: Document XdgProgressCallback 2016-03-25 11:49:34 -04:00
Matthias Clasen
2a2ae8008b More class hiding 2016-03-25 11:38:41 -04:00