[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: D10920: Install app metadata for plasmoidviewer and plasmaengineexplorer
From: Nathaniel Graham <noreply () phabricator ! kde ! org>
Date: 2018-02-28 21:29:54
Message-ID: 20180228212954.1.77306F0A3B492CB0 () phabricator ! kde ! org
[Download RAW message or body]
ngraham added a comment.
Here's the full discussion:
Nate Graham, [28.02.18 14:17]
Quick question: is it or is it not okay for TLD-style appstream IDs to end in \
.desktop? Is there any problem with this, or do clients ignore it when determining \
app uniqueness? (i.e. would org.blender.blender and org.blender.blender.desktop be \
considered the same app)
Matthias, [28.02.18 14:18]
It would not be considered the same app
Matthias, [28.02.18 14:18]
The general advice is to leave a desktop suffix out for new metadata
Matthias, [28.02.18 14:19]
Having it doesn't hurt though
Nate Graham, [28.02.18 14:22]
it might be nice to add this information to \
https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent, \
since when I tell this to people, they're often skeptical
Matthias, [28.02.18 14:22]
Which information?
Nate Graham, [28.02.18 14:22]
that it's not recommended to add .desktop as a suffix for new apps
Matthias, [28.02.18 14:23]
Well, the spec is pretty explicit in not requesting it - no example there has it, \
and the ID is defined as tld.domain.app
Nate Graham, [28.02.18 14:23]
for example see the discussion at https://phabricator.kde.org/D10920
Nate Graham, [28.02.18 14:24]
I pointed that out, and the reply was:
Nate Graham, [28.02.18 14:24]
"While there is no direct mention of a .desktop, there is some description about \
adding a type: So why would you think that .desktop is not the type name as \
mentioned there? Any chance you can point to the relevant conversations?"
Matthias, [28.02.18 14:24]
I am currently on vacation, will look at that bug report when back home
Nate Graham, [28.02.18 14:24]
ok
Matthias, [28.02.18 14:25]
Oh, that type stuff if it's still in there should maybe be clarified then, I guess \
- will look at it later
Nate Graham, [28.02.18 14:25]
cool, thanks
Matthias, [28.02.18 14:25]
Basically, you can add a type if you want to distinguish between components in the \
same domain, e.g. if you develop an app and a library of the same name
REPOSITORY
R118 Plasma SDK
REVISION DETAIL
https://phabricator.kde.org/D10920
To: kossebau, sebas, mart, broulik
Cc: ngraham, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, \
sebas, apol, mart
[Attachment #3 (unknown)]
<table><tr><td style="">ngraham added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: \
right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: \
#F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: \
inline-block; border: 1px solid rgba(71,87,120,.2);" \
href="https://phabricator.kde.org/D10920" rel="noreferrer">View \
Revision</a></tr></table><br /><div><div><p>Here's the full discussion:</p>
<p>Nate Graham, [28.02.18 14:17]<br />
Quick question: is it or is it not okay for TLD-style appstream IDs to end in \
.desktop? Is there any problem with this, or do clients ignore it when determining \
app uniqueness? (i.e. would org.blender.blender and org.blender.blender.desktop be \
considered the same app)</p>
<p>Matthias, [28.02.18 14:18]<br />
It would not be considered the same app</p>
<p>Matthias, [28.02.18 14:18]<br />
The general advice is to leave a desktop suffix out for new metadata</p>
<p>Matthias, [28.02.18 14:19]<br />
Having it doesn't hurt though</p>
<p>Nate Graham, [28.02.18 14:22]<br />
it might be nice to add this information to <a \
href="https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent" \
class="remarkup-link" target="_blank" \
rel="noreferrer">https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#sect-Metadata-GenericComponent</a>, \
since when I tell this to people, they're often skeptical</p>
<p>Matthias, [28.02.18 14:22]<br />
Which information?</p>
<p>Nate Graham, [28.02.18 14:22]<br />
that it's not recommended to add .desktop as a suffix for new apps</p>
<p>Matthias, [28.02.18 14:23]<br />
Well, the spec is pretty explicit in not requesting it - no example there has it, and \
the ID is defined as tld.domain.app</p>
<p>Nate Graham, [28.02.18 14:23]<br />
for example see the discussion at <a href="https://phabricator.kde.org/D10920" \
class="remarkup-link" target="_blank" \
rel="noreferrer">https://phabricator.kde.org/D10920</a></p>
<p>Nate Graham, [28.02.18 14:24]<br />
I pointed that out, and the reply was:</p>
<p>Nate Graham, [28.02.18 14:24]<br />
"While there is no direct mention of a .desktop, there is some description about \
adding a type:<br /> So why would you think that .desktop is not the type name as \
mentioned there? Any chance you can point to the relevant conversations?"</p>
<p>Matthias, [28.02.18 14:24]<br />
I am currently on vacation, will look at that bug report when back home</p>
<p>Nate Graham, [28.02.18 14:24]<br />
ok</p>
<p>Matthias, [28.02.18 14:25]<br />
Oh, that type stuff if it's still in there should maybe be clarified then, I \
guess - will look at it later</p>
<p>Nate Graham, [28.02.18 14:25]<br />
cool, thanks</p>
<p>Matthias, [28.02.18 14:25]<br />
Basically, you can add a type if you want to distinguish between components in the \
same domain, e.g. if you develop an app and a library of the same \
name</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R118 Plasma \
SDK</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a \
href="https://phabricator.kde.org/D10920" \
rel="noreferrer">https://phabricator.kde.org/D10920</a></div></div><br \
/><div><strong>To: </strong>kossebau, sebas, mart, broulik<br /><strong>Cc: \
</strong>ngraham, plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, \
abetts, sebas, apol, mart<br /></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic