Commit Graph

1402 Commits

Author SHA1 Message Date
Alexander Larsson
a86400d003 Merge pull request #58 from smspillaz/warn-on-adding-invalid-remote
Warn on adding invalid remote
2016-06-01 09:30:26 +02:00
Sam Spilsbury
4fb1ae0b45 remote: Make the error message when summary_bytes == NULL more informative
It seems like one common user-error that could cause this is when
the remote URL was invalid.
2016-06-01 06:03:47 +00:00
Sam Spilsbury
c533e1aee6 summary: Make flatpak_cache_dir_summary static void
This function always returned NULL, and the return value was never
checked.
2016-06-01 05:59:54 +00:00
Sam Spilsbury
d9ec859878 summary: Don't cache summary if none was returned
ostree_repo_remote_fetch_summary can set out_summary to NULL but
still return TRUE according to the documentation, so don't assume
that *out_summary will always be set.
2016-06-01 05:58:21 +00:00
Alexander Larsson
d3823c6528 Merge pull request #57 from cgwalters/mkdir-p
build: autogen.sh: Use mkdir -p to suppress warning
2016-05-31 21:08:02 +02:00
Colin Walters
99239b6e51 build: autogen.sh: Use mkdir -p to suppress warning
It's minor but hey, warnings stand out.
2016-05-31 15:05:34 -04:00
Alexander Larsson
f8d75f23be Update NEWS for release 0.6.3 2016-05-31 16:53:43 +02:00
Alexander Larsson
53552deb9a Update version to 0.6.3 2016-05-31 16:47:54 +02:00
Alexander Larsson
7e58da35af remote-add: Support remote-add --from=keyfile NAME
This allows you to have a single file that describes a repo.
It also allows a mimetype handle for it so that you can easily
install it via a single click.
2016-05-31 16:26:59 +02:00
Alexander Larsson
f4c2eeb057 Fix version test
The --version output changes slightly (was capitalized)
2016-05-31 15:16:24 +02:00
Alexander Larsson
47ae2b2523 Update to new bubblewrap 2016-05-31 15:07:38 +02:00
Alexander Larsson
733a28c9c4 Deply: Disable per-file fsync and do a single syncfs when deploy is done
This should perform a lot better
2016-05-31 14:41:04 +02:00
Alexander Larsson
e7143cd4c9 Merge pull request #55 from amigadave/master
Some small configure improvements
2016-05-31 13:54:02 +02:00
David King
c8d04472ba configure: Remove some redundant AC_SUBST usage
PKG_CHECK_MODULES has called these automatically since well before
pkg-config 0.24.
2016-05-31 10:52:50 +02:00
David King
b44d7462b8 configure: Use some extra AC_INIT parameters
Additionally, use PACKAGE_NAME when setting the gettext domain.

http://www.gnu.org/software/autoconf/manual/autoconf.html#Initializing-configure
2016-05-31 10:49:10 +02:00
David King
b230abe4fe Include README.md in tarball 2016-05-31 10:38:29 +02:00
David King
965b56fcc5 build: Use AM_DISTCHECK_CONFIGURE_FLAGS
DISTCHECK_CONFIGURE_FLAGS is for users and packagers to override
distcheck options, while AM_DISTCHECK_CONFIGURE_FLAGS is for the
maintainer of the software.

https://www.gnu.org/software/automake/manual/automake.html#DISTCHECK_005fCONFIGURE_005fFLAGS
2016-05-31 10:35:14 +02:00
Alexander Larsson
759bfaa0f4 tests: Only skip tests if no xattrs in /var/tmp
We explicitly put the checkouts in /var/tmp to avoid the common
case of /tmp being tmpfs and not supporting xattrs.
2016-05-31 09:18:08 +02:00
Alexander Larsson
f8ae525ce8 Merge pull request #54 from amigadave/master
bwrap: Move to under libexecdir
2016-05-30 18:57:05 +02:00
David King
fc6282e865 bwrap: Move to under libexecdir
According to the FHS, applications which place internal libraries in
/usr/libexec should not also use /usr/lib for this purpose:

http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html

As several flatpak helpers are already installed in libexecdir, move
the bwrap helper to /usr/libexec/flatpak-bwrap.
2016-05-30 18:40:12 +02:00
Alexander Larsson
bd7cf1af93 install: Better check for pre-existing installation
We need an actual active installation, not just the base directory.

This caused a failure if the user had tried to install and app but the
installation failed. After that installation failed due to it claiming
to be installed, while uninstall failed due it it *not* being
installed.
2016-05-30 16:35:50 +02:00
Alexander Larsson
8533f06dc0 Add more completions 2016-05-30 14:54:22 +02:00
Alexander Larsson
4e3149e88d Properly show the help in case of no command or unknown command 2016-05-27 16:48:10 +02:00
Alexander Larsson
eeaa832095 Replace bash completion shell script with C-based version
This doesn't do everything yet, but its got the basics covered.
2016-05-27 16:30:13 +02:00
Alexander Larsson
c7c9505e90 Always initialize autofree variable 2016-05-27 09:19:45 +02:00
Alexander Larsson
8362d9cafe Merge pull request #36 from matthiasclasen/module-errors
flatpak-builder: Print name of failed module on error
2016-05-27 09:02:44 +02:00
Alexander Larsson
f9cbcc3996 Merge pull request #49 from jsoref/spelling
spelling fixes
2016-05-27 09:02:14 +02:00
Josh Soref
c33b5b52d7 spelling: whether 2016-05-27 06:49:26 +00:00
Josh Soref
8412bcf4c1 spelling: whereas 2016-05-27 06:49:15 +00:00
Josh Soref
f2c22796a8 spelling: specified 2016-05-27 06:46:56 +00:00
Josh Soref
37409c4095 spelling: sections 2016-05-27 06:46:23 +00:00
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
Alexander Larsson
6b65972434 Merge pull request #47 from matthiasclasen/build-error
builder: Avoid a confusing error
2016-05-27 08:45:21 +02:00
Josh Soref
7529837367 spelling: progressive 2016-05-27 06:45:16 +00:00
Alexander Larsson
980cfe7400 Merge pull request #48 from matthiasclasen/bad-module-name
prevent confusing errors
2016-05-27 08:45:00 +02: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
Matthias Clasen
c129fb7155 Document restrictions on module names 2016-05-27 00:42:37 -04:00
Matthias Clasen
5f928b30ac builder: Prefix module errors
Sprinkle g_prefix_error calls in builder-module.c, to make
sure that module-specific errors get a "module foo:" prefix.
This is not quite perfect, since callers tend to impose their
own prefix as well, but at least it clearly identifies the
module in which the error ocurred.
2016-05-27 00:25:28 -04:00