Toaster documentation, 1.6 release
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:
1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information
2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.
Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 23 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance in a remote host. Alex Damian sent an email to the mailing list explaining the process back in February. This is it:
https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.html
We are thinking of documenting this in the wiki for the moment, with maybe a link to it from the existing Toaster section in the Development Manual.
Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
Signature · 4 lines
_______________________________________________ toaster mailing list [email protected] https://lists.yoctoproject.org/listinfo/toaster
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the manage.py command, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:
1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>
The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
Quoted 64 lines · Belen
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 7 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance in a remote host. Alex Damian sent an email to the mailing list explaining the process back in February. This is it:
https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.html
Quoted 16 lines
We are thinking of documenting this in the wiki for the moment, with maybe a link to it from the existing Toaster section in the Development Manual.
Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Thanks, Scott. Looks great to me, but folks on this list might have some feedback.
Cheers
Belén
Quoted 117 lines · Scott Rifenbark
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the
manage.pycommand, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
On Wed, Mar 19, 2014 at 10:52 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 29 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.htm
lWe are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
This is a good explanation of the process, thank you.
Alex
Quoted 64 lines · Belen
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 7 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance in a remote host. Alex Damian sent an email to the mailing list explaining the process back in February. This is it:
https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.html
Quoted 16 lines
We are thinking of documenting this in the wiki for the moment, with maybe a link to it from the existing Toaster section in the Development Manual.
Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Signature · 3 lines
Alex Damian Yocto Project SSG / OTC
Thanks... Not sure if you want me to integrate it into the Toaster section of the development manual for 1.6?
Scott
Quoted 82 lines · Alexandru
This is a good explanation of the process, thank you.
Alex
Quoted 43 lines · Belen
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 3 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster
instance
Quoted 1 line
in a remote host. Alex Damian sent an email to the mailing list
Quoted 24 lines
explaining
Quoted 3 lines
the process back in February. This is it:
https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.html
Quoted 2 lines
We are thinking of documenting this in the wiki for the moment, with
maybe
Quoted 14 lines
a link to it from the existing Toaster section in the Development Manual.
Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
Quoted 2 lines · Scott Rifenbark
Thanks... Not sure if you want me to integrate it into the Toaster section of the development manual for 1.6?
What about adding it to the wiki, like all other stuff for this release, with a link to it in the dev manual?
Quoted 107 lines
Scott
On Thu, Mar 20, 2014 at 4:44 AM, Damian, Alexandru <[email protected]> wrote:
This is a good explanation of the process, thank you.
Alex
On Wed, Mar 19, 2014 at 4:52 PM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 29 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.htm
lWe are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toasterSignature · 4 lines
Alex Damian Yocto Project SSG / OTC
Belen,
Here is the text that references the wiki from the Toaster section. Right now it is going to a specific section in the wiki. Depending on how you change the wiki I may or may not have to update the text. Just let me know when the wiki has settled out with the inclusion of this new information and I will adjust/or not adjust the manual's reference text.
Scott (section follows)
The remainder of this section describes what you need to have in place to use Toaster, how to start it, use it, and stop it. For additional information on installing and running Toaster, see the "Installation and Running<https://wiki.yoctoproject.org/wiki/Toaster#Installation_and_Running>" section of the "Toaster" wiki page. For complete information on the API and its search operation URI, parameters, and responses, see the REST API Contracts <https://wiki.yoctoproject.org/wiki/REST_API_Contracts> Wiki page.
Quoted 119 lines · Belen
Quoted 2 lines · Scott Rifenbark
Thanks... Not sure if you want me to integrate it into the Toaster section of the development manual for 1.6?
What about adding it to the wiki, like all other stuff for this release, with a link to it in the dev manual?
Quoted 47 lines
Scott
On Thu, Mar 20, 2014 at 4:44 AM, Damian, Alexandru <[email protected]> wrote:
This is a good explanation of the process, thank you.
Alex
On Wed, Mar 19, 2014 at 4:52 PM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Quoted 18 lines
Thanks!
Belén
Quoted 9 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.htm
Quoted 42 lines
Quoted 15 lines
l
We are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
Quoted 5 lines
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto ProjectSSG / OTC
Hi Scott,
There is some more detail we need to add to the explanation about how to delete builds from the Toaster database. This is Alex's explanation:
The buildslist and builddelete commands have some prerequisites in terms of how they're invoked:
* in the default configuration, the current working directory needs to be the 'build/' directory as to let the system find the "toaster.sqlite" file in this directory
* in other database configuration, it may be possible to invoke from other directories, provided that the toastermain/settings.py file is correctly configured as to point to the correct database backend.
I recommend to always call manage.py from the "build/" directory.
Thanks!
Belén
Quoted 117 lines · Scott Rifenbark
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the
manage.pycommand, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
On Wed, Mar 19, 2014 at 10:52 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 29 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.htm
lWe are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Hi Belen,
Here is a re-written version. I did not know how to cast that very last sentence. It seemed to come from nowhere. The piece talks about two commands, the build directory and two files (toaster.sqlite and toastermain/setting.py). The manage.py thing comes out of the blue. So, I just put it at the end. I imagine there is some relationship between it and the rest of the information. If I knew the relationship I could work it into the main stuff a little better.
Also, I am not sure if the "build/" directory means literally the default build directory, which is named "build", or if it means the build directory in a general sense, which could be named I suppose whatever the user wants it to be named.
Finally, I am not mentioning the words "pre-requisites" or "requirements" in the re-write even though the original text cast the information as such. Really, what is here doesn't qualify as per-requisites. They are more like "behaviors".
Hope this helps. Let me know if you need further work on it.
Scott
=============================================
When using the buildslist and builddelete commands, you need to consider the following:
* For default configurations, your working directory must be the "build" directory. Using these command from the "build" directory allows Toaster to find the "toaster.sqlite" file, which is located in the "build" directory.
* For other database configurations, it is possible that you can use these commands from a directory other than the "build" directory. To do so, the "toastermain/settings.py" file must be configured to point to the correct database backend.
It is recommended to always call "manage.py" from the "build" directory.
==========================================================
Quoted 146 lines · Belen
Hi Scott,
There is some more detail we need to add to the explanation about how to delete builds from the Toaster database. This is Alex's explanation:
The buildslist and builddelete commands have some prerequisites in terms of how they're invoked:
* in the default configuration, the current working directory needs to be the 'build/' directory as to let the system find the "toaster.sqlite" file in this directory
* in other database configuration, it may be possible to invoke from other directories, provided that the
toastermain/settings.pyfile is correctly configured as to point to the correct database backend.I recommend to always call
manage.pyfrom the "build/" directory.Thanks!
Belén
Quoted 67 lines · Scott Rifenbark
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the
manage.pycommand, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
On Wed, Mar 19, 2014 at 10:52 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Quoted 18 lines
Thanks!
Belén
Quoted 9 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.htm
Quoted 32 lines
Quoted 20 lines
l
We are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Thanks, Scott. Alex should review it when he has a chance.
Cheers
Belén
Quoted 219 lines · Scott Rifenbark
Hi Belen,
Here is a re-written version. I did not know how to cast that very last sentence. It seemed to come from nowhere. The piece talks about two commands, the build directory and two files (toaster.sqlite and
toastermain/setting.py). Themanage.pything comes
out of the blue. So, I just put it at the end. I imagine there is some relationship between it and the rest of the information. If I knew the relationship I could work it into the main stuff a little better.Also, I am not sure if the "build/" directory means literally the default build directory, which is named "build", or if it means the build directory in a general sense, which could be named I suppose whatever the user wants it to be named.
Finally, I am not mentioning the words "pre-requisites" or "requirements" in the re-write even though the original text cast the information as such. Really, what is here doesn't qualify as per-requisites. They are more like "behaviors".
Hope this helps. Let me know if you need further work on it.
Scott
=============================================
When using the buildslist and builddelete commands, you need to consider the following:
* For default configurations, your working directory must be the "build" directory. Using these command from the "build" directory allows Toaster to find the "toaster.sqlite" file, which is located in the "build" directory.
* For other database configurations, it is possible that you can use these commands from a directory other than the "build" directory. To do so, the "
toastermain/settings.py" file must be configured to point to the correct database backend.It is recommended to always call "
manage.py" from the "build" directory.==========================================================
On Wed, Mar 26, 2014 at 5:23 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is some more detail we need to add to the explanation about how to delete builds from the Toaster database. This is Alex's explanation:
The buildslist and builddelete commands have some prerequisites in terms of how they're invoked:
* in the default configuration, the current working directory needs to be the 'build/' directory as to let the system find the "toaster.sqlite" file in this directory
* in other database configuration, it may be possible to invoke from other directories, provided that the
toastermain/settings.pyfile is correctly configured as to point to the correct database backend.I recommend to always call
manage.pyfrom the "build/" directory.Thanks!
Belén
Quoted 119 lines · Scott Rifenbark
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the
manage.pycommand, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
On Wed, Mar 19, 2014 at 10:52 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 31 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.ht
m
lWe are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
This version is clear and explicit for me. But I understand that this may be a bit confusing for some users.
I have more comments below, for Scott's concerns.
Thank you, guys!
Alex
Quoted 19 lines · Belen
Thanks, Scott. Alex should review it when he has a chance.
Cheers
Belén
Quoted 10 lines · Scott Rifenbark
Hi Belen,
Here is a re-written version. I did not know how to cast that very last sentence. It seemed to come from nowhere. The piece talks about two commands, the build directory and two files (toaster.sqlite and
toastermain/setting.py). Themanage.pything comes
out of the blue. So, I just put it at the end. I imagine there is some relationship between it and the rest of the information. If I knew the relationship I could work it into the main stuff a little better.
[Alex]manage.py is referring to this file in the tree:bitbake/lib/toaster/manage.py
It's the main Django control script in the toaster project. Maybe we should make this clear, and spell out the entire name ?
Quoted 6 lines
Quoted 5 lines
Also, I am not sure if the "build/" directory means literally the default build directory, which is named "build", or if it means the build
[Alex] It's
the build directory in the general sense, I assumed that the users don't change this name, hence the 'build/' reference. How is it called in other
pieces of documentation ?
Quoted 207 lines
Quoted 61 lines
directory in a general sense, which could be named I suppose whatever the user wants it to be named.
Finally, I am not mentioning the words "pre-requisites" or "requirements" in the re-write even though the original text cast the information as such. Really, what is here doesn't qualify as per-requisites. They are more like "behaviors".
Hope this helps. Let me know if you need further work on it.
Scott
=============================================
When using the buildslist and builddelete commands, you need to consider the following:
* For default configurations, your working directory must be the "build" directory. Using these command from the "build" directory allows Toaster to find the "toaster.sqlite" file, which is located in the "build" directory.
* For other database configurations, it is possible that you can use these commands from a directory other than the "build" directory. To do so, the "
toastermain/settings.py" file must be configured to point to the correct database backend.It is recommended to always call "
manage.py" from the "build" directory.==========================================================
On Wed, Mar 26, 2014 at 5:23 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is some more detail we need to add to the explanation about how to delete builds from the Toaster database. This is Alex's explanation:
The buildslist and builddelete commands have some prerequisites in terms of how they're invoked:
* in the default configuration, the current working directory needs to be the 'build/' directory as to let the system find the "toaster.sqlite" file in this directory
* in other database configuration, it may be possible to invoke from other directories, provided that the
toastermain/settings.pyfile is correctly configured as to point to the correct database backend.I recommend to always call
manage.pyfrom the "build/" directory.Quoted 94 lines
Thanks!
Belén
Quoted 85 lines · Scott Rifenbark
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the
manage.pycommand, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
On Wed, Mar 19, 2014 at 10:52 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete builds from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 9 lines · Belen
Hi Scott,
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.ht
Quoted 49 lines
Quoted 34 lines
Quoted 22 lines
m
lWe are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster
Signature · 3 lines
Alex Damian Yocto Project SSG / OTC
Quoted 33 lines · Alexandru
This version is clear and explicit for me. But I understand that this may be a bit confusing for some users.
I have more comments below, for Scott's concerns.
Thank you, guys!
AlexQuoted 19 lines · Belen
Thanks, Scott. Alex should review it when he has a chance.
Cheers
Belén
Quoted 10 lines · Scott Rifenbark
Hi Belen,
Here is a re-written version. I did not know how to cast that very last sentence. It seemed to come from nowhere. The piece talks about two commands, the build directory and two files (toaster.sqlite and
toastermain/setting.py). Themanage.pything comes
out of the blue. So, I just put it at the end. I imagine there is some relationship between it and the rest of the information. If I knew the relationship I could work it into the main stuff a little better.
Quoted 6 lines
[Alex]
manage.pyis referring to this file in the tree:bitbake/lib/toaster/manage.py
It's the main Django control script in the toaster project. Maybe we should make this clear, and spell out the entire name ?
Alex - I would use the full path name just to be clear about that manage.py file.
Quoted 8 lines
Quoted 7 lines
Quoted 6 lines
Also, I am not sure if the "build/" directory means literally the default build directory, which is named "build", or if it means the build
Quoted 7 lines
[Alex] It's
the build directory in the general sense, I assumed that the users don't change this name, hence the 'build/' reference. How is it called in other
pieces of documentation ?
Alex - in the mainstream YP documentation, the build directory is consistently referred to as "Build Directory." When I use the term in a chapter or section I try to link the term to the formal definition in the dev-manual. I don't link every occurrence but the first ones to appear in major sections or chapters. The link is
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#build-directory.
When I am referring to an actual Build Directory, I format it using a different font (Courier) and use the actual name. So, if it is the default Build Directory, I say the build directory, and the word "build" appears in the font reserved for filenames and commands throughout the YP documentation.
Quoted 221 lines
Quoted 155 lines
Quoted 48 lines
directory in a general sense, which could be named I suppose whatever the user wants it to be named.
Finally, I am not mentioning the words "pre-requisites" or "requirements" in the re-write even though the original text cast the information as such. Really, what is here doesn't qualify as per-requisites. They are more like "behaviors".
Hope this helps. Let me know if you need further work on it.
Scott
=============================================
When using the buildslist and builddelete commands, you need to consider the following:
* For default configurations, your working directory must be the "build" directory. Using these command from the "build" directory allows Toaster to find the "toaster.sqlite" file, which is located in the "build" directory.
* For other database configurations, it is possible that you can use these commands from a directory other than the "build" directory. To do so, the "
toastermain/settings.py" file must be configured to point to the correct database backend.It is recommended to always call "
manage.py" from the "build" directory.==========================================================
On Wed, Mar 26, 2014 at 5:23 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
Quoted 8 lines
There is some more detail we need to add to the explanation about how to delete builds from the Toaster database. This is Alex's explanation:
The buildslist and builddelete commands have some prerequisites in terms of how they're invoked:
* in the default configuration, the current working directory needs to be the 'build/' directory as to let the system find the "toaster.sqlite"
file
Quoted 3 lines
in this directory
* in other database configuration, it may be possible to invoke from
other
Quoted 5 lines
directories, provided that the
toastermain/settings.pyfile is correctly configured as to point to the correct database backend.I recommend to always call
manage.pyfrom the "build/" directory.Quoted 50 lines
Thanks!
Belén
Quoted 41 lines · Scott Rifenbark
Here is a quick section on deleting a build from the toaster database.
-----------------------------------
Deleting a Build from the Toaster Database
You can use the
manage.pycommand, which is located in the /poky/bitbake/lib/toaster directory to identify and delete builds from the Toaster database. Follow these steps to delete a build:1. Identify the build: Run the following command from the toaster directory to display a user-readable, tabbed list of build IDs and identification information:
./manage.py buildslist
2. Delete a specific build: Using the build ID displayed in the previous step, run the following command to delete a specific build:
./manage.py <build_id>The build and all related information is deleted from the Toaster database. The deletion operation traverses the ForeignKey relationships recursively.
On Wed, Mar 19, 2014 at 10:52 AM, Barros Pena, Belen <[email protected]> wrote:
Hi Scott,
There is one more thing that needs to be documented: how to delete
builds
Quoted 8 lines
Quoted 8 lines
from the Toaster database.
https://bugzilla.yoctoproject.org/show_bug.cgi?id=4625
There is a file in the /poky/bitbake/lib/toaster directory called
manage.py. You can run that file with additional commands. There are 2 commands relevant to delete builds:Quoted 6 lines
Quoted 6 lines
1. buildslist
This command is run ./manage.py buildslist and it will show you a user-readable tabbed list of build ids and identification information2. builddelete
This command is run ./manage.py <build_id> and will delete the buildwith
Quoted 23 lines
Quoted 23 lines
the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.
Alex, feel free to add anything that might be missing above.
Since it looks like pretty much everything related to Toaster will be documented in the wiki for 1.6, we should probably do the same with this one too, but I might add the information to the Toaster manual in the YP website as well.
If you have any questions, let us know.
Thanks!
Belén
Quoted 2 lines · Belen
Hi Scott,
Quoted 59 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
As I mentioned, we would like to document how to set up a Toaster instance
in a remote host. Alex Damian sent an email to the mailing list explaining
the process back in February. This is it:https://lists.yoctoproject.org/pipermail/toaster/2014-February/000464.ht
Quoted 49 lines
Quoted 34 lines
Quoted 22 lines
m
lWe are thinking of documenting this in the wiki for the moment, with maybe
a link to it from the existing Toaster section in the Development Manual.Just contact any of us, or the Toaster mailing list, if you have any questions.
Thanks for your help with this!
Belén
--
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster--
Alex Damian
Yocto Project
SSG / OTC
Quoted 4 lines
Alex - I would use the full path name just to be clear about that
manage.pyfile.
[Alex] Good idea, thank you.
Quoted 15 lines
Alex - in the mainstream YP documentation, the build directory is consistently referred to as "Build Directory." When I use the term in a chapter or section I try to link the term to the formal definition in the dev-manual. I don't link every occurrence but the first ones to appear in major sections or chapters. The link is
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#build-directory.
When I am referring to an actual Build Directory, I format it using a different font (Courier) and use the actual name. So, if it is the default Build Directory, I say the build directory, and the word "build" appears in the font reserved for filenames and commands throughout the YP documentation.Quoted 2 lines
[Alex] Let's change it then to "Build Directory", I think this conveys
the proper message.
Quoted 27 lines
Quoted 27 lines
=============================================
Quoted 25 lines
Quoted 8 lines
When using the buildslist and builddelete commands, you need to consider the following:
* For default configurations, your working directory must be the "build" directory. Using these command from the "build" directory allows
Toaster
Quoted 7 lines
to find the "toaster.sqlite" file, which is located in the "build" directory.
* For other database configurations, it is possible that you can use these commands from a directory other than the "build" directory. To do so, the "
toastermain/settings.py" file must be configured to point tothe
Quoted 7 lines
correct database backend.
It is recommended to always call "
manage.py" from the "build" directory.==========================================================
I have added the content to the wiki:
https://wiki.yoctoproject.org/wiki/Toaster#Deleting_a_Build_from_the_Toaster_Database
Feel free to update as needed.
Cheers
Belén
Quoted 99 lines · Alexandru
Alex - I would use the full path name just to be clear about that
manage.pyfile.[Alex] Good idea, thank you.
Alex - in the mainstream YP documentation, the build directory is consistently referred to as "Build Directory." When I use the term in a chapter or section I try to link the term to the formal definition in the dev-manual. I don't link every occurrence
but the first ones to appear in major sections or chapters. The link is
http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#build-
directory
<http://www.yoctoproject.org/docs/current/dev-manual/dev-manual.html#build
-directory>. When I am referring to an actual Build Directory, I format it using a different font (Courier) and use the actual name. So, if it is the default Build Directory, I say
the build directory, and the word "build" appears in the font reserved for filenames and commands throughout the YP documentation.[Alex] Let's change it then to "Build Directory", I think this conveys the proper message.
Quoted 23 lines
=============================================
When using the buildslist and builddelete commands, you need to consider the following:
* For default configurations, your working directory must be the "build" directory. Using these command from the "build" directory allows Toaster to find the "toaster.sqlite" file, which is located in the "build" directory.
* For other database configurations, it is possible that you can use these commands from a directory other than the "build" directory. To do so, the "
toastermain/settings.py" file must be configured to point to the correct database backend.It is recommended to always call "
manage.py" from the "build" directory.==========================================================