Alexander Larsson
b0a7f8052b
builder: Add --sandbox support
...
This disables build-args support, which is nice when building things
on e.g. a shared build-machine, where we don't want the build to
be able to break out of the sandbox (by specifying e.g. --share=network).
2016-08-22 17:23:32 +02:00
Alexander Larsson
1976639153
flatpak: Add build-commit-from command
...
This creates new commits based on a different repo/branch. Very useful
to e.g. import and sign verified correct commits from an autobuilder
repo.
2016-08-19 17:24:03 +02:00
Alexander Larsson
fb3bfae85b
builder: Add --stop-at=module
...
Stop building at a specified module from the json file.
This is useful during development. For instance, you can do --stop-at=main-app
to build all the dependencies into the appdir, then you can do a build of an
already checked out git repo (possibly with changes).
2016-08-19 11:25:23 +02:00
Matthew Leeds
0640491e40
doc: Fix a few mistakes
...
- Fix typos in doc/flatpak-install and doc/flatpak-update.
- The commands ending in -app were deprecated in commit f7a1fdaa
,
so update a few remaining references to them.
- flatpak-update is used for runtimes and applications, so fix its short
description.
2016-08-10 23:06:39 -04:00
Matthias Clasen
e8599bb869
Clarify flatpak update docs
...
NAME is optional.
2016-08-04 18:40:09 -04:00
Matthias Clasen
414cd0afce
Document --appstream option
...
This option of flatpak update was undocumented.
2016-08-04 14:08:09 -04:00
matthiasclasen
4cce620585
Merge pull request #219 from mwleeds/allow-git-paths
...
builder: Allow git sources to be specified as paths
2016-08-03 09:45:11 -04:00
Simon McVittie
4dd59eeecb
docs: include sub-documents from $(srcdir)
...
This fixes "make distcheck".
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:15:07 +01:00
Simon McVittie
6ec373a1f6
Distribute flatpak-metadata.xml in tarball releases
...
This was missing from 0.6.8, causing a build with xmlto available
to fail.
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-08-01 11:09:07 +01:00
Alexander Larsson
07b342a937
Properly make clean the docs
2016-07-31 00:11:31 +02:00
Matthew Leeds
25d88477c5
builder: Allow git sources to be specified as paths
...
Currently to use a local copy of a git repo you have to specify the url
as "file:///path/to/repo". This commit allows you to specify a path directly
as "/path/to/repo", which is faster and more space-efficient because
git-clone will hardlink the objects rather than copying them.
2016-07-29 16:01:30 -04:00
Alexander Larsson
003ef9ee2e
Revert "Set up logging to the journal"
2016-07-29 00:24:43 +02:00
Matthias Clasen
003d96e3df
Add an --arch option to flatpak list
...
This enables filtering by arch when listing installations.
2016-07-26 13:39:57 -04:00
Matthias Clasen
6e0d8e394e
Document the new option
2016-07-25 10:36:00 -04:00
matthiasclasen
5216540b7b
Merge pull request #205 from mwleeds/fix-typos
...
doc/flatpak-builder: Fix typos
2016-07-23 15:17:28 -04:00
Matthew Leeds
783f8ba1fe
doc/flatpak-builder: Fix typos
2016-07-22 15:05:15 -04:00
Matthew Leeds
90bd06304a
docs: Clarify which options can be used multiple times
...
Some of the options do not explicitly say they can be used multiple
times even though it's clear from the code that they can. This commit
fixes that by saying so in the manpages.
2016-07-22 13:32:45 -04:00
Matthew Leeds
60fb5ec03a
doc/flatpak-install: Fix duplicate option
2016-07-15 11:04:34 -04:00
Matthias Clasen
bf96dd248f
Build html documentation from the man pages
...
This will be useful for putting the docs online.
2016-07-12 00:41:13 -04:00
Alexander Larsson
92ab585e6f
Merge pull request #171 from mariospr/no-desktop
...
flatpak-run: Add a new --no-desktop option to prevent creation of cgroups
2016-07-02 00:05:30 +02:00
Mario Sanchez Prada
8c8b91609c
flatpak-run: Add a new --no-desktop option to prevent creation of cgroups
...
This is not intented for normal use, but it can be useful in cases where
we don't have a running session and sandboxing is not strictly required.
2016-07-01 22:12:04 +01:00
Alexander Larsson
de7445b0b5
doc/flatpak-metadata: Add some extra clarifications
2016-07-01 11:23:38 +02:00
Matthias Clasen
a1ef27cafb
Document the metadata format
...
This is useful information that should be available in a
single place.
2016-06-30 20:16:48 -04:00
Alexander Larsson
5ab628d0ee
Install/update/uninstall related refs
...
Any "related" references from the same remote are automatically
handled when installing, unless you specify --no-related.
The set of related refs is based on the declared extensions for
the main ref. By default, all such extensions are automatically
installed/updated unless they have "no-autodownload" set to false
in the extension info, and its not already installed locally.
Only extensions marked as "autodelete" will be automatically deleted
when you remove the main ref.
There is some special handling:
Any *.Debug or *.Locale extension is automatically treated as "autodelete".
A *.Locale extension that is autodownloaded will be subsetted using subpaths
such that existing subpaths are kept, and the current locale is added.
2016-06-30 16:55:32 +02:00
Alexander Larsson
de8d8a36c2
Merge pull request #158 from hadess/wip/use-git-patch
...
Add "use-git" option for patch source types
2016-06-28 15:24:49 +02:00
Alexander Larsson
7070dbf96c
Make journal always available in the sandbox
...
I don't think it makes sense to have to enable this for everything.
It should be safe in the sense that you can't ever do more than
the user can do anyway, and there is no way to use this to communicate
with the rest of the system because you can't read from it.
The worst this could ever cause is to overload the system, but the
sandbox doesn't protect against that in any other way anyway.
2016-06-28 15:05:01 +02:00
Bastien Nocera
c646f386eb
builder: Add "use-git" option for patch source type
...
Closes #6
2016-06-28 14:24:16 +02:00
Alexander Larsson
43dbf96f7c
Merge pull request #148 from matthiasclasen/journal
...
make journal logging work in the sandbox
2016-06-27 11:14:11 +02:00
matthiasclasen
5eede39078
Merge pull request #146 from matthiasclasen/document-d
...
gdb in sandbox doesn't work
2016-06-24 21:14:33 -04:00
Anssi Hannula
3fb031582e
Fix builddir option type in flatpak-builder documentation
2016-06-24 11:33:02 +03:00
Matthias Clasen
f6af5702db
Document new socket option
2016-06-24 02:01:05 -04:00
Matthias Clasen
c195c4197d
Expand the flatpak run --devel docs
...
Mention that --devel also affects the seccomp profile.
Took me a while to find that out.
2016-06-23 14:31:40 -04:00
Alexander Larsson
640bf9e69c
remote-ls: Better multiarch support
...
By default, only show supported refs. Use --arch to limit it
to a specific arch, or --arch=* to list all.
2016-06-23 13:08:12 +02:00
Alexander Larsson
8740a9ded3
Add flatpak --supported-arches
2016-06-23 11:12:28 +02:00
Matthias Clasen
0c873100b7
Document the flatpak-builder var support
2016-06-23 10:06:53 +02:00
Matthias Clasen
0ae7c446a1
Clarify the documentation a bit
...
Revise the man pages for the new document commands a bit, using
'document id' consistently, and adding cross references among them.
2016-06-18 21:08:27 -04:00
Matthias Clasen
c35d7d141a
Update overview man page
...
Group the document-related commands together, and add the new ones.
2016-06-16 15:05:18 -04:00
Matthias Clasen
9c16751709
flatpak: Add a command to list exported documents
...
This lists all the files that are exported, possibly limited
to a single app id.
2016-06-16 15:05:18 -04:00
Matthias Clasen
8281e614ce
flatpak: Add a way to revoke privileges for exported documents
...
This adds --forbid-read, --forbid-write, --forbid-delete and
--forbid-grant-permissons options to flatpaks document-export
command, to let it revoke permissions on exported documents.
2016-06-16 15:05:18 -04:00
Matthias Clasen
528b1f8e29
flatpak: Add a document-unexport command
...
This calls org.freedesktop.portal.Documents.Delete to remove
an exported file from the document database altogether.
2016-06-16 15:05:18 -04:00
Matthias Clasen
52d32da215
flatpak: Add a document-info command
...
This uses the newly introduced non-portal interface to the
documents portal to obtain and show information about an
exported file.
2016-06-16 15:05:18 -04:00
Matthias Clasen
98a66ce6d8
Rename export-file to document-export
...
This fits better with the naming scheme for commands in general, and
will let us add more document portal related commands in the future.
2016-06-15 14:07:36 -04:00
Alexander Larsson
a84f725211
Support --device=all
...
This gives the application full access to the host /dev. Obviously
this is not great in terms of sandboxing, but its nice for applications
that use flatpak mostly as a way to do distribution of the app.
Also, its not like the app has full access to anything, its still
limited to the access right of the user.
2016-06-14 22:33:14 +02:00
Matthias Clasen
f1350f7853
flatpak-override docs: Add missing options
...
The --system-own-name and --system-talk-name options were missing
here.
2016-06-09 22:57:46 -04:00
Matthias Clasen
6ffb5cf21b
flatpak-override docs: Fix spelling
...
We use well-known, following the D-Bus specification.
2016-06-09 22:54:09 -04:00
Matthias Clasen
e7fe604ae5
flatpak-remote-modify docs: Fix broken references
...
The commands were rotated: it is remote-add, not add-remote.
2016-06-09 22:52:06 -04:00
Matthias Clasen
f0782d72df
flatpak-remote-ls docs: Add cross-references
2016-06-09 22:52:06 -04:00
Matthias Clasen
9a4fabed69
Fix a typo
2016-06-09 22:52:06 -04:00
Matthias Clasen
79365a7407
flatpak run docs: Fix formatting of references
...
These need to be comma-separated.
2016-06-09 22:52:06 -04:00
Matthias Clasen
d40253444a
flatpak-builder docs: fix nonexisting reference
...
flatpak doesn't have a build-build command.
2016-06-09 22:34:32 -04:00
Alexander Larsson
56cd2940aa
Merge pull request #95 from matthiasclasen/manifest-docs
...
consider sources
2016-06-09 12:32:19 +02:00
Matthias Clasen
991c6b837a
Document recursive modules and includes
2016-06-09 06:27:44 -04:00
Alexander Larsson
bd66da0dad
builder: Add support for patching mtime in python bytecode headers
...
This makes them work at runtime (as the mtime will then be 0) and
makes builds more repeatable.
2016-06-08 13:28:27 +02:00
Matthias Clasen
33f14a7002
Document /app/manifest.json
...
This is a nice bit of reproducibility that we shouldn't leave
undocumented.
2016-06-07 15:20:20 -04:00
Matthias Clasen
a512da2592
Recommend a shell script wrapper for passing arguments
...
This has come up as a question, so document it.
2016-06-03 09:08:55 -04:00
Matthias Clasen
db540a15e7
Document the --oci option of flatpak build-import-bundle
2016-06-02 15:02:49 -04:00
Matthias Clasen
b4d5ec76a8
Document the --oci option of flatpak build-bundle
2016-06-02 14:53:22 -04:00
Alexander Larsson
71be0b2977
Merge pull request #62 from matthiasclasen/build-docs
...
Some fixed for flatpak-build(1)
2016-06-02 08:53:59 +02:00
matthiasclasen
4d8445fbb7
Small additions to flatpak-builder(1) ( #63 )
...
Document that app-id is the same as id, and fix a case
of suffixed<>suffix confusion.
2016-06-02 08:52:25 +02:00
Matthias Clasen
6ca2641203
Spelling: well-known
...
This is the spelling that is used in the D-Bus specification.
2016-06-01 15:38:23 -04:00
Matthias Clasen
6177f85c4d
Document more options for flatpak build
...
The --default-arch, --system-own-name and --system-talk-name options
were all missing from the man page. Add them.
2016-06-01 15:36:50 -04:00
Matthias Clasen
77fe43808d
Document --version and --verbose for flatpak-build
...
These options were missing here.
2016-06-01 15:31:13 -04:00
Matthias Clasen
2c591b2fcd
Document --no-filesystem in flatpak-build(1)
...
Also document the :ro suffix for --filesystem.
2016-06-01 15:28:49 -04:00
Alexander Larsson
f9cbcc3996
Merge pull request #49 from jsoref/spelling
...
spelling fixes
2016-05-27 09:02:14 +02:00
Josh Soref
2dc56c77a2
spelling: repository
2016-05-27 06:45:53 +00:00
Josh Soref
4dad6b458e
spelling: repositories
2016-05-27 06:45:39 +00:00
Josh Soref
eaaa06ef27
spelling: distinguished
2016-05-27 06:40:23 +00:00
Josh Soref
794c62cc44
spelling: available
2016-05-27 06:37:37 +00:00
Matthias Clasen
c129fb7155
Document restrictions on module names
2016-05-27 00:42:37 -04:00
Alexander Larsson
c48272c6db
uninstall: Default to whatever branch is installed
2016-05-26 19:08:46 +02:00
Alexander Larsson
bf294fb7c5
install: Be smarter about choosing the default branch name
...
We look for any matching ref on the remote and use that if there is a single match.
2016-05-26 19:06:51 +02:00
Alexander Larsson
3d232bbe15
Merge pull request #161 from smcv/spelling
...
Fix various spelling mistakes
2016-05-17 17:51:20 +02:00
Simon McVittie
a4641280a7
Fix various spelling mistakes
...
Mostly detected by Debian's Lintian tool.
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-17 11:43:32 +01:00
Matthias Clasen
0cfd001d9b
Add some new api to the docs
2016-05-16 19:49:48 -04:00
Matthias Clasen
e7d53ca7cb
Add new FlatpakRemote apis to the docs
2016-05-16 19:37:08 -04:00
Alexander Larsson
2875cdead5
remote-delete: Move to FlatpakDir and add checks for installed refs
...
You can't remove a remote unless you --force or there are no installs
from it.
2016-05-13 14:17:46 +02:00
Alexander Larsson
fcf137f25d
Remove references to --gpg-key= as it never worked
2016-05-11 15:39:11 +02:00
Alexander Larsson
28c1c65d8f
Builder: Support disabled=true to not build a module
...
This is a simple way to "comment out" a module.
2016-05-09 17:24:42 +02:00
Alexander Larsson
8abbc0186e
Rename everything but the on-disk location to flatpak
2016-05-09 11:11:55 +02:00
Alexander Larsson
ba37b22d78
Rename library to libflatpak
2016-05-09 09:46:26 +02:00
Alexander Larsson
6a613d1fab
Rename all non-autogenerated symbols to flatpak
2016-05-09 09:00:20 +02:00
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
Tristan Van Berkom
aa69c1afef
xdg-app-builder: Add --arch command line option
...
This is only useful for building for architectures which are
compatible with the build host, e.g. building i686 binaries on
an x86_64 build host.
2016-05-02 08:46:52 +02:00
Alexander Larsson
f37b3261d6
Add support for disabled remotes
...
If this is set we don't list them by default, and we don't
automatically update apps from them.
2016-04-27 13:39:34 +02:00
Alexander Larsson
406ee7da18
docs: Fix typo
2016-04-26 10:34:53 +02:00
Matthias Clasen
dd8ef68f76
Expands docs around dbus policy options
...
We should mention that the NAME may end with .* to match multiple
names. Also, add the --system- variants of these options to the
xdg-app run man page where they were missing.
2016-04-20 15:27:27 -04:00
Alexander Larsson
b16517798f
Add --ref to build-import-bundle to override branch name
2016-04-20 11:46:13 +02:00
Alexander Larsson
cfd3f303b1
Add build-import-bundle command
2016-04-19 13:53:26 +02: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
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
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
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
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
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
eb3a0df75c
Add xdg-app build-sign to sign a single commit
2016-04-13 10:08:59 +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
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
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
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
7873de5155
doc: Minor reshuffling
2016-03-25 10:53:26 -04: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
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
69890db5f1
build-update-repo: Add --generate-static-deltas option
2016-02-25 21:13:20 +01:00
Alexander Larsson
c84ebe0440
Support --filesystem=xdg-run/foo
2016-02-25 17:11:37 +01:00
Alexander Larsson
26cd90e100
Allow specifying subdir of xdg dir, like: --filesytem=xdg-download/subdir
2016-02-25 16:51:45 +01:00
Alexander Larsson
b9368753fa
docs: Add docs for shell sources
2016-02-22 16:26:46 +01:00
Alexander Larsson
d5d47aa458
builder: Support separating out locale data
2016-02-18 19:22:34 +01:00
Alexander Larsson
6b6e4b213a
Add docs for appstream-compose option.
2016-02-18 17:35:11 +01:00
Alexander Larsson
bb4d67b086
builder: Support tags
2016-02-17 14:54:16 +01:00
Alexander Larsson
be97206c7b
build-init: Support --tag=FOO
2016-02-17 14:50:34 +01:00
Alexander Larsson
71259fa711
builder: Support local archives with path property
2016-02-17 14:50:01 +01:00
Alexander Larsson
6c5feb4e05
builder: Add support for --run to start a command in the build dir
2016-02-17 10:26:35 +01:00
Alexander Larsson
1d5fb6438b
Add xdg-app info command
2016-02-02 17:51:10 +01:00
Alexander Larsson
9f2769e0ce
builder: Use non-parallel-make option instead of looking at .NONPARALLEL
2016-02-01 21:40:22 +01:00
Simon McVittie
9a6bf95054
Disable gtkdoc-check by default for now
...
We know the documentation is incomplete, so there seems little value
in having 'make check' tell us that. Everything except the documentation
check is expected to succeed, so it's now more useful to report test
failures in continuous integration systems, making functional
regressions more visible.
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-01-29 09:41:23 +01:00
Alexander Larsson
4ac5befb7f
Support a proxy on the system bus similar to the one on the session bus
2016-01-29 08:50:11 +01:00
Sam Thursfield
66cdd7b197
Document the structs in libxdg-app
2016-01-28 11:26:12 +01:00
Sam Thursfield
f3f6ca8ddf
docs: Fix gtk-doc documentation
...
We need to explicitly tell gtk-doc about the XDG_APP_EXTERN macro,
otherwise it will ignore all of the function definitions.
Full docs are now produced. There are plenty of warnings which can be
fixed later.
2016-01-27 16:45:55 +01:00
Alexander Larsson
7940a773ef
Always build libxmlapp
2016-01-22 22:19:52 +01:00
Alexander Larsson
7f05ac562c
update: Make both branch and name optional
...
We know what is installed, so we just update everything
that you don't specify the details for.
2016-01-22 15:21:20 +01:00
Alexander Larsson
472405ff7f
builder: Add platform-extensions
2016-01-20 14:41:09 +01:00
Alexander Larsson
6d2aa7b29e
builder: Support sdk-extensions
2016-01-20 14:11:29 +01:00
Alexander Larsson
022b9876f7
build-init: Add --sdk-extension
2016-01-20 14:00:53 +01:00
Alexander Larsson
9e8ca412f5
build-update-repo: Add --prune and --prune-depth options
2016-01-19 12:26:45 +01:00
Alexander Larsson
6e204a4d2e
Add support to gpg sign summaries and appstream
2016-01-18 21:36:57 +01:00
Alexander Larsson
e91a4c79e0
Builder: Support commiting a platform
2016-01-18 15:22:56 +01:00
Alexander Larsson
3341fb08ad
builder: Allow building runtime sdks (based on existing sdk)
...
This includes a few different changes:
* Add build-runtime boolean property
* Rename "app-id" property to "id"
* Add metadata property to use a custom base metadata file
* Default to writable-sdk to TRUE for runtimes
* Default prefix to /usr for runtimes
* Put manifest in usr for runtimes
* Pick up debuginfo from usr for runtimes
* Make build-finish work on runtimes, but only export appdata
2016-01-18 11:43:02 +01:00
Alexander Larsson
efad98815a
build-export: Add --include option
2016-01-18 11:22:25 +01:00
Sam Thursfield
5210387fcf
docs: Add missing full stops in xdg-app-builder manpage
2016-01-17 18:33:26 +00:00
Alexander Larsson
5a12157add
remote-ls: Regularize --runtime and --app user
2016-01-13 17:21:08 +01:00
Alexander Larsson
025fa4e4d6
Merge list-apps and list-runtimes into single list command
2016-01-13 17:02:15 +01:00
Alexander Larsson
37c6485183
docs: Update for the new command names
2016-01-13 16:33:43 +01:00
Alexander Larsson
d43e797b4b
builder: Add support for rename-appdata-file option
2016-01-12 16:30:20 +01:00
Alexander Larsson
689c36aa8f
builder: Pass --body, --subject and --gpg-sign to build-export
2016-01-12 12:25:45 +01:00
Alexander Larsson
f95cd2d029
builder: Add option to enable ccache use in build
2016-01-12 12:09:09 +01:00
Alexander Larsson
e1cb723c55
build: Add --bind-mount and --build-dir arguments
2016-01-12 10:42:04 +01:00
Alexander Larsson
1934562ca2
run: Be more flexible with --runtime option, and add --runtime-version
...
This makes it easier to experiment with running an app with a
different runtime.
2016-01-12 09:57:20 +01:00
Alexander Larsson
df75f881e7
export: Add docs for the new command line arguments
2016-01-12 09:14:12 +01:00
Alexander Larsson
33f634ec67
export: Support --exclude
2016-01-11 13:57:59 +01:00
Alexander Larsson
98a7d731ad
builder: Add support for separating out debuginfo
2016-01-11 11:40:46 +01:00
Alexander Larsson
6ddee9905b
build-export: Add --runtime commit support
2015-12-21 15:38:42 +01:00
Alexander Larsson
3adb84e368
build-finish: Add --no-exports
2015-12-21 15:37:26 +01:00
Alexander Larsson
1264335458
builder: Add --disable-updates
...
Download sources, but never update existing sources (like git or bzr).
2015-12-21 10:39:23 +01:00
Alexander Larsson
ea543c8f93
lib/app: Add support for repo priorities
...
New repos default to prio 1, bundle repos default to prio 0.
Listing repos returns in sorted order, with add order as secondary
sort key.
2015-12-21 10:28:15 +01:00
Alexander Larsson
b9b9ad9ccc
app: Support --no-pull and --no-deploy in the install and update commands
...
This adds general support for the local app branch to be further ahead
of the active deployement, including showing this in list-app and
list-runtime commands.
2015-12-18 11:41:07 +01:00
Alexander Larsson
80c6a8b66c
ls-remote: Support showing remote commit ids
2015-12-18 11:04:41 +01:00
Alexander Larsson
67de92042b
apps: Use "branch", not "version" when talking about app branches
2015-12-17 20:07:14 +01:00
Alexander Larsson
570ba8b55f
Add --enable-libxdgapp configure flag and disable lib by default
2015-12-16 15:27:42 +01:00
Alexander Larsson
619adeb74c
builder: Add cleanup-command property
...
This allows you to do some custom cleanup operations
2015-12-16 14:50:05 +01:00
Alexander Larsson
739b5ab6db
builder: Support writable-sdk option
2015-12-15 19:36:10 +01:00
Alexander Larsson
1baa77f107
build-init: Allow writable sdk
2015-12-15 19:36:06 +01:00
Alexander Larsson
a0885d4576
builder: Allow specifying custom prefix
2015-12-15 19:36:06 +01:00
Alexander Larsson
54c52d9363
builder: Add --keep-build-dirs option
...
This is useful if you want to later make changes to the built stuff.
2015-12-09 21:10:22 +01:00
Alexander Larsson
6a82dd4ee3
builder: Support specifying revision in bzr sources
2015-12-09 14:06:59 +01:00
Alexander Larsson
3fdfef7e40
builder: Allow optionally specifying remote file sources
2015-12-09 12:01:55 +01:00
Alexander Larsson
6c999147c4
Add XdgAppRemoteRef do docs
2015-12-04 20:22:57 +01:00
Emmanuele Bassi
f23090a615
Generate the API reference for libxdg-app
...
We use the good old gtk-doc.
2015-12-04 15:00:35 +00:00
Alexander Larsson
ad7b379398
Add no-enumerate flag to remote and set if for bundle origin remotes
2015-12-04 11:40:51 +01:00
Murray Cumming
416704f65a
Docs: Fix some tiny typos
2015-12-02 14:31:20 +01:00
Alexander Larsson
8dc06ba30c
builder: Add support for copy-icon option
2015-12-02 08:47:43 +01:00
Alexander Larsson
6f9227d58f
builder: Support building from a subdirectory of the sources
2015-12-01 12:12:53 +01:00
Alexander Larsson
4cd2e1c993
Add script source type
2015-12-01 11:10:13 +01:00
Alexander Larsson
c78b736b23
builder: Add docs for post-install
2015-12-01 10:46:55 +01:00
Alexander Larsson
56652c9ea1
builder: Add support for cmake and forced builddir
2015-11-27 10:23:14 +01:00
Alexander Larsson
93d9d1fa0c
xdg-app-builder: Update docs
2015-11-26 14:42:56 +01:00
Alexander Larsson
b2790349d6
Add xdg-app-builder
...
This is a tool that makes it easy to build applications and their
dependecies by automating the configure && make && make install steps.
2015-11-25 15:26:32 +01:00
Alexander Larsson
3499f3bfe9
docs: Fix whitespace issues
2015-10-05 11:13:52 +02:00
Alexander Larsson
7791ea130f
build-export: Add support for signing build
2015-10-05 11:13:36 +02:00
Alexander Larsson
66e61764f3
list-remotes: Add support for listing both user and system remotes
2015-09-24 21:36:35 +02:00
Alexander Larsson
41af86dc69
Add xdg-app enter command
...
This lets you enter a sandbox and run a command there, which is useful
for debugging purposes.
2015-09-24 19:23:24 +02:00
Alexander Larsson
ee0cf9a247
add-remote: Allow specifying local pathname instead of uri
2015-09-23 14:55:12 +02:00
Alexander Larsson
eec8798f5e
document portal: Add support for transient documents
...
These are useful for passing temporary files.
2015-09-17 20:09:50 +02:00
Alexander Larsson
e9f1054e9c
Update docs for new/changes interface
2015-09-17 16:22:52 +02:00
Alexander Larsson
4eeea231e8
Rename repo-contents to ls-remote
...
This matches the other command names
2015-09-17 15:55:10 +02:00
Alexander Larsson
1ce71f4f60
list-remotes: Use --show-details instead of --details
...
This makes it consisten with e.g. repo-contents
2015-09-17 15:42:42 +02:00
Alexander Larsson
16d2fb5672
docs: Update remote related docs
2015-09-17 15:41:17 +02:00
Alexander Larsson
16b46d3579
Update docs for new run command line options
2015-05-25 16:01:33 +02:00
Alexander Larsson
8ffacee14c
Change /self to /app
...
This changes the application prefix to /app, which has the
advantage of being the same length as /usr. This may help
making some packages relocatable.
We make /self a symlink to /app for now, to keep existing images
work, but at some point we will probably remove this.
2015-05-21 18:54:06 +02:00
Alexander Larsson
f39b59689d
Pass name into build-init and store in metadata
...
We also drop this as an argument to build-export.
This lets us verify that the name is valid up-front, and having the
name in the metadata is useful for other things. For instance,
build-finish can verify that all exported files have the right prefix.
2015-04-01 14:03:51 +02:00
Alexander Larsson
e0e23ee181
Add make-app-current
2015-03-11 10:25:15 +01:00
Alexander Larsson
5bfee405b1
Add metadata option to limit DRI access
2015-03-05 15:55:36 +01:00
Alexander Larsson
7017710201
Apply metadata and --allow --forbid switches in xdg-app build
2015-02-13 10:57:56 +01:00
Alexander Larsson
72f1bd9b07
Merge pull request #50 from matthiasclasen/run-env2
...
Add an --allow option to the run command
2015-02-10 09:25:08 +01:00
Matthias Clasen
34dda64b95
Add a --title option to repo-update
...
This stores a human-readable title in the additional metadata
of the repo summary. We use xa.title as the key.
2015-02-09 17:17:19 +01:00
Matthias Clasen
c07e917b5d
Add --allow option to the run command
...
Allow to fully override the environment settings from the
application metadata. This can be useful for testing.
2015-02-09 13:24:19 +01:00
Alexander Larsson
f8e4343ff5
Merge pull request #43 from matthiasclasen/remote-title
...
Add a --title option to add-remote
2015-02-07 15:10:30 +01:00
Matthias Clasen
c313cafbae
Add a --forbid option to run
...
This allows to restrict the access that the app gets out of
the sandbox. We allow an access if the app requests it (in its
metadata) and the user doesn't forbid it (with this option).
2015-02-06 17:39:20 +01:00
Matthias Clasen
e5ee197b81
Add a --runtime option to run
...
The --runtime option lets us completely override the runtime that
is specified in the application metadata. This is useful for testing
compatibility of an application with runtimes.
2015-02-06 12:11:26 +01:00
Matthias Clasen
06608ba7d5
Add a --title option to add-remote
...
This stores a string in the remote configuration which can
be used in UIs when talking about the remote.
2015-02-06 11:11:10 +01:00
Matthias Clasen
33e31213bd
Add repo-update man page to the build
2015-01-29 14:42:31 -05:00
Alexander Larsson
2c50ebad51
Remove duplicated manpage
2015-01-29 11:23:20 +01:00
Matthias Clasen
29151659ae
Document repo-update
2015-01-24 21:54:55 -05:00
Matthias Clasen
9b5d630f8c
Update the docs
...
Update all docs to include --system, and explain better what
the --user and --system options do for each command.
2015-01-23 08:15:08 -05:00
Matthias Clasen
8f67d46d7b
Document the --updates option
2015-01-20 21:16:20 -05:00
Matthias Clasen
cdc13dd25c
Change terminology from 'repo' to 'remote'
...
The add/delete/list-repo commands are renamed to add/delete/list-remote,
to align our terminology with ostree and git.
2015-01-19 20:16:00 -05:00
Matthias Clasen
7dfd383c96
Drop the unused --name option for build-init
...
It is not used at all.
2015-01-19 19:56:56 -05:00
Matthias Clasen
dadf3c2109
Add wayland key to the docs
2015-01-19 07:22:25 -05:00
Alexander Larsson
bf7fa43431
Merge pull request #21 from matthiasclasen/uninstall
...
Uninstall commands
2015-01-19 11:50:33 +01:00
Alexander Larsson
77da120a06
Merge pull request #25 from matthiasclasen/wip/wayland
...
Here is a very quick patch to get the wayland socket to show up.
2015-01-19 11:46:09 +01:00
Alexander Larsson
c239e3b077
Merge pull request #23 from matthiasclasen/update-to-commit
...
Some work towards rollback and checkout
2015-01-19 11:43:14 +01:00
Alexander Larsson
5109dfc003
Merge pull request #22 from matthiasclasen/commit-messages
...
Add options to specify a commit message with build-export
2015-01-19 11:41:00 +01:00
Matthias Clasen
cf723600a8
Some larger documentation rework
...
Move repetitive parts to the main man page, group command list
with sections, improve consistency of the command man pages,
add cross-references.
2015-01-16 23:55:35 -05:00
Matthias Clasen
7481a2a2f5
Fix some typos in the main man page
2015-01-16 22:28:17 -05:00
Matthias Clasen
9a0d3a77fb
Add a --commit option to the update commands
...
This makes it possible to give a specific commit that should be
deployed. If the option is not specified, we still update to the
tip of the branch.
2015-01-16 21:55:48 -05:00
Matthias Clasen
6d3d397142
Make the BRANCH argument optional
...
This is more in line with the install commands, where we
also default to "master".
2015-01-16 19:16:07 -05:00
Matthias Clasen
c92a2635a8
Improve the uninstall commands
...
Undeploy all deployed commits, remove the ref from the repo,
and prune unowned objects from the repository.
2015-01-16 18:58:50 -05:00
Matthias Clasen
e404480e72
Add options to specify a commit message with build-export
...
That seems fairly standard.
2015-01-16 16:41:07 -05:00
Alexander Larsson
e46dc64954
Merge pull request #18 from matthiasclasen/build-finish
...
Two commands that give us some build->bundle support
2015-01-16 21:27:09 +01:00
Matthias Clasen
597046e78f
Shorten some options of the repo-contents command
...
Make the options just --apps and --runtimes. Less typing.
2015-01-16 14:11:22 -05:00
Matthias Clasen
da22eece64
Fix a pervasive typo in the docs
...
Every single man page had an instance of 'dxg' in it.
Damn you, copy-paste!
2015-01-16 14:02:16 -05:00
Matthias Clasen
d137ca16c6
Rename make-repo to build-export
...
This is more in line with the other build commands.
2015-01-16 13:59:34 -05:00
Matthias Clasen
08d06ddf00
Use a commit filter in make-repo
...
We only import the following:
- everything below files/
- everything below export/
- the metadata file
This conveniently takes care of keeping the built-time var/ out
of the repo, and prevents other crap from creeping in.
2015-01-16 13:53:36 -05:00
Matthias Clasen
8ba180fe74
make-repo: Rename the REPO arg
...
Calling it LOCATION makes it less likely to be confused with
the name of a remote.
2015-01-16 11:28:16 -05:00
Matthias Clasen
842ba6a649
Drop the --arch option for make-reop
...
We can determine the arch from the metadata.
2015-01-16 11:24:05 -05:00
Matthias Clasen
3b92f28eea
Don't remove var in build-finish
...
We'll filter it out when committing, instead.
2015-01-16 11:03:10 -05:00
Matthias Clasen
2630d8bda3
Add an --allow option to build-finish
...
Change the default [Environment] that is written to be all locked up.
The --allow option can be used multiple times, to override specific
keys to be more permissive.
2015-01-16 11:01:27 -05:00
Matthias Clasen
123b0f34d4
Add a --command option to build-finish
...
Preserve an existing command key, unless --command is explicitly
specified. And only go hunting for executables if we don't have
a command.
2015-01-16 10:35:47 -05:00
Matthias Clasen
2eed118510
Document the uninstall-app and uninstall-runtime commands
2015-01-16 00:59:27 -05:00
Matthias Clasen
4490029880
Make repo-contents operate on a single repo
...
This is more in line with the other commands.
2015-01-15 23:42:48 -05:00
Matthias Clasen
d112b320b2
Document the repo-contents command
2015-01-15 23:30:17 -05:00
Matthias Clasen
14be30cc11
Add a forgotten -v option to the build-finish docs
...
This was overlooked when copy-pasting the option
docs from build-init (which is the only command where
-v is not the short option for --verbose).
2015-01-15 21:00:59 -05:00
Matthias Clasen
067e95fcfd
Document the make-repo command
2015-01-15 20:59:56 -05:00
Matthias Clasen
47873497bf
Document the build-finish command
2015-01-15 17:41:58 -05:00
Alexander Larsson
fb6238347a
Merge pull request #14 from matthiasclasen/list-runtimes
...
Commands to list applications and runtimes
2015-01-15 20:09:20 +01:00
Matthias Clasen
60e6b99f53
Update example in list-runtimes docs
2015-01-15 13:58:56 -05:00
Matthias Clasen
f7ff733071
Document list-repos command
2015-01-15 06:13:49 -05:00
Alexander Larsson
c763716c6a
Fix typo in docs s/-remo/-repo/
2015-01-15 09:15:15 +01:00
Alexander Larsson
b8c3e45b3c
Merge pull request #11 from matthiasclasen/double-dot
...
Fix a typo
2015-01-15 09:12:20 +01:00
Alexander Larsson
b1ebfab22a
Merge pull request #10 from matthiasclasen/delete-repo-docs
...
Document the delete-repo command
2015-01-15 09:12:03 +01:00
Matthias Clasen
6947034c8e
Document the list-apps command
2015-01-14 21:39:13 -05:00
Matthias Clasen
c12b71dc36
Document the list-runtimes command
2015-01-14 21:08:02 -05:00