<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/bitbake/lib/toaster/toastergui/views.py, branch krogoth-15.0.2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=krogoth-15.0.2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=krogoth-15.0.2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2016-08-31T19:37:44+00:00</updated>
<entry>
<title>bitbake: toaster: Fix adding of bitbake variables containing ':'</title>
<updated>2016-08-31T19:37:44+00:00</updated>
<author>
<name>Alexander Egorenkov</name>
<email>Alexander.Egorenkov@vector.com</email>
</author>
<published>2016-08-30T10:18:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7e11efef59c3102948d3eafe5b136c493deee3b5'/>
<id>urn:sha1:7e11efef59c3102948d3eafe5b136c493deee3b5</id>
<content type='text'>
This fix is a backport from toaster-next.

Krogoth Toaster is unable to add a variable containing ':'
and fails with the following error message:

error on request:
too many values to unpack
Traceback (most recent call last):
 File "bitbake/lib/toaster/toastergui/views.py", line 2171, in
xhr_configvaredit
  variable, value = t.spli(":")
ValueError: too many values to unpack.

[YOCTO #10170]

(Bitbake rev: bee144eeed6c08ec2829533e82f94405058ce453)

Signed-off-by: Alexander Egorenkov &lt;Alexander.Egorenkov@vector.com&gt;
Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: add modal to select custom image for editing</title>
<updated>2016-04-19T20:11:26+00:00</updated>
<author>
<name>Elliot Smith</name>
<email>elliot.smith@intel.com</email>
</author>
<published>2016-04-19T16:28:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1cf8f215b3543ce0f39ebd3321d58cfb518f1c1f'/>
<id>urn:sha1:1cf8f215b3543ce0f39ebd3321d58cfb518f1c1f</id>
<content type='text'>
Add functionality to the placeholder button on the build dashboard
to open a modal dialog displaying editable custom images, in cases
where multiple custom images were built by the build. Where there
is only one editable custom image, go direct to its edit page.

The images shown in the modal are custom recipes for the project
which were built during the build shown in the dashboard.

This also affects the new custom image dialog, as that also has
to show custom image recipes as well as image recipes built during
the build. Modify the API on the Build object to support both.

Also modify and rename the queryset_to_list template filter so that
it can deal with lists as well as querysets, as the new custom image
modal has to show a list of image recipes which is an amalgam of two
querysets.

[YOCTO #9123]

(Bitbake rev: 8c2aea3fa8e1071de60390e86e2536904fa9b7c0)

Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: add build dashboard buttons to edit/create custom images</title>
<updated>2016-04-19T20:11:26+00:00</updated>
<author>
<name>Elliot Smith</name>
<email>elliot.smith@intel.com</email>
</author>
<published>2016-04-19T16:28:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a40a3e6defefd69521a417a366b8752be7e778f9'/>
<id>urn:sha1:a40a3e6defefd69521a417a366b8752be7e778f9</id>
<content type='text'>
When a build is viewed in the dashboard, enable users to edit
a custom image which was built during that build, and/or create
a new custom image based on one of the image recipes built during
the build.

Add methods to the Build model to enable querying for the
set of image recipes built during a build.

Add buttons to the dashboard, with the "Edit custom image"
button opening a basic modal for now. The "New custom image"
button opens the existing new custom image modal, but is modified
to show a list of images available as a base for a new custom image.

Add a new function to the new custom image modal's script which
enables multiple potential custom images to be shown as radio
buttons in the dialog (if there is more than 1). Modify existing
code to use this new function.

Add a template filter which allows the queryset of recipes for
a build to be available to client-side scripts, and from there
be used to populate the new custom image modal.

[YOCTO #9123]

(Bitbake rev: 4c49ffd28e41c4597bdac34d5e54c125571a4b95)

Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: only prevent duplicate custom image names within a project</title>
<updated>2016-04-19T20:11:25+00:00</updated>
<author>
<name>Elliot Smith</name>
<email>elliot.smith@intel.com</email>
</author>
<published>2016-04-19T16:28:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cfc22d3a9e2434fb5b9001850c19617dda6d57aa'/>
<id>urn:sha1:cfc22d3a9e2434fb5b9001850c19617dda6d57aa</id>
<content type='text'>
We currently prevent the same name being used for multiple custom
images, but make the check across all projects. This means that
custom image names have to be unique across all projects in
the Toaster installation.

Modify how we validate the name of a custom image so that we
only prevent duplication of custom image names within a project,
while ensuring that the name of a custom image doesn't duplicate
the name of a recipe which is not a custom image recipe.

[YOCTO #9209]

(Bitbake rev: 9abbb46e799c06757e03addd54e3f5d3c0fe2886)

Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: fix sorting after hiding a column in build tables</title>
<updated>2016-04-19T20:11:25+00:00</updated>
<author>
<name>Elliot Smith</name>
<email>elliot.smith@intel.com</email>
</author>
<published>2016-04-19T16:28:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=040dbf6988bebf755e60f6102bbc2b9854ce0608'/>
<id>urn:sha1:040dbf6988bebf755e60f6102bbc2b9854ce0608</id>
<content type='text'>
When hiding a column in the build tasks or build packages included
table, if the column is set as the current order by for the table, the
order by is not reset to the default. The result is that the table
stays sorted by the hidden column.

Set the default_orderby for these two tables correctly to ensure the
corresponding table is re-sorted when a column is hidden, if that column
was being used as the order by.

[YOCTO #9011]

(Bitbake rev: b99e1012f0ad1dc82a769df15a232280c8e57b9e)

Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: views jsunittest Add MACHINE and an extra layer to test project</title>
<updated>2016-04-06T22:10:31+00:00</updated>
<author>
<name>Michael Wood</name>
<email>michael.g.wood@intel.com</email>
</author>
<published>2016-04-04T10:47:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=7609888b6aa4509c22f821dbee43b8d784c0feae'/>
<id>urn:sha1:7609888b6aa4509c22f821dbee43b8d784c0feae</id>
<content type='text'>
Add set a MACHINE if needed and add a layer. When we're running in the
context of the django unit tests we don't have these defaults setup for
the project so add them.

(Bitbake rev: a0c1432f32930a17e10d50c08c2aa84a0659514b)

Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: update view to support DL_DIR and SSTATE_DIR</title>
<updated>2016-04-06T22:10:30+00:00</updated>
<author>
<name>Sujith H</name>
<email>sujith.h@gmail.com</email>
</author>
<published>2016-04-06T16:46:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=705d44fc0d82bbe9723a9eafc7c440d974be0857'/>
<id>urn:sha1:705d44fc0d82bbe9723a9eafc7c440d974be0857</id>
<content type='text'>
Update toaster's views.py to support DL_DIR and SSTATE_DIR for
page projectconf.html. Removed DL_DIR and SSTATE_DIR from
blacklist. Initial value of DL_DIR and SSTATE_DIR comes from
BuildEnvironment.

[YOCTO #8422]

(Bitbake rev: 9f672d7ba503d17175eef37ec03a5779e4c9f792)

Signed-off-by: Sujith H &lt;sujith.h@gmail.com&gt;
Signed-off-by: Ed Bartosh &lt;ed.bartosh@linux.intel.com&gt;
Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: get all dependents for pkg for removal</title>
<updated>2016-03-26T07:34:58+00:00</updated>
<author>
<name>Dave Lerner</name>
<email>dave.lerner@windriver.com</email>
</author>
<published>2016-03-24T12:12:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=b036afb53783d8600e505ee5a480a8a9f89a0403'/>
<id>urn:sha1:b036afb53783d8600e505ee5a480a8a9f89a0403</id>
<content type='text'>
For customised image package removal change behavior.
From:
    Only display the immediate dependents of the requested package
    to remove, not the full dependent list, that is dependents of
    dependents ...
    Do not remove the displayed dependents, just notify the user
    of the list.
To:
    Display the complete dependent tree, traversing all reverse
    dependencies starting from the package to be removed and then it's
    dependents.
    Change the modal dialog to note that all of these dependents will
    be removed automatically.

[YOCTO #9121]

(Bitbake rev: 1185a5bfe1b05a1b63a927c9583dfc031fdac8a9)

Signed-off-by: Dave Lerner &lt;dave.lerner@windriver.com&gt;
Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: orm Add a constant for the CustomImageRecipe's layer name</title>
<updated>2016-03-23T17:53:55+00:00</updated>
<author>
<name>Michael Wood</name>
<email>michael.g.wood@intel.com</email>
</author>
<published>2016-03-23T08:28:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=302509214255f7a2b7226e5a6b8a2e361b826168'/>
<id>urn:sha1:302509214255f7a2b7226e5a6b8a2e361b826168</id>
<content type='text'>
Use a constant to define the name for the toaster custom images layer;
this constant is then used to identify this layer in various places.

(Bitbake rev: 2540969ec71612af7f9041cadcc401513e9b357b)

Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>bitbake: toaster: rework task buildstats storage and display</title>
<updated>2016-03-09T22:45:16+00:00</updated>
<author>
<name>Elliot Smith</name>
<email>elliot.smith@intel.com</email>
</author>
<published>2016-03-08T11:32:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0dcab0258e6e638db8b78fa3c7c7e485280712d4'/>
<id>urn:sha1:0dcab0258e6e638db8b78fa3c7c7e485280712d4</id>
<content type='text'>
The data available from buildstats is now more fine grained than
previously, so take advantage of that to enrich the data we save
against tasks:

* Store the CPU usage for user and system separately, and display
them separately.
* Disk IO is now measured in bytes, not ms. Also store the
read/write bytes separately.
* Store started and ended times, as well as elapsed_time. This
will enable future features such as showing which tasks were
running at a particular point in the build.

There was also a problem with how we were looking up the Task
object, which meant that the buildstats were being added to
new tasks which weren't correctly associated with the build. Fix
how we look up the Task (only looking for tasks which match the
build, and the task and recipe names in the build stats data) so
the build stats are associated with the correct task.

[YOCTO #8842]

(Bitbake rev: efa6f915566b979bdbad233ae195b413cef1b8da)

Signed-off-by: Elliot Smith &lt;elliot.smith@intel.com&gt;
Signed-off-by: Michael Wood &lt;michael.g.wood@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
