-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Create an AppData file #235
Conversation
</screenshots> | ||
<url type="homepage">http://sqlitebrowser.org/</url> | ||
<url>https://github.com/sqlitebrowser/sqlitebrowser</url> | ||
<updatecontact>info@sqlitebrowser.org</updatecontact> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmm, we don't have an email address set up for the @sqlitebrowser.org domain, so that's probably not right.
Can we point at the GitHub Issues page for the contact point, or leave out the email?
Although we could create a working email address via MX record stuff (not hard), I'd rather not for now... it'd be just another target for spammers. 😦
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The spec says file standard updates are sent to the address, so would be good to receive them but like you say, spam is a concern. Maybe we should omit it then? Very happy to re-roll with it removed.
Yeah, lets omit it. 😄 |
E-Mail address now removed, I assume you are happy with the licenses I referenced? I stated "Creative Commons Zero v1.0 Universal" for the appdata.xml file itself which is usually different to the project and one of the four permitted ones and then said the project is licensed under "Mozilla Public License 2.0" and "GNU General Public License v3.0 or later". |
Mostly okay, but a few issues:
A url without a type is invalid (perhaps you meant type="bugtracker") and the other issues are just style warnings that would go away using validate-relax. Thanks! |
@hughsie What's the vertical / horizontal padding warning about? |
@justinclift We rely on there being no alpha padding around the screenshot so we can scale it to fit the application area. This means the screenshots have to be taken without any kind of "fuzzy border" -- or you can remedy this in GIMP/Photoshop. Also, the screenshot is supposed to be what it looks like on Linux :) See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details; thanks. |
Gotcha. How important is it? Preferably, I'd strongly like to be able to ignore those two warnings. Bulking out our git repo just to fix these warnings... not really a fan of that idea. ? |
Hmmmm, if we can have the screenshots in a different repo, that might be the solution. That would avoid bulking out our main source repo. |
@justinclift Any screenshot is better than no screenshot, but I'd really like the application installer to look sexy and coherent. If you need space I can host a static image somewhere, although I'd much prefer this was in your control for obvious reasons. If it helps, about half of the apps with AppData have the screenshot in the VCS :) |
k, I'll create a "screenshots" repo here and we can have them in there. That'll avoid bulking out the repo size for 99.9% of people using the source. 😄 |
k, new repo created here: https://github.com/sqlitebrowser/db4s-screenshots We can add screenshots in there (Pull Requests accepted btw), and then choose a suitable one for the AppData file. |
@hughsie I understand what @justinclift thanks for the new repo, do you know someone who could trim the existing image or make a new one? |
@glawrence You can ignore the two short style warning in this case, it's a little redundant. The URL types are defined here: http://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#tag-url |
@hughsie thanks. I was thinking of adding GitHub repo as a second homepage but it is easy to get to from the main website, so will add a link to issues as a bugtracker. I guess once I fix the url we could run with this right? Or should we really fix the image first? By the way, the xml file lands in /usr/local/share/appdata/ so is that okay? |
@glawrence Fixing the screenshot can be done whenever, but I'd obviously prefer it not be forgotten about :) /usr/local/share/appdata/ isn't ideal, but if if you install the .desktop file to /usr/local/share/applications I'm sure the packager is just doing a simple mv to get things in the right place already. |
@hughsie thanks, understood, I have updated the xml now @justinclift happy for you to merge this or wait for an updated screenshot |
I'll get some updated screenshots into the repo in a few hours. I have some that @MKleusberg @rp- and @piacentini (I think) emailed to me a while ago, which I never got around to committing. If @Samir-Aguiar or anyone else wants to directly commit some or do a PR on the screenshot repo with new ones, that's good too. @glawrence If the screenshots aren't ready by the end of tonight (unlikely, but could happen), then I'll just merge this change as-is and we can do the screenshot update later. 😄 |
@justinclift thanks, would be nice to roll this in and then we go see how well it all works. If you let me know when the screenshots are in I will add them to the xml. Ideally we need a default one showing a good overview, like the current one and then we can add more. Just for information: "Ideally, all screenshots should have a 16:9 aspect ratio, and should have a width that is no smaller than 620px. They should also be in be in PNG or JPEG format. PNG is the preferred format; JPEG should only be used when screenshots include large photographs or other images where a lossy format like JPEG may compress better." |
@glawrence Did them right away instead. They're for v3.3 (interface is pretty much the same). Are any of them suitable, with the 16:9 restriction? If so, pick one. Your choice. 😄 |
Will take a look as soon as I can and update the XML, will be all good after my next commit! |
@glawrence Cool. Btw, would you be ok to merge the commits into a single one? Makes it better/easier for the repo history that way. 😄 |
@justinclift everything is ready now, in that I have added the new screenshots. I am happy to merge the commits into a single one but I can't fathom how, I have searched and tried a few things but failed. So, if you want me to merge them then I will need some steps please, sorry! |
Sure, there are a few ways to do it. This way (below) is the way I generally do it, out of bad habit. 😉 (but it works) So, first jump into your git repo directory, and do a git log to see what's what:
This shows the commits you've added since Samir's last one. What we want to do is rewind the commit log back to Samirs commit, then add your new files in one brand new commit. So, using the id for Samir's commit - c3c8f8c - do this:
It will ask you for the new commit message, and will do a new commit right after Samir's. Do a git log again, to verify it seems sane:
Except it will have your new commit in there instead of my bogus example one. 😄 Then push it back here to GitHub, which should automagically 😉 update this issue with it. Workable? |
Yes, it was fine, once I figure out |
Thanks @glawrence, that's Awesome. 😁 |
Thanks guys! |
You're welcome. So @justinclift I now need to find the next thing I can help with! Thanks to you and @hughsie appreciate your support |
The wiki needs helping along, if you're up for it? 😄 |
I will take a look and see what I can do, thanks |
As per issue #178 I have created an AppData file and got it to install
to /usr/local/share/appdata/. I believe the license and updatecontact
tags need checking.