Commit Graph

1218 Commits (185fdc194782e24775db22c26a79687b1598be01)
 

Author SHA1 Message Date
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 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
Alexander Larsson 7e6b18eddc builder: Actually respect the defined branch 2016-03-23 16:42:40 +01:00
Alexander Larsson d32b13a695 builder: Checksum metadata-platform contents for cache too 2016-03-23 14:54:47 +01:00
Alexander Larsson d6f9e03a61 builder: Use the right field for the platform cache checksum
It was looking at metadata, instead of metadata_platform
2016-03-23 14:49:59 +01:00
Alexander Larsson 5d52df9fe6 Merge pull request #115 from matthiasclasen/docs-update
Some small documentation updates
2016-03-22 17:02:59 +01:00
Alexander Larsson 20fcf760bc Merge pull request #116 from matthiasclasen/check-name
Don't check that the name is a branch
2016-03-22 17:01:25 +01:00
Matthias Clasen 9649cae95f Add xdg-app info to docs
Add the info command in xdg-app(1), and build the existing
man page for it.
2016-03-22 11:37:18 -04:00
Matthias Clasen 96437c78e7 Don't check that the name is a branch
Don't call xdg_app_is_valid_branch() to verify an application name.
Use xdg_app_is_valid_name().
2016-03-22 11:27:59 -04:00
Matthias Clasen f46dce3188 Align contents of xdg-app.1 with xdg-app --help 2016-03-22 11:26:17 -04:00
Matthias Clasen 2d678c9379 Document xdg-app-build-bundle 2016-03-22 11:26:17 -04:00
Alexander Larsson 2df80bd77c Merge pull request #114 from gcampax/master
Extract icons for all appstream components
2016-03-22 08:54:33 +01:00