Commit Graph

608 Commits

Author SHA1 Message Date
Alexander Larsson
6ee61a29fd Remove support for /etc/flatpak/remotes.d config files
This kind of remotes don't work very well, because they are not modifiable
or removable and can cause conflicts with pre-existing remotes.

We instead want to switch to a way to define default remotes that
is applied to the regular ostree repo config, allowing later changes.

Closes: #2884
Approved by: alexlarsson
2019-05-08 08:13:52 +00:00
Alexander Larsson
40cc39ebf6 add-remote: Support loading filter from .flatpakrepo file
This is kind of special as it handles non-existing filter keys
as "override to no filters" instead of "leave existing filters" whic
we do for other things. However, that matches how we want to use
.flatpakrepo files to override site-local filters.

Closes: #2869
Approved by: alexlarsson
2019-05-06 13:58:58 +00:00
Alexander Larsson
2bd55552b6 flatpak remote-modify add --filter and --no-filter options
Closes: #2869
Approved by: alexlarsson
2019-05-06 13:58:58 +00:00
Alexander Larsson
9454e2d65e flatpak remote-add add --filter option
Closes: #2869
Approved by: alexlarsson
2019-05-06 13:58:58 +00:00
Alexander Larsson
72a7f8aa4e flatpak remotes - show filter in list
There is an optional filter column, and a flag for filtered remotes in the
default options.

Closes: #2869
Approved by: alexlarsson
2019-05-06 13:58:58 +00:00
Alexander Larsson
0a66707b00 remote-ls: Add --cached option
This prefers cached data, even if stale.

Closes: #2859
Approved by: alexlarsson
2019-04-26 08:00:27 +00:00
Alexander Larsson
8057de20a8 remote-info: Add --cached support
This prefers any cached data if available, even if its stale.

Closes: #2859
Approved by: alexlarsson
2019-04-26 08:00:27 +00:00
Alexander Larsson
3b060d6082 manpages: Add the new name column
Closes: #2852
Approved by: alexlarsson
2019-04-24 13:31:35 +00:00
Matthias Clasen
51fce8eee7 permission-reset: Add an --all option
This lets users do a 'factory reset' of the permission store.

Closes: #2830
Approved by: alexlarsson
2019-04-23 07:54:06 +00:00
Matthew Leeds
5e710cb995 doc/flatpak: Document FLATPAK_SYSTEM_CACHE_DIR
This environment variable has been used for a while; it's just
undocumented. Copy some information from a comment in flatpak-dir.c.

Closes: #2841
Approved by: matthiasclasen
2019-04-20 17:41:34 +00:00
Matthew Leeds
b1d4e19646 doc/build-export: Fix a typo 2019-04-19 15:17:06 -07:00
Matthias Clasen
d65ebf19f3 list: Add a runtime column
This is useful information, so we should allow showing it.

Closes: #2815
Approved by: alexlarsson
2019-04-12 09:13:34 +00:00
Alexander Larsson
b01a52e7c6 build-commit-from: Add support for--end-of-life-rebase=OLD=NEW
This lets you rebase an app, as well as other matching refs (OLD is
used as a prefix match) such as locale and debug extensions.

r your changes. Lines starting

Closes: #2775
Approved by: alexlarsson
2019-04-12 08:59:35 +00:00
Ryan Gonzalez
440bee1d51 build-export: Add --end-of-life-rebase
Closes: #2775
Approved by: alexlarsson
2019-04-12 08:59:35 +00:00
Valentin David
8ce289b4c3 Add support for PCSC socket
Closes: #2778
Approved by: alexlarsson
2019-04-12 06:37:44 +00:00
Matthias Clasen
44c540a1c4 Allow overriding bus names to none
flatpak override could set a bus name policy to
talk or own, but not to none. Fix this oversight.

Closes: https://github.com/flatpak/flatpak/issues/2722

Closes: #2818
Approved by: alexlarsson
2019-04-12 06:31:05 +00:00
Alexander Larsson
889e3b862a build-update-repo: Support setting comment/description/homepage/icon
This just sets the option in the "flatpak" group, similar to how
the title works. Nothing uses this yet.

Closes: #2814
Approved by: alexlarsson
2019-04-10 14:34:32 +00:00
Alexander Larsson
69e869c9d2 Support comment/description/homepage/icon in remote-add too
Closes: #2814
Approved by: alexlarsson
2019-04-10 14:34:32 +00:00
Matthias Clasen
624099f039 remote-modify: Allow setting the new remote fields
Add --comment, --description, --homepage and --icon options.

Closes: #2812
Approved by: alexlarsson
2019-04-10 11:57:16 +00:00
Matthias Clasen
cd4e58b940 Document new remote config fields
Closes: #2812
Approved by: alexlarsson
2019-04-10 11:57:16 +00:00
Matthias Clasen
f3ca031d00 Add FlatpakRemote api for flatpakrepo fields
This makes the new flatpakrepo fields available
to users of libflatpak.

Closes: #2812
Approved by: alexlarsson
2019-04-10 11:57:16 +00:00
Matthias Clasen
43b58b1b19 remotes: Add columns for flatpakrepo fields
Allow showing all information that we have
about remotes.

Closes: #2812
Approved by: alexlarsson
2019-04-10 11:57:15 +00:00
Rafael Fontenelle
95e692794b Fix misspellings
Closes: #2807
Approved by: matthiasclasen
2019-04-08 12:50:42 +00:00
Matthew Leeds
d3b7bfa92d doc: Fix capitalization of gedit
It's gedit not GEdit[1][2].

[1] https://wiki.gnome.org/Apps/Gedit
[2] https://flathub.org/apps/details/org.gnome.gedit

Closes: #2788
Approved by: matthiasclasen
2019-03-30 13:02:10 +00:00
Matthew Leeds
12d5ee74f3 doc/flatpakref: Fix description of Name key
The Name key specifies the ID of the app or runtime, not the ID of the
app's runtime.

Closes: #2760
Approved by: matthiasclasen
2019-03-15 18:16:54 +00:00
Alexander Larsson
d0026af959 build-update-repo: Add --static-delta-ignore-ref=PATTERN
This is useful if you don't want to e.g. generate deltas for debug
or source refs.
2019-03-12 14:53:36 +01:00
Matthew Leeds
cdb3407c59 doc/flatpak-install: Tweak examples
The gnome-apps repo is not being kept up to date so we don't want to
imply that people should use it, and make a few other tweaks to the
install command examples.

Closes: #2743
Approved by: matthiasclasen
2019-03-07 14:38:38 +00:00
Alexander Larsson
441c1f52ea build-commit-from: Support --extra-collection-id
If this is passed, we add an extra collection id binding to
the commit, as well as create a separate ref for that particular
collection id.

This weakly depends on:
  https://github.com/ostreedev/ostree/pull/1805
In that without that change ostree pull will not respect
multiple collection-id bindings. It will still work for
the main/first collection id though.

Closes: #2634
Approved by: alexlarsson
2019-01-28 08:37:51 +00:00
Matthias Clasen
7ec898f00b Document --columns ellipsization
Update the relevant man pages with this information.

Closes: #2624
Approved by: matthiasclasen
2019-01-23 12:45:00 +00:00
Matthew Leeds
c6d511268a doc/flatpak-metadata: Link to fd.o spec consistently
Avoid linking to the same fd.o spec just linked to a few lines above,
and rearrange things to be more readable.

Closes: #2606
Approved by: matthiasclasen
2019-01-17 02:25:10 +00:00
Matthias Clasen
81b25058ae docs: Clarify that --command is only for run
This may not otherwise be obvious.

Closes: #2592
Approved by: matthiasclasen
2019-01-15 20:17:31 +00:00
Matthias Clasen
71411ee88c repair: Document --reinstall-all
Closes: #2473
Approved by: alexlarsson
2019-01-14 13:21:12 +00:00
Matthias Clasen
b293562ae9 repair: Document --dry-run
Also mention the need to run flatpak repair as root
when operating on system repositories.

Closes: #2473
Approved by: alexlarsson
2019-01-14 13:21:12 +00:00
Matthias Clasen
042c1f7174 list: Fix a typo in the docs
Its --columns, not --column.

Closes: #2568
2019-01-13 11:15:18 -05:00
Matthias Clasen
4ff95d94e8 build-export: Document that NOW is a valid timestamp
We may not want to guarantee all the formats that this
datetime parser accepts, but NOW seems useful enough and
is already mentioned in flatpak-build-commit-from(1).

Closes: #2498
Approved by: matthiasclasen
2019-01-11 18:32:44 +00:00
Matthias Clasen
a35030ab5e build-commit-from: Document missing options
Document --end-of-life, --timestamp and --disable-fsync.

Closes: #2498
Approved by: matthiasclasen
2019-01-11 18:32:44 +00:00
Matthias Clasen
51a7643d41 Document the new options
Closes: #2556
Approved by: alexlarsson
2019-01-11 11:42:13 +00:00
Matthias Clasen
497b784d21 doc: Add a missing comma
Fix a pervasively copied typo.

Closes: #2553
Approved by: matthiasclasen
2019-01-09 18:45:38 +00:00
Matthias Clasen
4f915388a5 Document --installations
Closes: #2122
Approved by: matthiasclasen
2019-01-08 00:26:17 +00:00
Matthias Clasen
4fad2de113 Generate a single-file api reference
Add a rule to generate a single-file html version of the
libflatpak api reference, for integration into readthedocs.

This is pretty plain, but serves the purpose.

Closes: #2526
Approved by: matthiasclasen
2019-01-07 22:56:43 +00:00
Matthias Clasen
efcf48f295 Rename library docs main xml file
We already have a flatpak-docs.xml file one level up.
This can only lead to confusion.

Closes: #2526
Approved by: matthiasclasen
2019-01-07 22:56:43 +00:00
Matthias Clasen
7c79fcc197 build-export: Document --end-of-life
This option was added without documentation.

Closes: #2524
Approved by: mwleeds
2019-01-04 19:25:32 +00:00
Matthew Leeds
5238dd4f4b doc: Update wording for verbose options
This more closely matches the recently changed --help output for these
options, and distinguishes them from the options that only print some
information and exit.

Closes: #2537
Approved by: matthiasclasen
2019-01-04 03:53:19 +00:00
Matthias Clasen
5bb7d9aec6 docs: Small improvements
Make it clear that flatpak(1) only lists global options,
and individual commands have their own.

Add a reference to flatpak-installation(5)

Closes: #2513
Approved by: mwleeds
2019-01-03 22:38:55 +00:00
Matthias Clasen
1ab6bb027a build-bundle: Document --from-commit
This option was missing from the docs.

Closes: #2528
Approved by: mwleeds
2019-01-03 22:22:48 +00:00
Matthias Clasen
f453544aaa Document the --cwd option
Closes: #2443
Approved by: alexlarsson
2018-12-20 15:35:23 +00:00
Matthias Clasen
1f64886c6e remote-ls: Update the docs
Add the new columns, and match column order
with --help output.

Closes: #2409
Approved by: alexlarsson
2018-12-19 15:45:34 +00:00
Matthias Clasen
f53ad59ccf list: Update the docs
Add new columns, and update the example.

Closes: #2409
Approved by: alexlarsson
2018-12-19 15:45:34 +00:00
Matthias Clasen
cca8355b72 search: Update the docs
Document the --columns option as we do everywhere.

Closes: #2409
Approved by: alexlarsson
2018-12-19 15:45:34 +00:00
Matthias Clasen
1bab520197 Document FLATPAK_ID
Mention this environment variable in flatpak-run(1).

Closes: #2447
Approved by: alexlarsson
2018-12-19 14:35:39 +00:00