Hi Marlon,

On Mon, 2023-11-27 at 15:49 -0500, Marlon Rodriguez Garcia wrote:
> New feature added to recreate command line builds that are made when toaster 
> is off.
> The feature contains a new button on the base template to access a new 
> template.
> A new model was added to register the information on the builds and generate 
> access links
> A new form was added to include the option to load specific files
> This feature uses the value from the variable BB_DEFAULT_EVENTLOG to read the 
> files created by bitbake
> 
> Signed-off-by: Marlon Rodriguez Garcia 
> <[email protected]>
> ---
>  lib/bb/ui/toasterui.py                        |   2 +-
>  .../orm/migrations/0021_eventlogsimports.py   |  22 ++
>  lib/toaster/orm/models.py                     |   9 +
>  lib/toaster/toastergui/forms.py               |  13 ++
>  lib/toaster/toastergui/templates/base.html    |   3 +-
>  .../templates/command_line_builds.html        | 171 ++++++++++++++++
>  lib/toaster/toastergui/urls.py                |   1 +
>  lib/toaster/toastergui/views.py               | 188 +++++++++++++++++-
>  8 files changed, 405 insertions(+), 4 deletions(-)
>  create mode 100644 lib/toaster/orm/migrations/0021_eventlogsimports.py
>  create mode 100644 lib/toaster/toastergui/forms.py
>  create mode 100644 lib/toaster/toastergui/templates/command_line_builds.html

Thanks, this is looking promising. I tested it and the main thing which
didn't feel so good from a UI perspective is that I'd click something
to import and I didn't get any feedback that it was happening. After a
while it would move me to the build page but there was no progress bar
or any other indication anything was happening. If I click a couple,
only the first is acted upon too.

Where the UI says "Import eventlog files from directory", I'd probably
change that to "Eventlogs from existing build directory:" but that is a
minor thing.

Also, on the landing page, would it make sense to put the "Import
commandline builds" as an extra button alongside the "Create your first
toaster project to run managed builds" and "Toaster is ready to capture
your commandline builds" on the landing page?

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6024): https://lists.yoctoproject.org/g/toaster/message/6024
Mute This Topic: https://lists.yoctoproject.org/mt/102869852/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to