1949 Commits

Author SHA1 Message Date
Alexander Larsson
41d2e45362 update pofiles 0.6.12 2016-10-06 14:34:47 +02:00
Alexander Larsson
3090f2b728 Update NEWS for release 2016-10-06 14:28:05 +02:00
Alexander Larsson
3b4a6fcb05 Add --default-branch options to docs 2016-10-06 12:46:07 +02:00
Alexander Larsson
f17390b70c Remove duplicate code 2016-10-06 12:31:54 +02:00
Alexander Larsson
8fd165074c bundle: Properly handle byteswapping 2016-10-06 12:31:54 +02:00
Alexander Larsson
972442a7b0 Don't assign unused variables 2016-10-06 12:31:54 +02:00
Alexander Larsson
5be7e4deb7 common: Remove unused variables 2016-10-06 12:31:54 +02:00
Alexander Larsson
c0e0fe31ef utils: Remove unused variable 2016-10-06 12:31:54 +02:00
Alexander Larsson
ea17c27b37 builder: Add missing debug sprew when running an app 2016-10-06 12:31:54 +02:00
Alexander Larsson
90bcc44e10 info: Minor cleanup 2016-10-06 12:31:54 +02:00
Alexander Larsson
11bd2ff8e1 Update pofiles 2016-10-06 12:31:54 +02:00
Niv Sardi
7f036570fd flatpak-builder: don't strip zip files
It is allowed to make a self-executable zip, it will then be an ELF file
on Linux. The problem is that the current stripping code somehow breaks
that file (i.e. ./file.zip doesn't work anymore after stripping).

Signed-off-by: Niv Sardi <xaiki@endlessm.com>
2016-10-06 12:05:30 +02:00
Alexander Larsson
bef4de5308 Support default-branch setting in remote configuration
For now this is a purely client side setting which lets you store
the default branch to use for a remote. This is mostly meant to
be used for UI tools, although the CLI could also be made to use this.

You can set this manually in the CLI with --default-branch, or via a
flatpakrepo file (new key DefaultBranch).
2016-10-06 11:36:28 +02:00
Alexander Larsson
63638583b0 Change app-id rules again, now only allow dashes in last element
It turns out that live apps were exporting files with dashes
other than "-symbolic". For instance "org.libreoffice.LibreOffice" was
exporting "org.libreoffice.LibreOffice-writer.desktop".

Allowing any dashes in the last segment like this is really no diffent
than allowing org.libreoffice.LibreOffice.writer.desktop which we
already do. Any conflicts here are under the control of the owner
of the org.libreoffice prefix.

However, allowing dashes in the earlier segments is more problematic.
For instance, any file exported by "org.my-foo.App" could conflict with
an app called "org.my" if this was allowed.

So, as a middle ground, we're allowing dashes in the last segment of
the App id only.
2016-10-06 11:36:28 +02:00
Adrian Perez de Castro
6cbf3b6c01 Support mixed (multilib/multiarch) binaries in Flatpaks
This adds a new "multiarch" feature which allows bundling e.g. 32-bit
binaries to be run in a x86_64 environment. By default, the seccomp
filter is configured to allow only the native architecture. When the
"multiarch" feature is enabled, the filter will be configured to allow
running binaries of additional architectures supported. For x86_64, this
allows x86 32-bit binaries; and for Aarch64, allows 32-bit ARM binaries.

Application bundles can use the feature e.g. in order to ship 32-bit
binaries alongside with a mostly-64-bit application. This is particularly
interesting when for applications that might launch themselves prebuilt
programs for which 64-bit versions do not exist. For example, the Steam
application is available as a 64-bit executable, but some of the games
available are 32-bit only. A Flatpak bundle for the Steam application
with "multiarch" enabled is able launch the 32-bit games -- without the
feature enabled, the seccomp filter would prevent them from running.

Multiple-architecture support is enabled by adding the "multiarch" value
for the "features" key in the metadata file for a Flatpak:

  [Context]
  features=multiarch;

The corresponding "--allow=multiarch" command line option is supported
in "flatpak build-finish" as well.
2016-10-03 09:54:05 +02:00
Alexander Larsson
c9c35133c3 Add support for --device=kvm
Solves: https://github.com/flatpak/flatpak/issues/332
2016-09-30 16:46:51 +02:00
Alexander Larsson
270707d5ca Make flatpak enter work
This completely regressed, and it seems complicated to fix it without
requiring extra privileges. So, the new version requires you to sudo
to run it, which is not great, but at least it makes it work for
all cases.
2016-09-28 20:20:17 +02:00
Alexander Larsson
f9c11a8b55 Make "flatpak update --appstream" update for all branches
This fixes https://github.com/flatpak/flatpak/issues/331
2016-09-28 18:52:17 +02:00
matthiasclasen
d8ee3c8e72 Merge pull request #235 from matthiasclasen/better-errors2
error message for flatpak build on non existing directory could be improved
2016-09-28 05:30:07 -04:00
matthiasclasen
92699d6fce Merge pull request #315 from matthiasclasen/better-errors
More decriptive "error: Build directory ... not finalized"
2016-09-28 05:27:56 -04:00
Alexander Larsson
4374b81174 Remove whitespace 2016-09-27 14:30:52 +02:00
Matthias Clasen
2c463d3751 Warn about extra arguments in flatpak build-import-bundle 2016-09-27 14:30:11 +02:00
Matthias Clasen
6cde704f0c Warn about extra arguments in flatpak build-init 2016-09-27 14:30:11 +02:00
Matthias Clasen
4bb8a2e0b6 Warn about extra arguments in flatpak build-sign 2016-09-27 14:30:11 +02:00
Matthias Clasen
e8b05a2fa6 Warn about extra arguments in flatpak remote-ls 2016-09-27 14:30:11 +02:00
Matthias Clasen
0274bffac3 Warn about extra arguments in flatpak build-export 2016-09-27 14:30:11 +02:00
Matthias Clasen
a9e6542354 Warn about extra arguments in flatpak document-unexport 2016-09-27 14:30:11 +02:00
Matthias Clasen
fe5a4d724a Warn about extra arguments in flatpak document-list 2016-09-27 14:30:11 +02:00
Matthias Clasen
e1a4e46650 Warn about extra arguments in flatpak document-info 2016-09-27 14:30:11 +02:00
Matthias Clasen
c9bac3611f Warn about extra arguments in flatpak document-export 2016-09-27 14:30:11 +02:00
Matthias Clasen
361e90bdaa Warn about extra arguments in flatpak make-current 2016-09-27 14:30:11 +02:00
Matthias Clasen
4c0df29123 Warn about extra arguments in flatpak uninstall 2016-09-27 14:30:11 +02:00
Matthias Clasen
cc82fd6da6 Warn about extra arguments in flatpak update 2016-09-27 14:30:11 +02:00
Matthias Clasen
902eae0ac6 Warn about extra arguments in flatpak install 2016-09-27 14:30:11 +02:00
Matthias Clasen
34e7158faf Warn about extra arguments in flatpak build-bundle 2016-09-27 14:30:11 +02:00
Matthias Clasen
6e679c4277 Warn about extra arguments in flatpak override 2016-09-27 14:30:11 +02:00
Matthias Clasen
23872464a0 Warn about extra arguments in flatpak info 2016-09-27 14:30:11 +02:00
Matthias Clasen
85f2f36baf Warn about extra arguments in flatpak remote-add 2016-09-27 14:30:11 +02:00
Matthias Clasen
689bd242d1 Warn about extra arguments in flatpak remote-delete 2016-09-27 14:30:11 +02:00
Matthias Clasen
ab2280fa5c Warn about extra arguments in flatpak remote-list 2016-09-27 14:30:11 +02:00
Matthias Clasen
1e05119b63 Warn about extra arguments in flatpak list 2016-09-27 14:30:11 +02:00
Matthias Clasen
3d1f385148 Port remote-ls to FlatpakTablePrinter
This helps with consistent formatting.
2016-09-27 14:22:12 +02:00
Alexander Larsson
0501e1569c commit-from: Add "xa.commit-from" to the destination metadata
This is nice because it guarantees that we get a new commit id
which fixes various issues we had with conflicting commit ids
overriding each others signatures.
2016-09-27 12:39:44 +02:00
Alexander Larsson
af76206ba5 common: Add flatpak_variant_builder_init_from_variant 2016-09-27 12:39:27 +02:00
Alexander Larsson
8fa7f7fe09 Add --ostree-verbose
This enables debug logging for OSTree
2016-09-27 11:37:11 +02:00
matthiasclasen
d0469895e2 Merge pull request #327 from piotrdrag/pl-update-160925
Updated Polish translation
2016-09-25 16:37:02 -04:00
Piotr Drąg
217e43b0c7 Updated Polish translation 2016-09-25 19:51:14 +02:00
Matthias Clasen
0e9125619c Improve an error message
When the build directory does not exist or looks uninitialized
in flatpak build, report a helpful message that points at
flatpak build-init.
2016-09-24 16:04:04 -04:00
Matthias Clasen
39e29f7cb1 Mention the commands to run in error messages
When complaining that a build directory has not been initialized
or finalized, mention the commands to do so.
2016-09-24 11:04:16 -04:00
Alexander Larsson
636130db49 Merge pull request #299 from matthiasclasen/keyring
flatpak should close up access to kernel keyring
2016-09-21 07:12:30 +02:00