Re: Pkgdb2 making it to stg (pre-prod)

2014-04-28 Thread Honza Horak

Hi,

I'm not sure if this is related to the new pkgdb2 effort, but may be.

The problem I had the last days was that the old pkgdb seemed broken for 
me and at least one other guy I asked. Today I found the reason -- it 
seems that URL https://admin.fedoraproject.org/pkgdb/ works just fine, 
but URL https://admin.fedoraproject.org/pkgdb (without slash in the end) 
does not and I get a message:

Not Found
The requested URL /pkgdb was not found on this server.

What is more, the staging version of pkgdb2 has the same problem -- URL 
https://admin.stg.fedoraproject.org/pkgdb returns the same error message.


I guess redirection or something is a question of a minute, but in case 
it is necessary to submit a report for infrastructure, just let me know.


Regards,
Honza

On 04/22/2014 09:23 PM, Pierre-Yves Chibon wrote:

Dear all,

A while ago I introduced you the dev instance of pkgdb2. Since then, I have been
working some more on it.
I recently updated pgkdb-cli to work with the new API [1] as well as writing
a python module for those that want to script against said API [2].

On March 10th, pkgdb2 made it to staging [3], our pre-production environment,
and on March 11th, I have updated its database to have a recent version of the
pkgdb1 database, just converted for pkgdb2.

This means that soon (I'm thinking early May), pkgdb2 will go live in
production. If you have any tools that are relying on pkgdb, now would be a good
time to start looking at the pkgdb2 API [4] and see if it does what you want to
do. I will accept *minor* changes/enhancements to the current API, but only
while it is only in staging. So if you want something changed in the API, now
is a good time to ask.

[1] https://github.com/fedora-infra/packagedb-cli/
[2] https://github.com/fedora-infra/packagedb-cli/blob/master/pkgdb2client.py
[3] https://admin.stg.fedoraproject.org/pkgdb/
[4] https://admin.stg.fedoraproject.org/pkgdb/api/

Bug reports and RFE are of course welcome at either place:
https://github.com/fedora-infra/pkgdb2
or
https://fedorahosted.org/pkgdb2/

Thanks for your attention and have a nice day!
Pierre



--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Re: Pkgdb2 making it to stg (pre-prod)

2014-04-28 Thread Pierre-Yves Chibon
On Mon, Apr 28, 2014 at 08:53:30AM +0200, Honza Horak wrote:
 I'm not sure if this is related to the new pkgdb2 effort, but may be.
 
 The problem I had the last days was that the old pkgdb seemed broken
 for me and at least one other guy I asked. Today I found the reason
 -- it seems that URL https://admin.fedoraproject.org/pkgdb/ works
 just fine, but URL https://admin.fedoraproject.org/pkgdb (without
 slash in the end) does not and I get a message:
 Not Found
 The requested URL /pkgdb was not found on this server.
 
 What is more, the staging version of pkgdb2 has the same problem --
 URL https://admin.stg.fedoraproject.org/pkgdb returns the same error
 message.
 
 I guess redirection or something is a question of a minute, but in
 case it is necessary to submit a report for infrastructure, just let
 me know.

I had seen it for the staging instance (pkgdb2) but not for the production one.
I tried to look at it but didn't figure it out and thought it was a hick-up on
my configuration of pkgdb2, but apparently it is not since I did not touch
pkgdb1.

I'll create a ticket on the infra trac to keep trac of this.

Thanks for the report!
Pierre
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct

Pkgdb2 making it to stg (pre-prod)

2014-04-22 Thread Pierre-Yves Chibon
Dear all,

A while ago I introduced you the dev instance of pkgdb2. Since then, I have been
working some more on it.
I recently updated pgkdb-cli to work with the new API [1] as well as writing
a python module for those that want to script against said API [2].

On March 10th, pkgdb2 made it to staging [3], our pre-production environment,
and on March 11th, I have updated its database to have a recent version of the
pkgdb1 database, just converted for pkgdb2.

This means that soon (I'm thinking early May), pkgdb2 will go live in
production. If you have any tools that are relying on pkgdb, now would be a good
time to start looking at the pkgdb2 API [4] and see if it does what you want to
do. I will accept *minor* changes/enhancements to the current API, but only
while it is only in staging. So if you want something changed in the API, now
is a good time to ask.

[1] https://github.com/fedora-infra/packagedb-cli/
[2] https://github.com/fedora-infra/packagedb-cli/blob/master/pkgdb2client.py
[3] https://admin.stg.fedoraproject.org/pkgdb/
[4] https://admin.stg.fedoraproject.org/pkgdb/api/

Bug reports and RFE are of course welcome at either place:
https://github.com/fedora-infra/pkgdb2
or
https://fedorahosted.org/pkgdb2/

Thanks for your attention and have a nice day!
Pierre
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct