Go to file
Alexander Larsson 5c075525a8 Allow application ids containing "-"
For a long time we have been disallowing "-" in application names,
which is different than what dbus allows for bus names. Also "-" used
to be not allowed by GApplication in glib. This is in part because
dbus object paths do *not* allow dashes, so you can't legally map
from e.g. a valid name like "org.foo-bar.gazonk" to a valid path
like "/org/foo-bar/gazonk".

This is a problem because many existing apps already use "-" in the
name, either as the last part (org.gnome.font-viewer) or because
the dns name it refers to has a dash.

This was recently discussed in the dbus community, and the result
is to recommend that "-" in the bus names be converted to "_" in object
paths.

This change makes it also allowed to have "-" in a flatpak app id.

For flatpak specifically we were relying on "-" not being allowed to
handle the case of exporting "org.foo.App-symbolic.png". If "-" is
allowed this name can conflict between apps called "org.foo.App-symbolic"
and "org.foo.App".

To handle this we add two special cases:
 * App ids can't end with "-symbolic".
 * Apps are allowed to export files with $appid-symbolic as prefix.
2016-09-16 16:44:05 +02:00
app install: Fix option args for --from 2016-09-15 11:44:11 +02:00
bubblewrap@089327ddcf Require bubblewrap 0.1.2 for system bwrap and update git submodule to that 2016-09-09 09:07:15 +02:00
builder builder: check for name being defined in expand_modules 2016-09-14 15:52:14 +02:00
buildutil spelling: progressive 2016-05-27 06:45:16 +00:00
common Allow application ids containing "-" 2016-09-16 16:44:05 +02:00
completion Add more completions 2016-05-30 14:54:22 +02:00
data session-helper: Move HostCommand to its own interface 2016-09-06 15:30:38 +02:00
dbus-proxy dbus-proxy: alignment bit-twiddling to remove multiple and divide 2016-09-08 14:50:15 -07:00
dbus.service.d install dbus systemd service file snippet 2016-07-26 13:33:31 -04:00
doc Add a cross-reference to flatpakrepo 2016-09-14 10:45:10 -04:00
document-portal Prefer g_strerror() to strerror() 2016-09-15 01:22:54 +08:00
env.d Get the system installation dir right in XDG_DATA_DIRS 2016-05-20 09:21:19 +02:00
lib Add FLATPAK_CHECK_VERSION macro 2016-09-13 13:30:04 +02:00
libglnx@4ae5e3beaa Update to latest libglnx master 2016-08-22 09:58:23 +02:00
m4 Support installed tests 2016-04-27 16:37:15 +02:00
permission-store Create directories before attempting to generate code into them 2016-08-26 12:36:35 +03:00
po Add Swedish translation 2016-09-15 01:23:40 +08:00
profile Get the system installation dir right in XDG_DATA_DIRS 2016-05-20 09:21:19 +02:00
session-helper session-helper: use proper fd with ioctl() for tty setup 2016-09-15 21:38:06 -07:00
system-helper system-helper: Fix typo in action description 2016-09-15 01:23:35 +08:00
tests Terminate gpg-agent after using it for tests 2016-09-07 22:08:03 +01:00
triggers Pass location of exports to triggers as arg1 2016-02-09 14:50:35 +01:00
.gitignore .gitignore: ignore "make dist" output 2016-08-01 11:16:53 +01:00
.gitmodules Add bubblewrap submodule 2016-04-29 15:38:20 +02:00
COPYING Add COPYING to reflect license headers 2015-03-31 15:36:29 +01:00
Makefile.am build: run install-test-data-hook even if using system bwrap 2016-08-01 11:28:45 +01:00
NEWS Update version/news to 0.6.10 2016-09-12 13:27:47 +02:00
README.md Readme.md: align image 2016-08-27 23:36:56 +02:00
acinclude.m4 Add AX_COMPARE_VERSION to acinclude.m4 2016-09-09 10:03:27 +02:00
autogen.sh Use upstream gettext 2016-07-15 11:58:46 -04:00
configure.ac Post-release version bump 2016-09-13 15:13:20 +02:00
flatpak.pc.in Drop libgsystem dependency 2016-08-22 16:00:33 +02:00
flatpak.png Add the logo to README.md 2016-06-02 18:05:22 -04:00
uncrustify.cfg Add uncrustify config 2016-05-06 15:27:19 +02:00
uncrustify.sh Add uncrustify config 2016-05-06 15:27:19 +02:00

README.md

Flatpak icon

Flatpak is a system for building, distributing and running sandboxed desktop applications on Linux.

See http://flatpak.org/ for more information.

Read documentation for the flatpak commandline tools and for the libflatpak library API.