Re: How to test appdata for a package?

2016-01-21 Thread Richard Shaw
Coming back around to this...

I have made sure that gnome-software wasn't already running, did
appstream-util validate (no relaxed and fixed all output), and I still
can't get it to show up in gnome-software after installing the resultant
RPM...

Any other ideas? I would really like a method to visually review the
results prior to building official packages.

Thanks,
Richard
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: How to test appdata for a package?

2016-01-21 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 21, 2016 at 11:26:18AM -0600, Richard Shaw wrote:
> Coming back around to this...
> 
> I have made sure that gnome-software wasn't already running, did
> appstream-util validate (no relaxed and fixed all output), and I still
> can't get it to show up in gnome-software after installing the resultant
> RPM...
> 
> Any other ideas? I would really like a method to visually review the
> results prior to building official packages.

Yeah, it would be really nice to be able to do:
gnome-software foobar.appdata.xml.
Apart from obvious convenience, this would have the additional advantage
of not requiring root privileges.

Zbyszek
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: How to test appdata for a package?

2016-01-21 Thread Richard Shaw
On Thu, Jan 21, 2016 at 6:44 PM, Zbigniew Jędrzejewski-Szmek <
zbys...@in.waw.pl> wrote:

> On Thu, Jan 21, 2016 at 11:26:18AM -0600, Richard Shaw wrote:
> > Coming back around to this...
> >
> > I have made sure that gnome-software wasn't already running, did
> > appstream-util validate (no relaxed and fixed all output), and I still
> > can't get it to show up in gnome-software after installing the resultant
> > RPM...
> >
> > Any other ideas? I would really like a method to visually review the
> > results prior to building official packages.
>
> Yeah, it would be really nice to be able to do:
> gnome-software foobar.appdata.xml.
> Apart from obvious convenience, this would have the additional advantage
> of not requiring root privileges.


Interestingly enough, while all searches failed, listing the installed
packages and scrolling down to it worked. Strange.

Thanks,
Richard
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: How to test appdata for a package?

2015-12-16 Thread Jens Lody
Am Mittwoch, den 16.12.2015, 12:58 -0600 schrieb Richard Shaw:
> On Wed, Dec 16, 2015 at 12:41 PM, Richard Hughes  >
> wrote:
> 
> > On 16 December 2015 at 18:09, Richard Shaw 
> > wrote:
> > > I thought I successfully used gnome-software --prefer-local
> > > before but no
> > > matter what I do it doesn't find the package.
> > 
> > You need to do (kill the old instance):
> > 
> > killall gnome-software
> > gnome-software --prefer-local
> > 
> 
> Ok, that's still a nogo... I assume that the search is not case
> sensitive?
> 
> 
> > I've even gone as far as to try appstream-util install
> > /path/to/appdata.xml
> > > but I'm not sure if that does what I want as the documentation is
> > > pretty
> > > light for the options.
> > 
> > "appstream-util validate foo.appdata.xml" does the validation, but
> > gnome-software is the only client that can do a graphical "preview"
> > of
> > what it looks like. Perhaps I need to fix that.
> > 
> 
> Maybe not... I don't mind using gnome-software as long as I can
> figure out
> how to make sure it sees the new appdata file.
> 
> I'm not actually too worried about the content per se, but I do want
> to
> verify that the screenshot URL is good and that it looks good.
> 
I had the same problem, I build my package on copr and searched for it
in gnome-software, but it was not found.
After installing it with dnf, it also shows in gnome-software.
I did not try it with a local install.

> Thanks,
> Richard
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


Re: How to test appdata for a package?

2015-12-16 Thread Richard Shaw
On Wed, Dec 16, 2015 at 12:41 PM, Richard Hughes 
wrote:

> On 16 December 2015 at 18:09, Richard Shaw  wrote:
> > I thought I successfully used gnome-software --prefer-local before but no
> > matter what I do it doesn't find the package.
>
> You need to do (kill the old instance):
>
> killall gnome-software
> gnome-software --prefer-local
>

Ok, that's still a nogo... I assume that the search is not case sensitive?


> I've even gone as far as to try appstream-util install
> /path/to/appdata.xml
> > but I'm not sure if that does what I want as the documentation is pretty
> > light for the options.
>
> "appstream-util validate foo.appdata.xml" does the validation, but
> gnome-software is the only client that can do a graphical "preview" of
> what it looks like. Perhaps I need to fix that.
>

Maybe not... I don't mind using gnome-software as long as I can figure out
how to make sure it sees the new appdata file.

I'm not actually too worried about the content per se, but I do want to
verify that the screenshot URL is good and that it looks good.

Thanks,
Richard
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Re: How to test appdata for a package?

2015-12-16 Thread Richard Hughes
On 16 December 2015 at 18:09, Richard Shaw  wrote:
> I thought I successfully used gnome-software --prefer-local before but no
> matter what I do it doesn't find the package.

You need to do (kill the old instance):

killall gnome-software
gnome-software --prefer-local

> I've even gone as far as to try appstream-util install /path/to/appdata.xml
> but I'm not sure if that does what I want as the documentation is pretty
> light for the options.

"appstream-util validate foo.appdata.xml" does the validation, but
gnome-software is the only client that can do a graphical "preview" of
what it looks like. Perhaps I need to fix that.

Richard
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org


How to test appdata for a package?

2015-12-16 Thread Richard Shaw
I' m working on a package for a review and have added what I believe is a
good appdata file, at least it passes appdata validation during the build,
but how in the heck are you supposed to be able to test what the result
will look like in gnome-software?

I thought I successfully used gnome-software --prefer-local before but no
matter what I do it doesn't find the package.

I've even gone as far as to try appstream-util install /path/to/appdata.xml
but I'm not sure if that does what I want as the documentation is pretty
light for the options.

Thanks,
Richard
--
devel mailing list
devel@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org