On Wed, Sep 07, 2011 at 01:49:38PM -0400, Severin Gehwolf wrote:
On Wed, 2011-09-07 at 12:17 -0400, Luke Macken wrote:
> On Wed, Sep 07, 2011 at 12:00:19PM -0400, Andrew Robinson wrote:
> > >Hi Severin,
> > >
> > >The previous URL structures will still work as expected. All this patch
does is make it so that the url of your updates will appear as the /FEDORA-2011-0001
structure, but all previous structures are still >supported, such as:
> > >
> > > /Package.updateid
> > > /Package.name
> > > /PackageUpdate.title
> > > /PackageBuild.nvr
> > > /Release.name
> > > /Release.name/PackageUpdate.updateid
> > > /Release.name/PackageUpdate.status
> > > /Release.name/PackageUpdate.status/PackageUpdate.title
> > >
> > >And yes, the updateid should be returned via the JSON response, as I know
AutoQA relies on it.
> > >
> > > luke
> >
> > From what I can gather the updateid isn't set until an update is pushed to
testing. Is there any way at time of submission to use the updateid url?
>
> At the moment there is not. Your correct in that updates do not get
> assigned an updateid until they are pushed to testing, so there is no
> way to reference an update by this id until it has been pushed. Before
> the push, you can only get to the update via
> /updates/name-version-release
Thanks for the clarification, Luke.
> In bodhi v2.0, we're going to be revamping our updateID's, so you will
> have a non-changing ID for each update right when they are submitted.
OK. Any ideas when v2.0 will be released? Will this be the next release?
I see that currently it's v0.8.1 which is in production.
I need to do a better job of keeping these milestones up to date, but I
have a basic writeup of Bodhi2 here:
https://fedoraproject.org/wiki/Bodhi/2.0
Bodhi 2.0 is still a little ways off; it's hard to estimate when. It's
essentially a complete port/re-write from TurboGears 1 to Pyramid. I've
made a lot of progress, and I feel that it already is providing us with
a much faster/slimmer/cleaner foundation to build on top of.
I already wrote a migration script that takes your bodhi database and
migrates it entirely to the new SQLAlchemy model. Before I
feature-freeze the old code, I need to get our Fedora Account System
authentication middleware working in Pyramid/repoze.who first.
As for the current TG1 codebase, I am planning at least a couple more
bugfix releases in the next few weeks.
luke