Matthias Clasen
6062987162
Document who remotes can be preconfigured
...
This is interesting information for distributors.
2016-10-26 20:17:51 +02:00
Alexander Larsson
25e39dfddd
build-finish: Add --extra-data= argument
2016-10-21 08:57:42 +02:00
Alexander Larsson
f117985e37
remote-add: Make --from a boolean arg instead of a string arg
...
So before you did:
flatpak --user remote-add --from=https://sdk.gnome.org/gnome.flatpakrepo gnome
Now you do:
flatpak --user remote-add --from gnome https://sdk.gnome.org/gnome.flatpakrepo
This is a somewhat break, but this means we handle --from the same in
remote-add and install, which seems important.
2016-10-19 18:00:12 +02:00
Alexander Larsson
c70c453eab
remote-add: Support installing .flatpakrepo files from http uri
2016-10-19 12:41:08 +02:00
Alexander Larsson
28261d839e
update/install: Install/Update runtime dependencies as needed
...
When an application requires a runtime that is not installed, search
for it and prompt for permissions to install it. Also, update required
runtimes when the app is being updated.
2016-10-19 12:40:49 +02:00
Alexander Larsson
b2af78fb6f
remotes: Add no-use-for-deps property
...
If this is set for a remote we will never automatically look for
dependencies in it. This makes dependency search faster, as we
don't need to search in app-only remotes.
2016-10-19 11:34:22 +02:00
Alexander Larsson
e8cf8be8ab
install: Check that runtime is installed before installing app
2016-10-17 17:54:35 +02:00
Alexander Larsson
ee0ffbcb35
uninstall: Support multiple REFs
2016-10-17 17:27:16 +02:00
Alexander Larsson
0abdcd3f03
Merge pull request #345 from mariospr/issue221
...
Add server-side support for default-branch for remote repositories
2016-10-17 12:31:07 +02:00
Alexander Larsson
4cb3f7fd79
builder: Support application inheritance
...
When initializing a build you can initialize the application directory
with the files from another directory, and optionally a set of its
extensions. This allows one to create a "base" application that
can be derived from in multiple forms. A typical example is an application
framework like Electron. The base electron app has all the dependencies
needed to write Electron app, and then your manifest can add the specific
files needed for your application.
An example snipped could look something like:
"base": "org.base.App",
"base-version": "stable",
"base-extensions": ["org.base.app.Locale", "org.base.app.Debug" ],
2016-10-17 11:40:57 +02:00
Alexander Larsson
d628350794
build-init: Support --base to create an application based on another
2016-10-17 11:37:19 +02:00
Matt Watson
b9521e719b
builder: add allow missing runtimes options
...
The --allow-missing-runtimes options will allow flatpak builder to
not abort immediately if the sdk or runtime for the app being built
are missing.
This option will be useless when building anything in the modules
section of the app manifest. The calls to flatpak-build will fail
because of the missing sdk.
However, it may be useful when an application does not require
building anything inside the sandbox, and the application files
will be installed via other means.
2016-10-17 09:49:34 +02:00
Matt Watson
e968b87f6a
builder: add a build finish option
...
With the option you can resume an application build where it left
off when calling flatpak-buidler --build-only
2016-10-17 09:49:34 +02:00
Alexander Larsson
f9ed36e092
docs: Fix docs for no-debuginfo
...
This was documented in reverse, see:
https://github.com/flatpak/flatpak/issues/349
2016-10-17 09:42:56 +02:00
Mario Sanchez Prada
8decac7d7f
Added new public API: flatpak_installation_update_remote_sync()
...
Provides access to the functionality offered by the new internal API
flatpak_dir_update_remote_configuration(), in a similar way to what
can be done via the command 'flatpak remote-modify --update-metadata'.
2016-10-14 16:42:17 +01:00
Mario Sanchez Prada
2cbb1da935
Added new parameter for the remote-modify built-in command: --update
...
This new command relies on flatpak_dir_update_remote_configuration()
and allows updating the local configuration for the remotes based on
the extra metadata present in the OSTree repo's summary file.
This parameter can still be combined with --title and --default-branch,
which take precedence when combined with --update.
2016-10-14 16:42:17 +01:00
Alexander Larsson
70e9b2c737
update: Support specifying multiple arguments
2016-10-14 16:39:10 +02:00
Alexander Larsson
7018717ce2
install: Support installing multiple apps at the same time
...
Instead of using "NAME [BRANCH]" as the command list we now
support REF..., where each REF can be partial. This is easiest
explained by examples. Here are some valid refs:
org.test.App - only app id
app/org.test.App/x86_64/stable - full ref
org.test.App/x86_64/stable - full ref without prefix
org.test.App - only app id
org.test.App//stable - only branch
org.test.App/x86_64 - only arch
If any parts are left out they are wildcarded. Such parts are filled
first by looking at other command line arguments like --arch and
--app/--runtime. And finally by looking at what is available in the
remote. If there are multiple matches the user is told the options
in an error message.
2016-10-14 15:45:16 +02:00
Alexander Larsson
df6a5450c1
docs: Fix wrong reference to "flatpak remote-list".
...
This fixes https://github.com/flatpak/flatpak/issues/342
2016-10-13 09:08:21 +02:00
Tiago Gomes
847fdc657f
Docs: update system-wide directory used by flatpak
2016-10-07 15:51:38 +01:00
Alexander Larsson
3b4a6fcb05
Add --default-branch options to docs
2016-10-06 12:46:07 +02:00
Adrian Perez de Castro
6cbf3b6c01
Support mixed (multilib/multiarch) binaries in Flatpaks
...
This adds a new "multiarch" feature which allows bundling e.g. 32-bit
binaries to be run in a x86_64 environment. By default, the seccomp
filter is configured to allow only the native architecture. When the
"multiarch" feature is enabled, the filter will be configured to allow
running binaries of additional architectures supported. For x86_64, this
allows x86 32-bit binaries; and for Aarch64, allows 32-bit ARM binaries.
Application bundles can use the feature e.g. in order to ship 32-bit
binaries alongside with a mostly-64-bit application. This is particularly
interesting when for applications that might launch themselves prebuilt
programs for which 64-bit versions do not exist. For example, the Steam
application is available as a 64-bit executable, but some of the games
available are 32-bit only. A Flatpak bundle for the Steam application
with "multiarch" enabled is able launch the 32-bit games -- without the
feature enabled, the seccomp filter would prevent them from running.
Multiple-architecture support is enabled by adding the "multiarch" value
for the "features" key in the metadata file for a Flatpak:
[Context]
features=multiarch;
The corresponding "--allow=multiarch" command line option is supported
in "flatpak build-finish" as well.
2016-10-03 09:54:05 +02:00
Alexander Larsson
c9c35133c3
Add support for --device=kvm
...
Solves: https://github.com/flatpak/flatpak/issues/332
2016-09-30 16:46:51 +02:00
Alexander Larsson
270707d5ca
Make flatpak enter work
...
This completely regressed, and it seems complicated to fix it without
requiring extra privileges. So, the new version requires you to sudo
to run it, which is not great, but at least it makes it work for
all cases.
2016-09-28 20:20:17 +02:00
Alexander Larsson
8fa7f7fe09
Add --ostree-verbose
...
This enables debug logging for OSTree
2016-09-27 11:37:11 +02:00
Alexander Larsson
91c9d474dd
flatpak-builder: Add support for --show-deps
2016-09-20 15:58:43 +02:00
Christian Hergert
fdee71b36a
doc: add blurb about what --allow=devel does
...
This adds a short bit of text on what the --allow=devel build-finish
argument does (which allows access to perf and ptrace syscalls).
2016-09-17 10:08:39 -07:00
Matthias Clasen
18dddfca64
Add a cross-reference to flatpakrepo
2016-09-14 10:45:10 -04:00
Matthias Clasen
fa23c86675
Add new man pages to the docs
2016-09-14 10:44:54 -04:00
Matthias Clasen
b67ace498b
Add a manpage for the flatpakrepo file format
...
Similar to the one for flatpakref.
2016-09-14 10:44:31 -04:00
Matthias Clasen
2c3a8cc36a
Document --from for flatpak remote-add
...
This was missing from the docs.
2016-09-14 10:43:38 -04:00
Matthias Clasen
c5559141ff
Document the flatpakref file format
...
Add a man page with details about this file format: flatpak-flatpakref.5
2016-09-13 14:59:37 -04:00
Alexander Larsson
b53b78b2a2
run: Drop/Hide --no-desktop option
...
This is no longer needed, as we don't hard-require systemd --user.
We keep the opion there, but hidden in order to be backwards compatible
with old code that used this.
2016-09-08 11:40:49 +02:00
Alexander Larsson
aafc0f3b66
run/metadata: Add support for --allow=devel
...
This enables support for ptrace and perf for the app, similar
to what run -d manually gave you before. This is nice to be
able to package an app like gnome-software.
2016-09-05 21:41:14 +02:00
Alexander Larsson
23c1c22266
commit-from: Support specifying multiple refs
...
You can list refs, or specify none to mean every source ref
2016-08-23 16:13:04 +02:00
Alexander Larsson
0a3ca96da0
Add --no-update-summary to export, commit-from and import-bundle
...
We want this for e.g. the build system where we will do multiple
repo operations and then atomically regenerate the summary once.
2016-08-23 15:12:27 +02:00
Alexander Larsson
6386ea3222
build-import-bundle: Update repo similarly to build-export
...
This makes sure we update the summary, as well as take args for
gpg keys and whether to update the appstream branch.
2016-08-23 14:57:08 +02:00
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