[Toaster] [review-request] michaelw/toaster/orm-split-up

Michael Wood michael.g.wood at intel.com
Fri Jun 19 08:14:17 PDT 2015


OK, I've added a commit on this branch for step 1

And will file a bug/patch in the autobuilder to update the url.

Michael

On 19/06/15 12:38, Damian, Alexandru wrote:
> Hi,
>
> There is a slight problem with this approach.
>
> The AB is using the "/orm/eventfile" URL for uploading bitbake 
> eventfiles from running builds.
> This patch changes that to "/bldcollector/eventfile", breaking the 
> interface for AB; therefore it cannot be taken as it is.
>
> I would suggest a 3-step approach:
>
> - make both the old and new URL work simultaneously, and have that 
> deployed on the toaster-ab-server
> - patch the AB to use the new URL
> - once the patch is deployed to AB and verified to be correctly used 
> in uploading data, delete the old URL mapping.
>
> Cheers,
> Alex
>
>
>
> On Tue, Jun 16, 2015 at 6:16 PM, Michael Wood 
> <michael.g.wood at intel.com <mailto:michael.g.wood at intel.com>> wrote:
>
>     This is a slightly reduced scope version of the refactoring of the
>     ORM that was discussed. The orm can continue to be a central place
>     for database abstraction and the bldcollector can take over the
>     function that was confusingly part of the orm application.
>
>     This reduces the changes from potentially /most/ files in toaster
>     to a select few, as after looking at this the gain from changing
>     more of the application doesn't outweigh the risk for regressions
>     and potential disruption.
>
>     commit e35930be7c9fc99d5244c28c4f37eaece1615606
>     Author: Michael Wood <michael.g.wood at intel.com
>     <mailto:michael.g.wood at intel.com>>
>     Date:   Tue Jun 16 16:00:26 2015 +0100
>
>         bitbake: toaster: split orm app into it's own module and app
>
>         The orm application was also the django application to collect
>     the build
>         information. Splitting this module up into it's functional
>     parts. orm
>         for the data module and bldcollector for build collection data.
>
>         [YOCTO #7706]
>
>         Signed-off-by: Michael Wood <michael.g.wood at intel.com
>     <mailto:michael.g.wood at intel.com>>
>
>     -- 
>     _______________________________________________
>     toaster mailing list
>     toaster at yoctoproject.org <mailto:toaster at yoctoproject.org>
>     https://lists.yoctoproject.org/listinfo/toaster
>
>
>
>
> -- 
> Alex Damian
> Yocto Project
> SSG / OTC
>
> ---------------------------------------------------------------------
> Intel Corporation (UK) Limited
> Registered No. 1134945 (England)
> Registered Office: Pipers Way, Swindon SN3 1RJ
> VAT No: 860 2173 47
>
> This e-mail and any attachments may contain confidential material for
> the sole use of the intended recipient(s). Any review or distribution
> by others is strictly prohibited. If you are not the intended
> recipient, please contact the sender and delete all copies.
>



More information about the toaster mailing list