Commit Graph

1428 Commits

Author SHA1 Message Date
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
Matthias Clasen
516432740d doc: Add xdg_app_installation_install_bundle 2016-03-25 11:36:20 -04:00
Matthias Clasen
5f02c340b4 docs: Hide class structs
There is no intention to let any of these be subclasses,
so don't show the classes.
2016-03-25 11:33:30 -04:00
Matthias Clasen
1e60358980 docs: Fix a typo 2016-03-25 11:33:30 -04:00
Matthias Clasen
1c41f04dbb docs: Exclude more private headers
This reduces the noise in the gtk-doc output.
2016-03-25 11:26:07 -04:00
Matthias Clasen
5f657bee2f docs: No need for a deprecated index
No deprecated APIs yet - knock on wood!
2016-03-25 11:17:40 -04:00
Matthias Clasen
7a5f874e69 docs: Pick up the version number automatically
This is copied from what GTK+ does for its docs.
2016-03-25 11:16:20 -04:00
Matthias Clasen
4c8a74e581 XdgAppRemote: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
842fc72342 XdgAppRemoteRef: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
c18a0d7412 XdgAppInstalledRef: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
7c01993792 XdgAppRef: Add documentation 2016-03-25 11:03:22 -04:00
Matthias Clasen
13a3798bf8 XdgAppInstallation: Add documentation 2016-03-25 10:53:27 -04:00
Matthias Clasen
79d152b7ff XdgAppError: Add documentation 2016-03-25 10:53:27 -04:00
Matthias Clasen
38ce9f5cfa version information: Add documentaiton 2016-03-25 10:53:27 -04:00
Matthias Clasen
7f058566f8 XdgAppInstallation: Fix a doc typo 2016-03-25 10:53:27 -04:00
Matthias Clasen
7873de5155 doc: Minor reshuffling 2016-03-25 10:53:26 -04:00
Alexander Larsson
762d1a6295 seccomp: Allow running the target arch
This adds the app target arch to the list of the allowed arches
in seccomp. It also allows the native arch, because otherwise
xdg-app-helper can't run.

This means that if your userspace (i.e. xdg-app-helper) is built in
64bit mode, then 64bit apps can't run 32bit apps. However, if you're
running a 32bit app it is allowed to run both 32bit and 64bit apps.

Not ideal, but at least the common case is safer.
2016-03-24 21:04:01 +01:00
Alexander Larsson
c25786ffa1 seccomp: Always try to do the socket filtering, but don't fail if not supported
This is better than guessing if it will work before.
However, we need to add the rule with _rule_add_exact, or it can try
to do something else which breaks the app.
2016-03-24 21:04:01 +01:00
Alexander Larsson
5ce0184cc7 Support endianness markers in bundle files 2016-03-24 11:04:23 +01:00
Alexander Larsson
509607b79d Merge remote-tracking branch 'github/master' 2016-03-24 08:23:33 +01:00
Alexander Larsson
6418573628 Merge pull request #117 from matthiasclasen/gcc-indent-warning
Fix indentation
2016-03-24 08:22:26 +01:00
Matthias Clasen
bf4c5c4943 Fix indentation
gcc 6 warns about this misleadingly indented line.
2016-03-24 00:00:12 -04:00