Re: Bodhi doesn't recognize new packages when creating a new update

2017-09-29 Thread Hedayat Vatankhah


/*Randy Barlow*/ wrote on Fri, 29 Sep 2017 15:04:07 -0400:

On 09/29/2017 03:54 AM, Hedayat Vatankhah wrote:

I've recently added 2 new packages, but when I tried to add them to
F27/F26 updates, it doesn't recognize them in the "Packages" box and
says: "Unable to find any packages that match the current query". BTW, I
can create the desired update, the only inconvenience is that Bodhi
doesn't provide any auto-completion assists.

I guess it is not the expected behaviour. You can try
'golang-github-dchest-siphash' as an example.


I took a look into this - it seems that Bodhi's JavaScript is querying
this URL, which is the packages app:

https://apps.fedoraproject.org/packages/fcomm_connector/xapian/query/search_packages/{"filters":{"search":"golang-github-dche"},"rows_per_page":10,"start_row":0}

I believe the packages app has not been updated to work with all the new
sources of truth now that pkgdb is gone.

In any case, that is just a convenience method to aid in autocompleting
that form, so the workaround as you found is just to type the nvrs into
the builds box and things will work as expected from there. You may also
use the bodhi CLI to do the same.


Thanks for the comments and looking into the problem.

Regards,
Hedayat
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Re: Bodhi doesn't recognize new packages when creating a new update

2017-09-29 Thread Randy Barlow
On 09/29/2017 03:54 AM, Hedayat Vatankhah wrote:
> I've recently added 2 new packages, but when I tried to add them to
> F27/F26 updates, it doesn't recognize them in the "Packages" box and
> says: "Unable to find any packages that match the current query". BTW, I
> can create the desired update, the only inconvenience is that Bodhi
> doesn't provide any auto-completion assists.
> 
> I guess it is not the expected behaviour. You can try
> 'golang-github-dchest-siphash' as an example.


I took a look into this - it seems that Bodhi's JavaScript is querying
this URL, which is the packages app:

https://apps.fedoraproject.org/packages/fcomm_connector/xapian/query/search_packages/{"filters":{"search":"golang-github-dche"},"rows_per_page":10,"start_row":0}

I believe the packages app has not been updated to work with all the new
sources of truth now that pkgdb is gone.

In any case, that is just a convenience method to aid in autocompleting
that form, so the workaround as you found is just to type the nvrs into
the builds box and things will work as expected from there. You may also
use the bodhi CLI to do the same.



signature.asc
Description: OpenPGP digital signature
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org


Bodhi doesn't recognize new packages when creating a new update

2017-09-29 Thread Hedayat Vatankhah

Dear all,
I've recently added 2 new packages, but when I tried to add them to 
F27/F26 updates, it doesn't recognize them in the "Packages" box and 
says: "Unable to find any packages that match the current query". BTW, I 
can create the desired update, the only inconvenience is that Bodhi 
doesn't provide any auto-completion assists.


I guess it is not the expected behaviour. You can try 
'golang-github-dchest-siphash' as an example.


Regards,
Hedayat
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org