Commit Graph

1365 Commits

Author SHA1 Message Date
Josh Soref
da0d6f052d spelling: running 2016-05-27 06:46:11 +00:00
Josh Soref
2dc56c77a2 spelling: repository 2016-05-27 06:45:53 +00:00
Josh Soref
4dad6b458e spelling: repositories 2016-05-27 06:45:39 +00:00
Josh Soref
7529837367 spelling: progressive 2016-05-27 06:45:16 +00:00
Josh Soref
c874ea7130 spelling: incoming 2016-05-27 06:44:02 +00:00
Josh Soref
e39b94154e spelling: filesystem 2016-05-27 06:42:54 +00:00
Josh Soref
c0574db1a8 spelling: elapsed 2016-05-27 06:42:21 +00:00
Josh Soref
d8ceb6f5d7 grammar: dist 2016-05-27 06:41:48 +00:00
Josh Soref
eaaa06ef27 spelling: distinguished 2016-05-27 06:40:23 +00:00
Josh Soref
08d25012c1 spelling: diagnostic 2016-05-27 06:39:56 +00:00
Josh Soref
147bf4fdf0 spelling: description 2016-05-27 06:39:37 +00:00
Josh Soref
56e61e6a4a spelling: deployments 2016-05-27 06:39:17 +00:00
Josh Soref
ddc021911c spelling: common 2016-05-27 06:38:44 +00:00
Josh Soref
4752679157 spelling: because 2016-05-27 06:38:06 +00:00
Josh Soref
794c62cc44 spelling: available 2016-05-27 06:37:37 +00:00
Alexander Larsson
1d8408e381 uninstall: When uninstalling the current branch, make other version current (if any) 2016-05-26 20:03:51 +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
22adaa3c8c info: Default to whatever branch is installed 2016-05-26 19:08:46 +02:00
Alexander Larsson
c48272c6db uninstall: Default to whatever branch is installed 2016-05-26 19:08:46 +02:00
Alexander Larsson
0b4241b0e5 update: Don't exist on first failure when there are multiple updates 2016-05-26 19:08:42 +02:00
Alexander Larsson
bf294fb7c5 install: Be smarter about choosing the default branch name
We look for any matching ref on the remote and use that if there is a single match.
2016-05-26 19:06:51 +02:00
Alexander Larsson
e9e92b79fe builder: Support argument to the command with --run
For instance, this lets you do:

  flatpak-builder app foo.json ls -l

Without flatpak-builder complaining about not knowing "-l".
2016-05-26 12:44:51 +02:00
Alexander Larsson
33c0d49212 builder: Support permission ops with --run 2016-05-26 12:24:43 +02:00
Alexander Larsson
f6b4e8ead6 builder: Make the options and help output for --run a bit nicer
We now pre-process for the --run argument in order to only show
related arguments.
2016-05-26 11:20:23 +02:00
Alexander Larsson
bde6fa52dc build: Handle setting LD_LIBRARY_PATH when bwrap is setuid
We need to pass LD_LIBRARY_PATH as --setennv, because the setuid
helper strips that. We did this already for run, but this moves it
so its used by build too.
2016-05-26 09:43:56 +02:00
Alexander Larsson
282709d9ec Fix resolv.conf in "flatpak build"
This regressed when we moved to bubblewrap. We need to always use
a direct bind for building, because it may not necessarily happen
in a real user session where the session-helper works.
2016-05-25 16:38:50 +02:00
Alexander Larsson
3703837336 run: Don't crash if referencing an xdg-dir that is not configured 2016-05-25 14:12:36 +02:00
Alexander Larsson
1fd698a34c Merge pull request #26 from stbergmann/master
exec* returns -1 on error
2016-05-25 10:20:57 +02:00
Stephan Bergmann
3b6b0da108 exec* returns -1 on error
...so use the == -1 idiom as already used in common/flatpak-run.c
(another fix would be to drop the if completely, as exec* doesn't
return on success)
2016-05-24 17:44:33 +02:00
Alexander Larsson
cb41e1bdba Correctly handle --with-privileged-group 2016-05-24 14:13:34 +02:00
Alexander Larsson
949d4eccf7 Updated for 0.6.2 release 0.6.2 2016-05-24 13:20:25 +02:00
Alexander Larsson
9fdc9cd80a New bubblewrap branch with updated setuid fix 2016-05-24 11:00:33 +02:00
Alexander Larsson
2b6f4f1bcf Add --with-privileged-group options
This allows distros to change the wheel group into something else,
for instance admin (ubuntu) or sudo (debian).
2016-05-24 10:13:23 +02:00
Alexander Larsson
b85e7f0de7 Don't use a local child repo of the system one if root
This is unnecessary, and risks creating files as root in the users
home directory if run under sudo.
2016-05-24 09:55:50 +02:00
Alexander Larsson
1ce0ad7878 Merge pull request #24 from smcv/no-xattr
Skip tests that make a repository if /var/tmp lacks user xattrs
2016-05-24 09:46:10 +02:00
Alexander Larsson
70c2da02ed Update PRIV_MODE_SETCAPS with the new required caps
We now need setuid/setgid caps too.
2016-05-24 09:44:48 +02:00
Simon McVittie
a461eb50fa Skip tests that make a repository if /var/tmp lacks user xattrs
Signed-off-by: Simon McVittie <smcv@debian.org>
2016-05-23 23:00:37 +01:00
Alexander Larsson
d6593d65e6 Post release version bump 2016-05-23 11:05:06 +02:00
Alexander Larsson
42d08ed18c NEWS/version: Update to 0.6.1 0.6.1 2016-05-23 09:22:41 +02:00
Alexander Larsson
4bad34f49e readme: Update the link 2016-05-23 09:17:54 +02:00
Alexander Larsson
578d2cc9cf bwrap: Use --unshare-user-try
This makes the user ns optional, as it is not supported everywhere.
For instance Arch disables it by default.
2016-05-23 09:10:39 +02:00
Alexander Larsson
13a02c8d01 Update bubblewrap to export/flatpak/0.6.1 branch
This has fixes for setuid mode without userns support.
Should fix arch and debian support.
2016-05-23 08:56:46 +02:00
Alexander Larsson
958a4b45a7 lib: Fix order of ref/remote in update call 2016-05-20 14:29:54 +02:00
Alexander Larsson
910328e535 Support no-deploy and no-pull via system helper 2016-05-20 13:30:50 +02:00
Alexander Larsson
24d4b60f60 Fix build if SCMP_ARCH_AARCH64 not defined 2016-05-20 11:07:34 +02:00
Alexander Larsson
e9c67ec47f Get the system installation dir right in XDG_DATA_DIRS
Its in /var/lib/flatpak, not /var/flatpak
2016-05-20 09:21:19 +02:00
Tristan Van Berkom
501802270e flatpak-builtins-update.c: Fixed loading of arch option
Code was organized in such a way that the --arch option
was being ignored.

https://bugs.freedesktop.org/show_bug.cgi?id=95489
2016-05-19 12:43:01 +02:00
Alexander Larsson
9377d0d94f Merge pull request #164 from amigadave/master
Fix ostree requirement in NEWS
2016-05-19 09:26:37 +02:00
David King
bed242270e Fix ostree requirement in NEWS 2016-05-18 15:44:05 +01:00
Bastien Nocera
313d5fb2d3 lib: Fix compilation warnings
lib/flatpak-installation.c: In function ‘flatpak_installation_modify_remote’:
lib/flatpak-installation.c:738:12: warning: return makes integer from pointer without a cast [-Wint-conversion]
     return NULL;
            ^~~~
lib/flatpak-installation.c: In function ‘flatpak_installation_remove_remote’:
lib/flatpak-installation.c:773:12: warning: return makes integer from pointer without a cast [-Wint-conversion]
     return NULL;
            ^~~~
2016-05-18 13:48:23 +02:00