Matthias Clasen
|
85288750e6
|
Prevent an error pileup
Unfortunately, g_key_file_get_string can set error and still
return non-NULL (e.g if the value contains unsupported escape
sequences).
|
2015-01-14 22:11:19 -05:00 |
Matthias Clasen
|
6947034c8e
|
Document the list-apps command
|
2015-01-14 21:39:13 -05:00 |
Matthias Clasen
|
c1e19dab8e
|
Simplify the list-app/runtime output
Show the triples in the same format in which they appear in
metadata files: name/arch/branch.
|
2015-01-14 21:34:59 -05:00 |
Matthias Clasen
|
778071f9ba
|
Add a list-apps command
|
2015-01-14 21:31:39 -05:00 |
Matthias Clasen
|
04260718e4
|
Factor out the printing code into separate functions
We will reuse this for listing applications in the future.
|
2015-01-14 21:25:37 -05:00 |
Matthias Clasen
|
c12b71dc36
|
Document the list-runtimes command
|
2015-01-14 21:08:02 -05:00 |
Matthias Clasen
|
459e15a820
|
Add a list-runtimes command
This allows to list the installed runtimes, optionally showing
arches and branches in addition to names.
|
2015-01-14 20:56:25 -05:00 |
Matthias Clasen
|
e295608165
|
Avoid many copies of usage_error function
No need to have the identical static function in every
builtin command.
|
2015-01-14 18:49:34 -05:00 |
Matthias Clasen
|
c2b7ac0615
|
Fix a typo
|
2015-01-14 18:29:57 -05:00 |
Matthias Clasen
|
689ba7b5a3
|
Document the delete-repo command
|
2015-01-14 18:27:30 -05:00 |
Matthias Clasen
|
ebc9772f04
|
Complete the documentation for the run command
This was missing some of the options.
|
2015-01-14 18:26:50 -05:00 |
Matthias Clasen
|
e237b3525e
|
Improve --branch help text for the run comment
This was clearly a copy-paste error.
|
2015-01-14 18:26:11 -05:00 |
Alexander Larsson
|
92f23cbde2
|
Merge pull request #4 from matthiasclasen/delete-repo
Delete repo
|
2015-01-14 10:28:59 +01:00 |
Alexander Larsson
|
2be077b9d2
|
Merge pull request #5 from matthiasclasen/no-help-errors
No help errors
|
2015-01-14 10:27:36 +01:00 |
Alexander Larsson
|
d3f0182452
|
Merge pull request #6 from matthiasclasen/arg-help
Arg help
|
2015-01-14 10:27:11 +01:00 |
Alexander Larsson
|
7bb9dbc9af
|
Merge pull request #7 from matthiasclasen/docs
Docs
|
2015-01-14 10:26:25 +01:00 |
Matthias Clasen
|
2232a6d066
|
Add man pages
|
2015-01-14 01:38:49 -05:00 |
Matthias Clasen
|
1a8e40657a
|
Add an argument name to --arch and similar options
This makes the help text more accurate, and helpful.
|
2015-01-14 00:47:59 -05:00 |
Matthias Clasen
|
93de27256d
|
Avoid error for build --help
Those errors are so scary and red, don't show them to somebody
asking for help.
|
2015-01-13 21:40:33 -05:00 |
Matthias Clasen
|
20a0917306
|
Add a delete-repo command
A natural counterpart to add-repo.
|
2015-01-13 21:06:07 -05:00 |
Matthias Clasen
|
64fc43101d
|
run: don't print error with for --help
This follows what all the other builtins do: first parse the
commandline, then error out if we got too few arguments.
|
2015-01-13 19:54:19 -05:00 |
Alexander Larsson
|
f1c3b1e988
|
Merge pull request #2 from vrutkovs/jhbuild-hook
Use sudo and DESTDIR in install-exec-hook
|
2015-01-13 21:49:37 +01:00 |
Vadim Rutkovsky
|
4720d889f8
|
Use sudo only if --enable-sudo is passed
|
2015-01-13 14:56:14 +01:00 |
Vadim Rutkovsky
|
ad1914a912
|
Use sudo and DESTDIR in install-exec-hook
This will allow installing the app via jhbuild
|
2015-01-13 13:40:21 +01:00 |
Alexander Larsson
|
ab27b589f0
|
run: Fix possible free of static string
|
2015-01-13 13:06:37 +01:00 |
Alexander Larsson
|
eedc570a8a
|
Use new ostree_repo_pull_default_console_progress_changed,
|
2015-01-12 16:49:06 +01:00 |
Alexander Larsson
|
0d78d22adb
|
Use gs_dirfd_iterator for xdg_app_remove_dangling_symlinks
|
2015-01-12 16:44:47 +01:00 |
Alexander Larsson
|
b8c29f18ae
|
Use the new gs_dirfd_iterator api in symlink_tree
|
2015-01-12 16:30:59 +01:00 |
Alexander Larsson
|
206bf95fa3
|
Use the new gs_set_error_from_errno
|
2015-01-12 15:40:26 +01:00 |
Alexander Larsson
|
038342cec5
|
Use the new gs_unref_keyfile define
|
2015-01-12 15:31:48 +01:00 |
Alexander Larsson
|
3b1893aaaf
|
Require latest ostree/libgsystem
This allows us to clean up some code and get the new static delta
support.
|
2015-01-12 15:31:12 +01:00 |
Alexander Larsson
|
cf9713e9c4
|
Clean up dangling exported symlinks on deploy.
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
15642f471d
|
Add xdg_app_remove_dangling_symlinks helper
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
0c28aab49a
|
Explode exports on deploy
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
e2c8d59316
|
Add xdg_app_overlay_symlink_tree helper
This will be used during exports
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
721abb5375
|
Set a few standard env vars when running apps
This sets PATH, and XDG_DATA_DIRS, and unsets any LD_LIBRARY_PATH
from the host env.
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
5747018d6e
|
Add build builtin
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
77d15d7ab0
|
Move some run setup code into helpers
This moves the specialized code for things like X11/dbus/pulse to
separate helpers.
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
734ca13f82
|
Add and use xdg_app_find_deploy_dir_for_ref helper
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
5f36dda947
|
Add build-init builtin
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
aeed349428
|
Fix warnings
|
2015-01-12 08:50:09 +01:00 |
Alexander Larsson
|
ed4aae8cf7
|
Use bare-user for user repo
|
2015-01-12 08:49:43 +01:00 |
Alexander Larsson
|
6dcb309073
|
Merge pull request #1 from chergert/master
includes: fix build warning
|
2014-12-21 09:14:21 +01:00 |
Christian Hergert
|
332cf5c39e
|
includes: fix build warning
|
2014-12-20 19:27:55 -08:00 |
Alexander Larsson
|
3a2eb66888
|
change name on "latest" symlink to "active"
|
2014-12-19 11:21:47 +01:00 |
Alexander Larsson
|
6f2a406d12
|
update: Remove old deployment and prune
|
2014-12-19 11:18:27 +01:00 |
Alexander Larsson
|
8be8442fa2
|
Use "checksum" not "hash" to reference commit ids
This is what ostree does
|
2014-12-19 09:35:38 +01:00 |
Alexander Larsson
|
671a4e35cf
|
Fix pulseaudio socket detection
|
2014-12-18 22:11:38 +01:00 |
Alexander Larsson
|
0420b396fc
|
run: Properly handle arguments after app name
|
2014-12-18 21:49:49 +01:00 |
Alexander Larsson
|
a43cf612ba
|
run: Support --devel
|
2014-12-18 20:53:35 +01:00 |