Commit Graph

267 Commits

Author SHA1 Message Date
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