Bug 6232

Summary: Design the ability to create new projects
Product: [Build System, Metadata & Runtime] Toaster Reporter: David Reyna <david.reyna>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: RESOLVED FIXED QA Contact: Yuan Sun <Yuan.Sun2>
Severity: enhancement    
Priority: Medium CC: alexandru.damian, belen.barros.pena, cristiana.voicu, jessica.zhang, Yuan.Sun2
Version: 1.7   
Target Milestone: 1.7 M2   
Hardware: x86   
OS: Multiple   
Whiteboard: GUI design in progress
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)
Attachments:
Description Flags
Design - Creating and configuring projects
none
Design - Creating and configuring projects
none
Design - Creating and configuring projects
none
Design - Creating and configuring projects
none
Design - Creating and configuring projects
none
Design - Creating and configuring projects
none
Design - Importing layers
none
Design - Importing layers
none
Design - Configuring projects
none
Design - Creating projects
none
Design - Configuring projects
none
Design - Importing layers
none
Design - 1.2 All layers
none
Design - 1.2 All layers none

Description David Reyna 2014-04-25 07:13:26 UTC
Complete the design for the Toaster interface to create new project directories, manage the content, and initiate the builds of selectable target images.

Here are some of the proposed aspects of this feature:

  * Select the initial MACHINE type
  * Select the initial layer set
  * Select the initial target image set
  * Select and edit the local configure variables (e.g. local.conf)
  * Ability to set a description for the project

Here are proposed additional abilities after a project is created:

  * Share projects via configuration (export / import)
  * Ability to reconfigure an existing project with this same interface
Comment 1 Belen Barros Pena 2014-06-20 15:53:11 UTC
Created attachment 2014 [details]
Design - Creating and configuring projects
Comment 2 Belen Barros Pena 2014-07-01 17:24:35 UTC
Created attachment 2025 [details]
Design - Creating and configuring projects

Explain how to add layers to a project using the "quick add" option (from page 12)
Comment 3 Belen Barros Pena 2014-07-03 17:00:35 UTC
Created attachment 2029 [details]
Design - Creating and configuring projects

Adds how to add targets to a project
Comment 4 Belen Barros Pena 2014-07-07 14:44:18 UTC
Created attachment 2031 [details]
Design - Creating and configuring projects

Adds:

* Queued and cancelled builds (pages 10-11)
* Quick add option for targets (pages 27-29) 
* Deleting layers and targets (page 30)
* Changing machine and distro (pages 31-38)
Comment 5 Belen Barros Pena 2014-07-08 13:15:53 UTC
Created attachment 2032 [details]
Design - Creating and configuring projects

Adds how to change the Project details information (pages 39 to 42)
Comment 6 Belen Barros Pena 2014-07-10 13:51:50 UTC
Created attachment 2036 [details]
Design - Creating and configuring projects

* Adds some detail about the behaviour of the "nothing provides" alert (pp 25 and 37)

* Updates the IA diagram on page 3

* Changes copy of warning icon messages as suggested by David Reyna (pp 21 to 23, and 35)
Comment 7 Belen Barros Pena 2014-07-15 12:52:55 UTC
Created attachment 2040 [details]
Design - Importing layers

First go to the import layer functionality
Comment 8 Belen Barros Pena 2014-07-16 09:47:45 UTC
Created attachment 2041 [details]
Design - Importing layers

Adds how to handle clone failures for imported layers (pages 13 to 16)
Comment 9 Belen Barros Pena 2014-07-16 11:19:15 UTC
Created attachment 2042 [details]
Design - Configuring projects
Comment 10 Belen Barros Pena 2014-07-16 11:19:37 UTC
Created attachment 2043 [details]
Design - Creating projects
Comment 11 Belen Barros Pena 2014-07-21 15:11:56 UTC
Created attachment 2045 [details]
Design - Configuring projects

To keep the add layer dependencies interaction consistent across all pages, I've replaced the dependencies alert with a modal dialog (changes in pages 17 to 19 and 25).
Comment 12 Belen Barros Pena 2014-07-21 15:14:51 UTC
Created attachment 2046 [details]
Design - Importing layers

I have added an "import and add to project" option to the form, so that you can do both things with just one click (since this is probably what you want to do). Changes affect pretty much the whole document.
Comment 13 Belen Barros Pena 2014-07-22 16:46:30 UTC
Created attachment 2049 [details]
Design - 1.2 All layers
Comment 14 Belen Barros Pena 2014-07-22 17:42:16 UTC
Created attachment 2050 [details]
Design - 1.2 All layers

Just correcting a typo
Comment 15 Belen Barros Pena 2014-08-01 13:06:33 UTC
Design is well underway, although design documentation is ongoing. We have opened bug 6597 for its implementation, which is also split into pages:

* Project page (bug 6587)
* Local configuration page (bug 6588)
* Project builds page (bug 6589)
* All layers page (bug 6590)
* Layer details page (bug 6591)
* All targets page (bug 6592)
* All machines page (bug 6593)
* All distros page (bug 6594)
* Import layer page (bug 6595)
* New project page (bug 6596)
* Export / import projects (bug 6603)
* Clone projects (bug 6304)

The design documents attached to this issue are obsolete: the latest ones are attached to the above bugs.
Comment 16 Yuan Sun 2014-08-06 09:37:24 UTC
Hi Belen,
    Although the enhancement bug is resolved, it isn't testable, isn't it?
    Thanks.
    Yuan
Comment 17 Belen Barros Pena 2014-08-06 09:40:48 UTC
(In reply to comment #16)
> Hi Belen,
>     Although the enhancement bug is resolved, it isn't testable, isn't it?

Not really, no. This was just to track design work.

>     Thanks.
>     Yuan