Alexander Larsson
fb6695e9a4
Add macros for common ANSI tty escape codes
2017-05-03 11:17:41 +02:00
Matthias Clasen
b07240f525
Use the new output helper
...
Instead of open-coding isatty(), use flatpak_fancy_output().
2017-05-03 11:06:43 +02:00
Matthias Clasen
16a5188a64
Add a repo command
...
For now, this just prints bits of summary information in
human-readable form. This command could grow over time
to provide other functionality for managing local repositories.
2017-04-18 12:36:23 +02:00
Matthias Clasen
81f688fc66
Fix --help output for --installation
...
This option takes an argument, so specify an argument
name in the GOptionEntry to make the --help output
come out right.
2017-04-10 08:12:54 +02:00
Alexander Larsson
8f62e46265
Add flatpak --gl-drivers to show the active drivers
2017-02-06 14:37:27 +01:00
Alexander Larsson
f0cad76ff8
Rename flatpak remote-list to flatpak remotes
...
The old name is deprecated and not documented, but still
works.
Fixes https://github.com/flatpak/flatpak/issues/482
2017-01-26 10:41:18 +01:00
Ikey Doherty
605c7ee87b
Fix compiler warnings with uninitialised cleanup pointers
...
This change fixes GCC compiler warnings where a cleanup function was
specified on an uninitialised pointer, which in the view of GCC could
result in an errornous free of uninitialised memory, if the functions
that initialise them do not return NULL.
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
2017-01-19 10:05:13 +01:00
Mario Sanchez Prada
a3961b4875
Support the --installation parameter for most flatpak commands
...
Other commands (e.g. remote-list) need explicit support for this parameter.
2016-12-17 00:32:46 +00:00
Mario Sanchez Prada
22e3f83fb6
Remove internal API flatpak_dir_get(gboolean user)
...
User and system installations is no longer a binary decision, so remove
this API to force explicit calls to either flatpak_dir_get_system_default()
or flatpak_dir_get_system_list() when dealing with system installations.
2016-12-16 19:17:18 +00:00
Alexander Larsson
f6d1a064b9
Clean up docs/help for install and remote-add
...
This makes it easier how the different variants like --from and --bundle
work.
Fixes https://github.com/flatpak/flatpak/issues/438 and
https://github.com/flatpak/flatpak/issues/439
2016-12-13 11:19:06 +01:00
Alexander Larsson
8fa7f7fe09
Add --ostree-verbose
...
This enables debug logging for OSTree
2016-09-27 11:37:11 +02:00
Alexander Larsson
6578d37984
Drop libgsystem dependency
2016-08-22 16:00:33 +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
Matthias Clasen
75218c4a65
Fix license headers
...
We were referring to the nonexisting "version 2" of the
Lesser GPL. It should be "version 2.1".
2016-07-29 14:27:49 -04:00
Matthias Clasen
8732c5a8fb
Translate errors
...
These show up in the UI and often refer to (translated) parts of
the UI.
2016-07-23 14:37:02 -04:00
Matthias Clasen
ad34562383
Translate main context summary
...
We need to use the translations, not just mark the strings
for extraction.
2016-07-23 11:20:28 -04:00
Matthias Clasen
43da58db5f
Mark commandline options for translations
2016-07-23 11:01:50 -04:00
Alexander Larsson
8740a9ded3
Add flatpak --supported-arches
2016-06-23 11:12:28 +02: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
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
Matthias Clasen
0d2b3ec5d0
flatpak enter: Add completion
...
This was the last command without completion, so we're complete!
2016-06-10 01:09:51 -04:00
Matthias Clasen
302dbd2910
Trivial whitespace fix
2016-06-10 00:54:04 -04:00
Matthias Clasen
7cdb8c386c
completion: Ensure --help options show up
...
Help was not showing up in completions, which is unfortunate.
2016-06-10 00:47:20 -04:00
Alexander Larsson
8533f06dc0
Add more completions
2016-05-30 14:54:22 +02:00
Alexander Larsson
4e3149e88d
Properly show the help in case of no command or unknown command
2016-05-27 16:48:10 +02:00
Alexander Larsson
eeaa832095
Replace bash completion shell script with C-based version
...
This doesn't do everything yet, but its got the basics covered.
2016-05-27 16:30:13 +02:00
Alexander Larsson
9ec3e7346b
main: Report unknown command before unknown arg
...
This fixes: https://github.com/flatpak/flatpak/issues/23
2016-05-26 19:48:25 +02:00
Alexander Larsson
e5649ead07
Fix debug spew with -v
2016-05-12 21:16:18 +02:00
Alexander Larsson
5e9b247d26
Migrate ~/.local/share/xdg-app to ~/.local/share/flatpak
2016-05-09 12:21:28 +02:00
Alexander Larsson
c24528d369
Rename source files to flatpak
2016-05-09 09:00:20 +02:00