57 Commits

Author SHA1 Message Date
Alexander Larsson
f39b59689d Pass name into build-init and store in metadata
We also drop this as an argument to build-export.

This lets us verify that the name is valid up-front, and having the
name in the metadata is useful for other things. For instance,
build-finish can verify that all exported files have the right prefix.
2015-04-01 14:03:51 +02:00
Alexander Larsson
e0e23ee181 Add make-app-current 2015-03-11 10:25:15 +01:00
Alexander Larsson
5bfee405b1 Add metadata option to limit DRI access 2015-03-05 15:55:36 +01:00
Alexander Larsson
7017710201 Apply metadata and --allow --forbid switches in xdg-app build 2015-02-13 10:57:56 +01:00
Alexander Larsson
72f1bd9b07 Merge pull request #50 from matthiasclasen/run-env2
Add an --allow option to the run command
2015-02-10 09:25:08 +01:00
Matthias Clasen
34dda64b95 Add a --title option to repo-update
This stores a human-readable title in the additional metadata
of the repo summary. We use xa.title as the key.
2015-02-09 17:17:19 +01:00
Matthias Clasen
c07e917b5d Add --allow option to the run command
Allow to fully override the environment settings from the
application metadata. This can be useful for testing.
2015-02-09 13:24:19 +01:00
Alexander Larsson
f8e4343ff5 Merge pull request #43 from matthiasclasen/remote-title
Add a --title option to add-remote
2015-02-07 15:10:30 +01:00
Matthias Clasen
c313cafbae Add a --forbid option to run
This allows to restrict the access that the app gets out of
the sandbox. We allow an access if the app requests it (in its
metadata) and the user doesn't forbid it (with this option).
2015-02-06 17:39:20 +01:00
Matthias Clasen
e5ee197b81 Add a --runtime option to run
The --runtime option lets us completely override the runtime that
is specified in the application metadata. This is useful for testing
compatibility of an application with runtimes.
2015-02-06 12:11:26 +01:00
Matthias Clasen
06608ba7d5 Add a --title option to add-remote
This stores a string in the remote configuration which can
be used in UIs when talking about the remote.
2015-02-06 11:11:10 +01:00
Matthias Clasen
33e31213bd Add repo-update man page to the build 2015-01-29 14:42:31 -05:00
Alexander Larsson
2c50ebad51 Remove duplicated manpage 2015-01-29 11:23:20 +01:00
Matthias Clasen
29151659ae Document repo-update 2015-01-24 21:54:55 -05:00
Matthias Clasen
9b5d630f8c Update the docs
Update all docs to include --system, and explain better what
the --user and --system options do for each command.
2015-01-23 08:15:08 -05:00
Matthias Clasen
8f67d46d7b Document the --updates option 2015-01-20 21:16:20 -05: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
7dfd383c96 Drop the unused --name option for build-init
It is not used at all.
2015-01-19 19:56:56 -05:00
Matthias Clasen
dadf3c2109 Add wayland key to the docs 2015-01-19 07:22:25 -05: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
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
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
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
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
2eed118510 Document the uninstall-app and uninstall-runtime commands 2015-01-16 00:59:27 -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
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
47873497bf Document the build-finish command 2015-01-15 17:41:58 -05:00
Alexander Larsson
fb6238347a Merge pull request #14 from matthiasclasen/list-runtimes
Commands to list applications and runtimes
2015-01-15 20:09:20 +01:00
Matthias Clasen
60e6b99f53 Update example in list-runtimes docs 2015-01-15 13:58:56 -05:00
Matthias Clasen
f7ff733071 Document list-repos command 2015-01-15 06:13:49 -05:00
Alexander Larsson
c763716c6a Fix typo in docs s/-remo/-repo/ 2015-01-15 09:15:15 +01:00
Alexander Larsson
b8c3e45b3c Merge pull request #11 from matthiasclasen/double-dot
Fix a typo
2015-01-15 09:12:20 +01:00