Alexander Larsson
b239a7b8d7
Merge pull request #31 from matthiasclasen/console-status
...
End the console status line after pull
2015-01-21 10:02:42 +01:00
Alexander Larsson
1e5c6b299d
Merge pull request #32 from matthiasclasen/ghosts-in-list
...
Avoid ghosts in the list of installed apps
2015-01-21 10:02:16 +01:00
Matthias Clasen
e56ed22b66
Avoid ghosts in the list of installed apps
...
When we run a system app, we create the org.foo.App/data directory
in the user location. This was causing the app to show up in the
list of user apps, when not using --show-details. Avoid this by
always listing full references, and only hiding the arch and branch
information without --show-details.
2015-01-20 23:31:16 -05:00
Matthias Clasen
d357c1fee1
End the console status line after pull
...
Failure to do so causes the next shell prompt to appear in the
same line as the status, which looks broken.
2015-01-20 23:07:21 -05:00
Matthias Clasen
56204ac75b
Initialize a variable
...
Otherwise we crash trying to free it when it leaves scope.
2015-01-20 22:42:55 -05:00
Matthias Clasen
ec6fa6284d
repo-contents: Use ostree summary
...
Load the OSTree summary file for the remote repo, and show its
contents, if available. This gives us a listing of the refs that
are available in the remote repository, regardless of whether
they are represented in the local repo.
2015-01-20 21:16:20 -05:00
Matthias Clasen
3a19cff34f
build-export: Regenerate summary for the repo
...
Summaries are the ostree mechanism to learn about available
branches (ie in our case, applications and runtimes) in
remote repositories. Therefore, we should generate summaries
for all our repositories.
2015-01-20 21:16:20 -05:00
Matthias Clasen
8f67d46d7b
Document the --updates option
2015-01-20 21:16:20 -05:00
Matthias Clasen
04a15f34b0
Add an --updates option
...
When --updates is given to repo-contents, only list
apps and runtimes for which the ref points at a commit
that is different from the currently deployed one, indicating
that there is an update available in the local repo.
2015-01-20 21:09:44 -05:00
Matthias Clasen
853c3ccbf5
Export gnome-shell search provider files
...
This is meant as a generic extension point that can be used
by 3rd party applications, so we should export these files.
They are needed outside the sandbox, since search is a way
to launch applications.
2015-01-20 12:42:13 -05:00
Alexander Larsson
e6e7086188
Merge pull request #28 from matthiasclasen/rename-repo
...
Change terminology from repo to remote
2015-01-20 08:51:32 +01:00
Alexander Larsson
90620653cb
Merge pull request #27 from matthiasclasen/build-init-name
...
Drop the unused --name option for build-init
2015-01-20 08:51:03 +01:00
Matthias Clasen
cdc13dd25c
Change terminology from 'repo' to 'remote'
...
The add/delete/list-repo commands are renamed to add/delete/list-remote,
to align our terminology with ostree and git.
2015-01-19 20:16:00 -05:00
Matthias Clasen
35516d0314
Drop the unused --name option for build-init
...
It is not used at all.
2015-01-19 19:58:20 -05:00
Matthias Clasen
7dfd383c96
Drop the unused --name option for build-init
...
It is not used at all.
2015-01-19 19:56:56 -05:00
Alexander Larsson
1c0a12cea1
xdg-app-helper: If no home, make one in /var and use.
...
This allows us to use standard locations for storing per-app data
even if there is no homedir in the app.
2015-01-19 16:33:40 +01:00
Alexander Larsson
1407f53be3
xdg-app-helper: Always set the right gid on created files.
2015-01-19 16:33:40 +01:00
Alexander Larsson
6fdb7d3b5a
Merge pull request #26 from matthiasclasen/wayland-doc
...
Add wayland key to the docs
2015-01-19 15:20:02 +01:00
Matthias Clasen
dadf3c2109
Add wayland key to the docs
2015-01-19 07:22:25 -05:00
Alexander Larsson
deab96c8fb
Update exports on uninstall too
...
This means we remove dangling links and re-run triggers.
2015-01-19 12:12:30 +01:00
Giovanni Campagna
626fdf971b
Set GI_TYPELIB_PATH to include /self
...
This allows the app to load bundled GI typelibs without special
hacks.
2015-01-19 11:52:13 +01:00
Alexander Larsson
bf7fa43431
Merge pull request #21 from matthiasclasen/uninstall
...
Uninstall commands
2015-01-19 11:50:33 +01:00
Alexander Larsson
77da120a06
Merge pull request #25 from matthiasclasen/wip/wayland
...
Here is a very quick patch to get the wayland socket to show up.
2015-01-19 11:46:09 +01:00
Alexander Larsson
c239e3b077
Merge pull request #23 from matthiasclasen/update-to-commit
...
Some work towards rollback and checkout
2015-01-19 11:43:14 +01:00
Alexander Larsson
5109dfc003
Merge pull request #22 from matthiasclasen/commit-messages
...
Add options to specify a commit message with build-export
2015-01-19 11:41:00 +01:00
Alexander Larsson
d42c223e88
Merge pull request #24 from matthiasclasen/doc-typos
...
Fix some typos in the main man page
2015-01-19 11:40:26 +01:00
Alexander Larsson
4d2cc777f3
Also rewrite Exec= in service files
2015-01-19 11:14:20 +01:00
Alexander Larsson
1386db2d58
Make sure we collect exit status from subprocess
...
Otherwise we leave a zombie during runtime.
2015-01-19 10:24:44 +01:00
Alexander Larsson
2b8be8c7fd
Rewrite exec stuff in all groups
2015-01-19 10:21:09 +01:00
Matthias Clasen
69717707fe
Nonworking wayland socket forwarding
2015-01-17 00:36:29 -05:00
Matthias Clasen
cf723600a8
Some larger documentation rework
...
Move repetitive parts to the main man page, group command list
with sections, improve consistency of the command man pages,
add cross-references.
2015-01-16 23:55:35 -05:00
Matthias Clasen
7481a2a2f5
Fix some typos in the main man page
2015-01-16 22:28:17 -05:00
Matthias Clasen
9a0d3a77fb
Add a --commit option to the update commands
...
This makes it possible to give a specific commit that should be
deployed. If the option is not specified, we still update to the
tip of the branch.
2015-01-16 21:55:48 -05:00
Matthias Clasen
a7994cc769
Make xdg_app_dir_deploy more capable
...
If we are given a checksum that is not present in the local
repository, pull it from the remote for the app (or runtime)
that is identified by ref.
2015-01-16 21:49:54 -05:00
Matthias Clasen
6d3d397142
Make the BRANCH argument optional
...
This is more in line with the install commands, where we
also default to "master".
2015-01-16 19:16:07 -05:00
Matthias Clasen
c92a2635a8
Improve the uninstall commands
...
Undeploy all deployed commits, remove the ref from the repo,
and prune unowned objects from the repository.
2015-01-16 18:58:50 -05:00
Matthias Clasen
e404480e72
Add options to specify a commit message with build-export
...
That seems fairly standard.
2015-01-16 16:41:07 -05:00
Alexander Larsson
e46dc64954
Merge pull request #18 from matthiasclasen/build-finish
...
Two commands that give us some build->bundle support
2015-01-16 21:27:09 +01:00
Alexander Larsson
978e3cd2b4
Merge pull request #20 from matthiasclasen/repo-contents
...
A command for listing available apps and runtimes
2015-01-16 21:23:30 +01:00
Matthias Clasen
5df6316842
Sort repo-contents output
2015-01-16 14:28:54 -05:00
Matthias Clasen
597046e78f
Shorten some options of the repo-contents command
...
Make the options just --apps and --runtimes. Less typing.
2015-01-16 14:11:22 -05:00
Matthias Clasen
da22eece64
Fix a pervasive typo in the docs
...
Every single man page had an instance of 'dxg' in it.
Damn you, copy-paste!
2015-01-16 14:02:16 -05:00
Matthias Clasen
d137ca16c6
Rename make-repo to build-export
...
This is more in line with the other build commands.
2015-01-16 13:59:34 -05:00
Matthias Clasen
08d06ddf00
Use a commit filter in make-repo
...
We only import the following:
- everything below files/
- everything below export/
- the metadata file
This conveniently takes care of keeping the built-time var/ out
of the repo, and prevents other crap from creeping in.
2015-01-16 13:53:36 -05:00
Alexander Larsson
5e6597aa31
Properly export desktop files
...
This makes a copy of all .desktop files and removes all TryExec lines
and converts all Exec lines to use xdg-app run.
2015-01-16 18:46:08 +01:00
Matthias Clasen
481908cc41
make-repo: Deal with repo location in a smarter way
...
When an empty directory is passed as repo location, create
a repo there. For non-empty directories, we still assume that
they are existing repositories.
2015-01-16 11:41:32 -05:00
Matthias Clasen
8ba180fe74
make-repo: Rename the REPO arg
...
Calling it LOCATION makes it less likely to be confused with
the name of a remote.
2015-01-16 11:28:16 -05:00
Matthias Clasen
842ba6a649
Drop the --arch option for make-reop
...
We can determine the arch from the metadata.
2015-01-16 11:24:05 -05:00
Matthias Clasen
3b92f28eea
Don't remove var in build-finish
...
We'll filter it out when committing, instead.
2015-01-16 11:03:10 -05:00
Matthias Clasen
2630d8bda3
Add an --allow option to build-finish
...
Change the default [Environment] that is written to be all locked up.
The --allow option can be used multiple times, to override specific
keys to be more permissive.
2015-01-16 11:01:27 -05:00