Design for the 'all machines' page (6593)
Attached to the Bugzilla feature, as usual
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6593
Cheers
Belén
Hi Belén,
I have looked through your document. I have two questions.
1) I did not understand that part where a machine's file might be empty. I would think that if the machine is found, then there must be a machine file. Or there are circumstances where you could have a legitimate working machine without a "machine file"?
Machine file:
* DESC: The path to the machine .conf file within the layer directory structure
* EMPTY: Yes. This field might be empty for layers in the Imported layer source or in custom layer sources. In those cases, the cell is empty
* INTERACTIVE: Yes. If the URL to the layer web repository is known, such URL together with the machine file value should give us the web URL of the machine file. If we have such URL, we show an icon linking to it. The link should open in a new tab.
2) When I first tried out HOB back in YP-1.3 or something, I had the odd experience of setting the machine, changing my mind to another machine, but then being stuck with the layers and metadata that that the first machine added to the project.
My question is then this. If you select a machine and its layer, then select a different machine and its layer, what happens to the first added layer? Is it passive? Will it introduce contradictory data? Will the second machine remove the first machine's layer, or would one need to edit the layer list to undo that first added layer?
Thanks,
David
Quoted 20 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Monday, August 18, 2014 7:36 AM
To: [email protected]
Subject: [Toaster] Design for the 'all machines' page (6593)Attached to the Bugzilla feature, as usual
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6593
Cheers
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Thanks for reviewing the document, David. Answers inline.
Cheers
Belén
Quoted 8 lines · David
Hi Belén,
I have looked through your document. I have two questions.
1) I did not understand that part where a machine's file might be empty. I would think that if the machine is found, then there must be a machine file. Or there are circumstances where you could have a legitimate working machine without a "machine file"?
I am trying to cover imported layers. The machine file should always exist in the layer, of course, but when you import a layer we ask you only very basic information (on purpose: we want this to be quick and painless): the git url, a branch and a layer name. So even if we know, after building the layer, that it provides one or more machines, we might still not know the path to each of the machine files. It is this case that I am trying to cover, but it does not mean the machine file does not exist (it just means that the database field could be empty).
Quoted 18 lines
Machine file:
* DESC: The path to the machine .conf file within the layer directory
structure* EMPTY: Yes. This field might be empty for layers in the Imported
layer source or in custom layer sources. In those cases, the cell is empty* INTERACTIVE: Yes. If the URL to the layer web repository is known,
such URL together with the machine file value should give us the web URL of the machine file. If we have such URL, we show an icon linking to it. The link should open in a new tab.2) When I first tried out HOB back in YP-1.3 or something, I had the odd experience of setting the machine, changing my mind to another machine, but then being stuck with the layers and metadata that that the first machine added to the project.
Quoted 6 lines
My question is then this. If you select a machine and its layer, then select a different machine and its layer, what happens to the first added layer?
Is it passive? Will it introduce contradictory data? Will the second machine remove the first machine's layer, or would one need to edit the layer list to undo that first added layer?
I think the problem we have is that we cannot foresee the intentions of the person configuring the build. Could that layer provide some other thing that's required for your builds? That means that we don't delete any layers automatically: users must explicitly delete layers from the project.
So, if you change the machine, the layer providing the previous machine is still added to your project. If you want to delete the layer from your project, you have to go to the project page and delete it manually by clicking the trash icon.
I hope this makes sense.
Cheers
Belén
Quoted 24 lines
Thanks,
DavidQuoted 20 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Monday, August 18, 2014 7:36 AM
To: [email protected]
Subject: [Toaster] Design for the 'all machines' page (6593)Attached to the Bugzilla feature, as usual
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6593
Cheers
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Hi Belén,
I am fine with your answers :-).
- David
Quoted 99 lines
-----Original Message-----
From: Barros Pena, Belen [mailto:[email protected]]
Sent: Tuesday, August 19, 2014 2:37 AM
To: Reyna, David; [email protected]
Subject: Re: Design for the 'all machines' page (6593)Thanks for reviewing the document, David. Answers inline.
Cheers
Belén
Quoted 8 lines · David
Hi Belén,
I have looked through your document. I have two questions.
1) I did not understand that part where a machine's file might be empty. I would think that if the machine is found, then there must be a machine file. Or there are circumstances where you could have a legitimate working machine without a "machine file"?
I am trying to cover imported layers. The machine file should always exist in the layer, of course, but when you import a layer we ask you only very basic information (on purpose: we want this to be quick and painless): the git url, a branch and a layer name. So even if we know, after building the layer, that it provides one or more machines, we might still not know the path to each of the machine files. It is this case that I am trying to cover, but it does not mean the machine file does not exist (it just means that the database field could be empty).
Quoted 18 lines
Machine file:
* DESC: The path to the machine .conf file within the layer directory
structure* EMPTY: Yes. This field might be empty for layers in the Imported
layer source or in custom layer sources. In those cases, the cell is empty* INTERACTIVE: Yes. If the URL to the layer web repository is known,
such URL together with the machine file value should give us the web URL of the machine file. If we have such URL, we show an icon linking to it. The link should open in a new tab.2) When I first tried out HOB back in YP-1.3 or something, I had the odd experience of setting the machine, changing my mind to another machine, but then being stuck with the layers and metadata that that the first machine added to the project.
Quoted 6 lines
My question is then this. If you select a machine and its layer, then select a different machine and its layer, what happens to the first added layer?
Is it passive? Will it introduce contradictory data? Will the second machine remove the first machine's layer, or would one need to edit the layer list to undo that first added layer?I think the problem we have is that we cannot foresee the intentions of the person configuring the build. Could that layer provide some other thing that's required for your builds? That means that we don't delete any layers automatically: users must explicitly delete layers from the project.
So, if you change the machine, the layer providing the previous machine is still added to your project. If you want to delete the layer from your project, you have to go to the project page and delete it manually by clicking the trash icon.
I hope this makes sense.
Cheers
Belén
Quoted 24 lines
Thanks,
DavidQuoted 20 lines
-----Original Message-----
From: [email protected] [mailto:toaster- [email protected]] On Behalf Of Barros Pena, Belen
Sent: Monday, August 18, 2014 7:36 AM
To: [email protected]
Subject: [Toaster] Design for the 'all machines' page (6593)Attached to the Bugzilla feature, as usual
https://bugzilla.yoctoproject.org/show_bug.cgi?id=6593
Cheers
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster