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
Release url #160
Release url #160
Conversation
|
Ok something is wrong with this PR. Why does it say it has 3 commits?! |
|
Ok I fixed the branch. Something was wrong with my rebasing obviously. All good now. :-) |
|
I'd rather see |
That is not contradictory. We can improve the release information within the appstream metadata (I think adding per-release screenshots is indeed a very good idea) while still acknowledging the fact that release information also exists through other medium. There are several reasons why this is important: (1) When a project (such as GIMP) publishes news and release notes on the web, we are not going to stop doing so in favor there are appstream metadata (which is not even used by all OSes; only the web news is usable everywhere across platforms, hence is a preferred medium). So we are duplicating the work. (2) Our web news are edited multiple times for days and even weeks before a release and we usually do the last edits just hours, if not minutes, before the actual release. This means that the web news will be usually English only at first. This is not a big problem since we can still translate the news in other languages later on, if we want. The link will stay the same anyway so the same link will become multi-language information over time. Web news and appstream release description is definitely not a similar process, writing and localization-wise, therefore the release info within the metadata just cannot be treated the same as the web news. (3) In any case, the So yes, we can still add (4) Even if (5) Finally we have web links, they are made to be used, aren't they? Why would we go all the way to absolutely embed all the same data as we already have inside appstream? It's not like appstream is going to replace the web (or is even competing at it since that is not meant to!) anytime soon. ;-) Here some examples of news for the 2 latest development releases of GIMP: And the news of GIMP 2.10 will be even huger since it could encompass all the info of all 2.9.x releases! |
|
Quite honestly, I think adding the release information to AppStream metainfo files is a flawed concept from the start, and I am not sure if we should continue this path and add even more stuff to the release tag. Instead, I think it might make sense to create a new AppStream-derived file format (based on XML or something else) that is linked from the metainfo file. So the metainfo file would just contain information on which releases exist or even just which release is "current", while all other information (are there new releases? what is the description of the new release? potential screenshots?) is fetched from a web URL referenced in the metainfo file. Doing that would kill a lot of issues, like the GIMP case of release information being updated post-release and the problem of having to touch the metainfo file so often to make a new release. If a different format from XML is allowed or chosen for writing release details, it might even resolve the "writing release descriptions in XML is awful" issue (although I don't know yet if that really would be a good idea). I am - at the moment - a bit opposed to adding a release-URL tag, because I think projects will use this to not write release descriptions for AppStream anymore, and instead just use the new url to redirect to their web pages. This will overall result in an awful experience when people click on web-URLs in software centers to get update information, especially if no release description is written at all. |
We're making gnome-software work more and more "offline" for internet-expensive deployments.
Well, either you have translated release notes, or you don't. I don't see how splitting this to another file actually helps anything.
This is a valid concern. We could certainly make this a validation failure. |
I don't understand this fear of URLs. Web news won't disappear, even if the formatting capabilities of appstream were the best in the world. Yet that is clear that we will always put more efforts on our web news, however fancy is the appstream format. The web news will obviously remain our most read text regarding a new release for a foreseeable future, not appstream. Also I don't think that the appstream format is really meant to have overlong and detailed release descriptions, am I right?
As I said, we will add release descriptions for now on, but we won't do archaeological research for past releases. I already had all past twelve 2.8.x releases with only the release dates. If you add a validation test on presence of a description, we will likely have to remove our past releases (unless someone else wants to play archaeologist, that won't be me).
The difference is that appstream data is distributed within the software package, which means that if release notes are not translated by the day of the release, it is too late. As a conclusion, I don't have really an opinion on whether it is better to have a new linked format or just improve the current format. But what I can say (to focus back to the topic at hand) is that web URLs exists, whether appstream exists or not, and this will likely stay the preferred way of communicating fancy information to people for a long time. Trying to deny this is not the best idea IMO. |
|
For information, our current In appstream-util, strict validation fails with: And anyway it is not as a nice as whether we could just use |
And I am all for that, but release information does not need to be present offline. You may want to show it when browsing the catalog, in which case we already download screenshots and potentially other stuff, or when upgrading software. And in the "upgrade software" case, and internet connection needs to be there anyway.
What I am concerned about is not just making the release data a solution that works. That is an easy task. It absolutely has to be a solution that upstream projects want to use, and ideally want to use as their primary means of distributing release information. If using the release tag is annoying or if it is not featureful enough, we will get sub par metadata, or upstreams will just insert a weblink instead of actually useful information (at the same time, of course, there must be a limit on what is supported in the release tags). |
Indeed.
I'm sorry but it won't (or at least not in a foreseeable future). There are a few obvious reasons to this:
Even our website news are beyond this description. They are longer, with a lot of links, images, informative texts, and with advanced/detailed description on the most noteworthy features.
So hoping for appstream to become the new primary means, why not as a very long term goal. But that is just not realistic for short term and such a description is the best way for projects to actually not want to use Once again, I am not saying this against appstream. I think it's cool technology/spec. Don't misunderstand. I just hope you can understand projects point of view. :-) |
This is useful to provide a link specific to a given version of a software, rather than a generic link meant for the whole project. Typically you may want to link a release note, or a detailed news which may give much more information than the <description> and/or probably more context, images and examples, etc.
|
Could we revive the discussion? Basically we are told by Right now, I feel like we are stuck in this half-assed situation where we are forced to write down very uninformative release notes (in appdata) while forbidden to link to the more complete notes with nice descriptions, screenshots and images. |
|
I'm now a proponent for a |
|
I am not against adding a (localized) url tag to In any case, this is on my long todo list, but unfortunately so far I haven't had the time to work on it. |
|
I still want to improve the releases workflow to make people use it better, however, adding an URL to releases to point to detailed release notes makes sense, so that is now in the spec. |
Cf. recent update of the appstream spec. See also: ximion/appstream#160
|
Thanks all! I just updated our appdata file to add URL "details" links. :-) |
Cf. recent update of the appstream spec. See also: ximion/appstream#160 (cherry picked from commit cfe1941)
Cf. recent update of the appstream spec. See also: ximion/appstream#160 (cherry picked from commit cfe1941ac7ab1de50e5554001c04d2ee8cedb012)
This is a proposition for allowing
<url>inside the<release>tag as discussed in the pull request #158.We do very nice news post on gimp.org now, with a lot of screenshots, explanations and much more, and a link to these would be very good in a release listing for people who want to know more.
And for release notes too. :-)