New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org.filezillaproject.Filezilla -> org.filezilla-project.Filezilla #1
Conversation
That isn't a valid id for flatpak. |
No dashes allowed? |
Dashes are only allowed in the last segment. |
OK, thanks. |
The convention is to replace |
Yeah, happy to fix that when we have tooling to move apps (which I know
we're working on at work, so all isn't lost).
@TingPing we should put something on the submission notes about conventions
here in future.
…On Sun, 24 Dec 2017, 17:52 TingPing, ***@***.***> wrote:
The convention is to replace - with _ btw. Sadly this one didn't seem to
follow that and we don't have tooling to rename app's on flathub atm.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASeVTh5ynNX4HhM7TBCBOP7syY1KEdxks5tDo9dgaJpZM4RL-sX>
.
|
@TingPing @nedrichards @alexlarsson So I got the FileZilla people to change their upstream AppStream ID to rDNS style: How shall we resolve this impasse? |
Well sadly they just have a broken app-id now. The DBus (and thus Gtk) spec will enforce the Flatpak requirements soon and the Desktop spec will recommend the Flatpak requirements soon. So we just will continue renaming it. |
Sidenote just for @nedrichards @alexlarsson: We should perhaps make our own spec or something for app-id's because calling it rdns only ends poorly because we explicitly do not support rdns we just want an app-id in rdns-like style. |
Any chance you could reach out to the FileZilla folks on this matter? I'm playing go-between but since I'm not a Flatpak, Flathub, or AppStream developer, I don't think my words carry much weight. |
@Pointedstick Well what they said isn't wrong and they clearly don't care about Flatpak so I don't think there is any further action to take upstream. Getting consistent guidelines in all of the specs is still in progress as mentioned so maybe after that point they can revisit it. |
I think most software developers aren't going to care about Flatpak or Appstream per se; it's going to be up to us to make adoption as straightforward and painless as possible. |
Indeed, but strict naming conventions are part of the security model so that can't be avoided. All we can do is document it. |
Documentation is good, as is encouraging upstream software to take the lead here so we don't run into the situation where Flathub defined an AppStream ID for them that they don't want to or can't use once they get around to defining one themselves. And can you expand on the security implications of allowing more dashes in the AppStream ID? |
@Pointedstick As I understand it (anybody feel free to correct me): Flatpak supports 6 types of exports currently: icons, mimetypes, search providers, desktop files, appstream data, dbus services. In order for the concept of exports to be unique they must all have a matching ID so what Flatpak can allow is the least common denominator of all of these. So lets break these down:
So at the end of the day one thing to absolutely be sure of; A Flatpak application-id does not necessarily match what DNS supports because that isn't the goal. |
OK, thank you. Given the confusion that's bound to result from AppStream and DBus having slightly different formats, I wonder if we might make the AppStream ID spec more strict to match the DBus one: ximion/appstream#162 |
The D-Bus spec only discourages hyphen/minus. I have no plans to change "discouraged" to "forbidden" - that would be a backwards-compat break. I could make the dbus-daemon log warnings eventually, but given how hard it is to rename an app gracefully, it probably isn't worth it - apps that have the wrong name will probably have it for a long time. A special case where a Flatpak app is sometimes allowed to publish the "wrong" name, but needs to be specially flagged as doing so, with each change triggering Flathub review, might be a pragmatic escape route.
There are already plenty of valid DNS names that are not syntactically valid D-Bus bus names, so if you want Flatpak app IDs to match D-Bus bus names and encompass all valid DNS names, you've already lost. The example I like to use is that |
Yea sorry I corrected that in my later post.
We've been using Yea as I said we should just stop referring to them as rdns because upstreams expect their dns name to "just work" after that. |
Yes, that's my recommendation for dealing with that name. |
The domain name is filezilla-project.org (not filezillaproject.org) so let's respect that in the AppStream ID.
I have also submitted an upstream patch to use this ID: https://trac.filezilla-project.org/ticket/11478T