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
Matthias Clasen
123b0f34d4
Add a --command option to build-finish
...
Preserve an existing command key, unless --command is explicitly
specified. And only go hunting for executables if we don't have
a command.
2015-01-16 10:35:47 -05:00
Matthias Clasen
fadd68e4e2
Use gs_shutil_cp_a for collecting exports
...
This saves some code - the downside is that we can only run
build-finish once, since cp_a errors out on existing directories.
2015-01-16 10:01:15 -05:00
Matthias Clasen
1f8c1a8201
Drop the unused --arch option
2015-01-16 08:30:37 -05:00
Alexander Larsson
3f4b764680
build: Unset ACLOCAL_FLAGS
...
This avoids picking up unexpected things
2015-01-16 10:17:39 +01:00
Alexander Larsson
9eafe24687
xdg-helper: Fix recursive mounts of other root dirs
2015-01-16 10:08:25 +01:00
Alexander Larsson
42971313b8
Merge pull request #19 from matthiasclasen/master
...
Clarify help output
2015-01-16 08:56:53 +01:00
Matthias Clasen
2eed118510
Document the uninstall-app and uninstall-runtime commands
2015-01-16 00:59:27 -05:00
Matthias Clasen
fbba6f4f6d
Add uninstall-runtime and uninstall-app commands
2015-01-16 00:48:57 -05:00
Matthias Clasen
4490029880
Make repo-contents operate on a single repo
...
This is more in line with the other commands.
2015-01-15 23:42:48 -05:00
Matthias Clasen
d112b320b2
Document the repo-contents command
2015-01-15 23:30:17 -05:00
Matthias Clasen
4cec1e3934
Add a repo-contents command
...
This can show available runtimes and applications.
2015-01-15 23:25:03 -05:00
Matthias Clasen
24901067fa
Clarify help output
...
We might add commands to list available runtimes and applications,
so clarify that list-runtimes/list-apps list installed ones.
2015-01-15 21:46:51 -05:00
Matthias Clasen
14be30cc11
Add a forgotten -v option to the build-finish docs
...
This was overlooked when copy-pasting the option
docs from build-init (which is the only command where
-v is not the short option for --verbose).
2015-01-15 21:00:59 -05:00
Matthias Clasen
067e95fcfd
Document the make-repo command
2015-01-15 20:59:56 -05:00
Matthias Clasen
23baa46371
Add a make-repo command
...
This can take a finalized build directory and create an
ostree repo from it.
2015-01-15 20:06:11 -05:00
Matthias Clasen
47873497bf
Document the build-finish command
2015-01-15 17:41:58 -05:00
Matthias Clasen
85670c632f
Add a build-finish command
...
This command collects likely files to export, adds the command
key and [Environment] to the metadata, and removes the var/
directory.
2015-01-15 17:31:29 -05:00
Alexander Larsson
daf41bab9c
Add triggers for exports
...
This runs the triggers in a read-only environment to update things
like desktop file databases, icon caches and mimeinfo databases.
2015-01-15 21:45:55 +01:00
Alexander Larsson
2fd90ae415
Allow mounting host fs, but readonly (with -F)
2015-01-15 21:45:55 +01:00
Alexander Larsson
258ca0b9d9
Add support for readonly app with writable "exports" subdir
...
This will be used for the triggers
2015-01-15 21:45:55 +01:00
Alexander Larsson
66e889dc79
Add system mode where /usr is the runtime
...
This is useful to run triggers in a slightly sandboxed environment
2015-01-15 21:45:55 +01:00
Alexander Larsson
bd6436e154
Add manpages to gitignore
2015-01-15 21:45:55 +01:00