Skip to contentSkip to conversation

Sample Toaster data for development purposes

DISCUSSION Barros Pena, Belen 2 participants 4 messages Mar 3, 2014 – Mar 4, 2014

lore
Share & tools
lore
#1 lore raw

Hi Belen,
I've downloaded the database which doesn't included Alex's latest changes.

The database won't work with my package pages since the orm_target_installed_package is empty. This happens if you built with sstate cache. With the latest clone from toaster-master and after building with an sstate cache, I still get reasonable row counts in orm_target_installed_package, about 400 total for a minimal and sato build.

Also, I've noticed in the sample database that I've downloaded, that there are 9 images/builds and 610,000 package file rows. I think that implies approximately 70,000 package files per image in the database. With my latest pull from toaster-master, I get similar values: 116,000 total rows for two builds: minimal and sato. These seem like high numbers.

-dave

Quoted 20 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Barros Pena, Belen
Sent: Monday, March 03, 2014 6:12 AM
To: [email protected]
Subject: [Toaster] Sample Toaster data for development purposes

If you need a sample database to test your Toaster code before sending it for review, we have uploaded one to:

https://wiki.yoctoproject.org/wiki/File:Toaster.sqlite

Cheers

Belén

_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#2 lore raw

Thanks, Dave. I'll check which branch was used for the builds.

Belén

Quoted 42 lines · Dave

Hi Belen,
I've downloaded the database which doesn't included Alex's latest changes.

The database won't work with my package pages since the orm_target_installed_package is empty. This happens if you built with sstate cache. With the latest clone from toaster-master and after building with an sstate cache, I still get reasonable row counts in orm_target_installed_package, about 400 total for a minimal and sato build.

Also, I've noticed in the sample database that I've downloaded, that there are 9 images/builds and 610,000 package file rows. I think that implies approximately 70,000 package files per image in the database. With my latest pull from toaster-master, I get similar values: 116,000 total rows for two builds: minimal and sato. These seem like high numbers.

-dave

Quoted 22 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Barros Pena, Belen
Sent: Monday, March 03, 2014 6:12 AM
To: [email protected]
Subject: [Toaster] Sample Toaster data for development purposes

If you need a sample database to test your Toaster code before sending it
for review, we have uploaded one to:

https://wiki.yoctoproject.org/wiki/File:Toaster.sqlite

Cheers

Belén

_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

#3 lore raw
In reply to Lerner, Dave

Hi Dave,

The sample data was generated with poky/master. I had a quick chat with Alex, and he thinks that's the right approach. We are aiming to bring the latest batch of changes from toaster/master into poky/master as soon as possible. Once that's done we will update the sample data.

I hope that's ok.

Cheers

Belén

Quoted 42 lines · Dave

Hi Belen,
I've downloaded the database which doesn't included Alex's latest changes.

The database won't work with my package pages since the orm_target_installed_package is empty. This happens if you built with sstate cache. With the latest clone from toaster-master and after building with an sstate cache, I still get reasonable row counts in orm_target_installed_package, about 400 total for a minimal and sato build.

Also, I've noticed in the sample database that I've downloaded, that there are 9 images/builds and 610,000 package file rows. I think that implies approximately 70,000 package files per image in the database. With my latest pull from toaster-master, I get similar values: 116,000 total rows for two builds: minimal and sato. These seem like high numbers.

-dave

Quoted 22 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Barros Pena, Belen
Sent: Monday, March 03, 2014 6:12 AM
To: [email protected]
Subject: [Toaster] Sample Toaster data for development purposes

If you need a sample database to test your Toaster code before sending it
for review, we have uploaded one to:

https://wiki.yoctoproject.org/wiki/File:Toaster.sqlite

Cheers

Belén

_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster