Alexander Larsson
208f562c8e
CI: Pick up build requirements from rpm
2016-12-13 16:43:44 +01:00
Alexander Larsson
e1bf3eff52
Flatpak[ref|repo]: Add Version field
...
If this is set it has to be 1, or we fail.
This lets us later introduce incompatible changes.
2016-12-13 15:54:14 +01:00
Alexander Larsson
f3b188cef3
flatpak-json: Correctly handle NULL in json_to_node
2016-12-13 13:52:09 +01:00
Alexander Larsson
5e80abd234
build-sign: Support empty id to mean sign all apps
2016-12-13 12:39:06 +01:00
Alexander Larsson
c4cea2489f
remote-add/modify: Fix updating remote-metadata for config
...
We recreate the OstreeRepo object in order to flush out any configuration
changes done via the system helper, so that changing the configuration works.
Should fix https://github.com/flatpak/flatpak/issues/413 .
2016-12-13 12:00:44 +01:00
Alexander Larsson
da897250cc
Avoid interactive prompts when redirected, assume no
2016-12-13 11:45:16 +01:00
Alexander Larsson
902d945f4f
install/update: Support -y to avoid interaction (for automation)
...
This assumes the answer to any question is yes (or to pick the
most prioritized answer).
Fixes https://github.com/flatpak/flatpak/issues/436
2016-12-13 11:35:06 +01:00
Alexander Larsson
f6d1a064b9
Clean up docs/help for install and remote-add
...
This makes it easier how the different variants like --from and --bundle
work.
Fixes https://github.com/flatpak/flatpak/issues/438 and
https://github.com/flatpak/flatpak/issues/439
2016-12-13 11:19:06 +01:00
Alexander Larsson
057fbcb459
install: Make --from and --bundle optional
...
If the first argument has the right extension we just assume
you want to install from it.
This fixes https://github.com/flatpak/flatpak/issues/429 and
https://github.com/flatpak/flatpak/issues/415
2016-12-13 11:13:33 +01:00
Alexander Larsson
1e854ddc11
Fix all clang warnings
2016-12-13 10:20:28 +01:00
Alexander Larsson
c756534b19
utils: Add and use FLATPAK_VARIANT_DICT_INITIALIZER
...
This fixes warnings on some versions of glib due to a private struct
change.
2016-12-13 10:08:26 +01:00
Alexander Larsson
42d2c6a5d6
Update to latest bubblewrap
2016-12-13 09:29:30 +01:00
matthiasclasen
f8d801cbe6
Merge pull request #442 from chergert/master
...
po: update POTFILES.in
2016-12-13 01:47:34 -05:00
Christian Hergert
09142bfea4
po: update POTFILES.in
2016-12-12 16:33:50 -08:00
Alexander Larsson
364def2135
builder: Add some spew when applying patches
...
This makes it easier to figure out what patch is broken
2016-12-12 17:20:36 +01:00
Alexander Larsson
69253de81a
Add initial redhat-ci integration
2016-12-12 16:45:52 +01:00
Alexander Larsson
f65f0cb37c
Merge branch 'wip/oci'
2016-12-12 16:26:35 +01:00
Alexander Larsson
9ddc4aca48
Support flatpak install --oci to install apps from OCI
2016-12-12 16:22:16 +01:00
Alexander Larsson
53c28de636
utils: Add VARIANT_BUILDER_INITIALIZER and new_empty_string_dict
2016-12-12 12:23:13 +01:00
Alexander Larsson
cf0cd287c6
Add flatpak_table_printer_add_column_len
2016-12-12 12:22:50 +01:00
Iago López Galeiras
27d01fc2d3
build-finish: Export MIME Types
2016-12-12 08:50:07 +01:00
Alexander Larsson
354164db8b
import: Use pull_from_oci helper
2016-12-09 14:45:10 +01:00
Alexander Larsson
aa9640af7e
Add flatpak_pull_from_oci helper
2016-12-09 14:44:25 +01:00
Alexander Larsson
791c448653
Use the shared OCI code for import-bundle
2016-12-08 17:43:06 +01:00
Alexander Larsson
4672bc835e
Update build-bundle --oci to use the new shared OCI support
2016-12-08 17:43:06 +01:00
Alexander Larsson
63c1aace83
Import OCI initial support to common/*
2016-12-08 17:43:03 +01:00
Alexander Larsson
186ff0f002
Add flatpak_download_http_uri util function
2016-12-08 16:41:20 +01:00
Alexander Larsson
9865ed8989
utils: Disable automatic gzip content decoding in session
...
This was interacting badly with the OCI layer downloading, by
automatically uncompressing the gzip:ed layers.
2016-12-08 16:41:20 +01:00
Alexander Larsson
e514dc2e14
Add flatpak_create_soup_session
2016-12-08 16:41:20 +01:00
Alexander Larsson
652f64faad
Fix document portal add_named
...
This regressed in d488914614
where
it used to require a dir fd, but then required a regular fd.
2016-12-08 14:09:22 +01:00
Ignacio Casal Quinteiro
210089a066
install: fix error message
...
So we avoid an error message like:
error: Can't load uri XXXXUnacceptable TLS certificate
2016-12-07 19:54:13 +01:00
Joaquim Rocha
1a1ec16a4f
system-helper: Do not ask for password when removing apps/runtimes
...
As it's already done for installing an app or runtime, we shouldn't ask
privileged users to authenticate in order to remove them.
2016-12-07 19:53:51 +01:00
Alexander Larsson
d3715463f2
Don't export symlinks from the host into /usr and /app
...
These make no sense, we don't want to modify the runtime, and
we can't create parent directories there anyway which can cause
issues like https://github.com/flatpak/flatpak/pull/433
2016-12-07 19:50:14 +01:00
Alexander Larsson
efc8458165
run: Record in the flatpak-info file if dbus is proxied
2016-12-07 11:31:45 +01:00
Alexander Larsson
c5856dd4e5
run: Fix xauth support
...
We need to lseek the fd *after* the fclose has
flushed the output.
2016-12-07 11:18:27 +01:00
Alexander Larsson
bb6e1d535f
install: Support RuntimeRepo= key in flatpakref files
...
This allows an app to point to the repo where the runtime it uses
comes from, and the user will be asked to add that if its not
already configured.
2016-12-02 16:31:14 +01:00
matthiasclasen
3eb9fa0ee6
Merge pull request #424 from mwleeds/patch-4
...
Update the flatpak-build-export docs
2016-12-01 16:38:15 -05:00
Matthew Leeds
7ba3039d1d
Update the flatpak-build-export docs
...
The repo-update command was renamed to build-update-repo.
2016-12-01 14:49:50 -06:00
Alexander Larsson
4e43dc8ae8
build-import-bundle: Sign commit if gpg key specified
2016-12-01 16:08:52 +01:00
Alexander Larsson
8a152b7bb0
dir: Make flatpak_dir_remote_fetch_summary error if there is no summary
...
This was manully checked in some places, which can now be dropped, but
also the places that didn't check it before were buggy and needed
to check this, so better just fail early.
2016-12-01 09:39:57 +01:00
Alexander Larsson
cc7402d6f7
commit-from: Add --force support
2016-11-30 18:09:19 +01:00
Patrick Griffis
21b65947e8
builder: Add buildsystem option and meson support
...
Closes #400
2016-11-30 16:59:20 +01:00
Alexander Larsson
6a5d6d4970
Json autoptr stuff was added in 1.1.2, not 1.2.0
2016-11-30 11:30:40 +01:00
Alexander Larsson
632f714509
builder: Add "options" property to patch sources
...
This lets you specify custom arguments to the patch command.
Fixes https://github.com/flatpak/flatpak/issues/417
2016-11-30 10:17:15 +01:00
Alexander Larsson
de72ba66ae
builder: document --jobs option
2016-11-30 10:17:03 +01:00
Alexander Larsson
8ce04c6788
builder: Add support for --jobs=N to limit parallel builds
...
As requested in: https://github.com/flatpak/flatpak/issues/419
2016-11-30 09:57:55 +01:00
Alexander Larsson
31ca19eb99
pull: Exit early on error without aborting transaction
...
At this point we have not set up repo yet, so aborting would crash.
2016-11-29 16:59:48 +01:00
Alexander Larsson
109698c6b0
Release 0.6.14
2016-11-29 10:44:32 +01:00
Alexander Larsson
ecc3008633
Update pofiles
2016-11-29 10:44:32 +01:00
Alexander Larsson
b744cd2493
Add backport of g_autoptr support for json-glib
2016-11-29 10:14:33 +01:00