Age | Commit message (Collapse) | Author |
|
Tidying up the presentation in the task.html template.
The changes include:
* Correct the markup for the help tooltips
* Fix the help content for the outcome heading
* Make sure <dt> tags do not show for empty log
file, time, cpu and disk I/O values
* Eliminate an extra <dl> for tasks with sstate attempts
* Add <strong> tag to the sstate restored alert
* Replace the .alert-info class with the .muted class
for the no dependencies messages
* Make sure the Executed heading does not inherit
the .red class for failed tasks
* Format time and cpu values to make sure they only
show 2 decimal digits
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
Changing "Task depends on" to "Dependencies" and
"Task reverse dependencies" to "Reverse dependencies".
This matches the labeling to recipe and package
information, with the additional advantage of
making the labels shorter.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
In the "Collapse variable value" button in configvars.html,
the caret was too close to the button label. Giving it
a bit of extra space.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
Adding the no search results page to the built packages
(bpackage.html), variables (configvars.html), recipes
(recipes.html) and tasks (tasks.html) tables.
The change copies the code from the build.html template
into the other 4 templates. There is probably a smarter way
of doing this, though.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
Replacing the placeholder attribute with the value attribute
in the no search results page broke the "Show all builds" link.
This change applies the inline javacript used for the clear search
button for the "Show all builds" link, which fixes the problem.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
Matching the help text in the tabs to the design specification.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
Correctly align the Search button to the text input field,
add .btn class to the clear search button, replace the
placeholder attribute with the value attribute so that you
can edit your search query, remove the clear search button
from the tab index so that you don't clear the search by
mistake and edit the margins of the .no-results class.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Conflicts:
bitbake/lib/toaster/toastergui/templates/build.html
|
|
Package details pages were using hyphens to separate package
name from package version. Changing them to underscores.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
Package sizes in the recipe details page (recipe.html)
were displaying in bytes. Apply the filtered_filesizeformat
project tag to show the package size in a more human
readable format.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
The Order column in the tasks table should be always shown and
be part of the minimum table (i.e. its checkbox should be
disabled in the Edit columns menu). Changing views.py to
make sure this is the case.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
In the package details pages, the <tbody> tags where inside
the for statements, which caused multiple <tbody> tags to
be generated inside a single table.
To make sure only one <tbody> tag exists per table, moving
the <tbody> tag outside the for statement.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
This patch improves the recipe matching algorithm for
for matching recipes for native tasks.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
This patches fixes the inode type saved when writing the
target file list information.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
Fixes an issue in hob which happened when the local.conf file was
modified externally by appending "eclipse-debug" to the IMAGE_FEATURES
variable. The reason of the problem is that some IMAGE_FEATURES are
not available in the image.bbclass file and they are declared in the
core-image.bbclass. Now a default hob image will inherit core-image.
[YOCTO #5711]
Signed-off-by: Marius Avram <marius.avram@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Add the errors and warnings listing to the build
dashboard page.
Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Added count to filters in Build, Tasks and Config variables.
[YOCTO #5821]
Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Based on image_name, the target is obtained, and the path
is added to the database.
[YOCTO #5649]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Using ImageFileSize Metadata event, the image output file and its
size are populated into target_image_file table.
[YOCTO #5189]
[YOCTO #5228]
Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The sigchld handler was reaping any processes and this was leading to
confusion with any other process handling code that could be active.
This patch:
a) Ensures we only read any process results for the worker processes
we want to monitor
b) Ensures we pass the event to any other sigchld handler if
it isn't an event we're interested in so the functions are properly
chained.
Together this should resolve some of the reports of unknown processes
people have been reporting.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Fix the 'Show all' button label to indicate 'variables' and 'tasks'
instead of the internal page label for the variables page and the
Disk I/O, CPU Usage, and Time pages.
[YOCTO #5915]
Signed-off-by: David Reyna <David.Reyna@windriver.com>
|
|
In the variables table, add to the local configuration
filter the 'bblayers.conf' in addition to the 'local.conf'
files.
[YOCTO #5912]
Signed-off-by: David Reyna <David.Reyna@windriver.com>
|
|
Add the new "empty" outcome value to the task detail page,
with help text, help notice, plus sorting for empty in the
tasks page.
[YOCTO #5917]
Signed-off-by: David Reyna <David.Reyna@windriver.com>
|
|
Changes made to models.py and task.html to make sure the
help text for the task outcome is displayed.
[YOCTO #5917]
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
We add Django commands for the manage.py to manage the database
content.
The two commands added are:
* buildslist - produces a list of current builds
* builddelete - deletes a build and all associated data from the database
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
Adding code to write files-in-image data from the metadata
event to the database.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
This is a schema update to account for
* relaxing constraints in Target_Image_File table
* modifying permission filed to string value
* adding license_manifest_path field
* adding image_size field
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
Instead of a significant number of calls to waitpid, register a SIGCHLD
handler instead.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
When idle functions finish, its likely we have some other work
to do, so don't sleep in the select call but instead, skip it.
This removes small amounts of latency in common commands.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
When the server exits, we no longer appear to need this delay. This
is likely due to improvements in the various exit codepaths. There
is therefore no longer any point in taking the latency hit.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Its not possible to notice the change of status of an Event() in
the select call we sleep in. It would be possible in python 3.3 but
for now use a pipe instead. This removes small latency when bitbake
commands finish since the system doesn't sit in the select call.
(Debugging these kind of issues is apparent by setting a long sleep
for the select call)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
There is no point in waiting 0.25s for when we should be processing
the shutdown. This simply reordering removes latency from the
bitbake command.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The continue statement was missing for this event and the event was then
listed in the "known safe to ignore list". Clean this up.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
A run of "bitbake bash -c unpack" when the task has already been
completed resulted in about 9000 calls to logger.debug(). With this
patch which comments out some noisy/less usefull logging and moves
other logging calls outside loops, this number is reduced to 1000
calls. This results in cleaner logs and gives a small but
measurable 0.15s speedup. The log size dropped from 900kb to 160kb.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
If the cooker receives a SIGTERM it currently hangs using 100% CPU,
This patch adds in an intercept for the event and puts the cooker into
shutdown mode allowing it to exit cleanly/safely and avoiding the hang.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Currently a SIGTERM to the UI process causes the UI simply to lock up.
By setting an exit flag, the waitEvent can raise a SIGINT, allowing the
UI to break out the event loop and exit. Currently this is results in a
traceback but that is more desirable than a hanging process.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
The use of a manager in the process server causes some issues since it remains
around for the lifetime of the server even though its only used during
initialisation and the system doesn't respond well to SIGTERM events
to the extra process (and two threads) the implementation involves.
Switching to a dedicated command simplifies the server process structure.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
Add a command to allow backends to set particular 'features' on the
cooker (server).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
If the worker has already gone missing (e.g. SIGTERM), we should
gracefully handle the write failures at exit time rather than throwing
ugly tracebacks.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
If the worker (or fakeworker) process disappears for some reason, the
system doesn't currently even notice. To fix this, we call waitpid
periodically, looking for exit events of our children. If these
occur, we can gracefully shutdown the server.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
When an exception occurred, the terminal parameters (such as echo)
may not be reset correctly. This change ensures they do get
atexit time in all cases, avoiding the terminal corruption issues
that could sometimes occur.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
This patch adds extra checks when selecting and writing
task and recipe objects to the database.
The patch fixes several issues where tasks may have been
misidentified between virtual-native and target tasks,
or spurious task objects may have been created.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
This patches fixes minor issues in the sorting functionality
of the build table.
[YOCTO #5455]
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
This patch fixes a logical error when updating task information
based on the corresponding sstate task state.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
This patch updates the database schema to resolve a
number of issues discovered while implementing the
UI interface.
We do not expect that all the data will come in valid
at this point.
[YOCTO #5453]
[YOCTO #5833]
[YOCTO #5836]
[YOCTO #5811]
[YOCTO #5812]
[YOCTO #5820]
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
I have move all javascript needed for toggling very long
values for bitbake variables to main.js. I have changed the
names of the classes involved to make them more generic,
since I hope we'll be able to reuse them in other parts
of the Toaster interface.
.full-variable is now .full
.full-variable-hide is now full-hide
.full-variable-show is now full-show
I have also removed all the inline scripting in base.html, since
it is no longer needed.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
Update the configuration page with the file list pop-up, implement the file and description filters.
[YOCTO #4259]
Signed-off-by: David Reyna <David.Reyna@windriver.com>
|
|
Information about a task is displayed depending on it's execution
status and outcome status.
Edited to iterate through all possible entries for related setscene
tasks.
[YOCTO #4282]
Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
|
|
Fix the bug in reload_params function that was failing when
the page URL did not have any parameters.
Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
|
|
The template basebuilddetailpage.html had the completed
on date in the breadcrumb set to naturaltime. Changed to
d/m/y H:i to match the date format in the basebuildpage.html
template, so that breadcrumbs display the same date format across
all pages.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|
|
The tables in the Packages, Build dependencies and
Reverse build dependencies tabs in the recipe details
pages (template recipe.html) should be sorted by package
name and recipe name respectively.
This change adds the sorting.
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
|