Bug 6895 - Create a version of the toasterconf.json file for the remote use case
Summary: Create a version of the toasterconf.json file for the remote use case
Status: VERIFIED FIXED
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 1.7
Hardware: All Multiple
: Medium+ enhancement
Target Milestone: 1.8 M2
Assignee: Alexandru Damian
QA Contact: Mihail Stanciu
URL:
Whiteboard:
Depends on: 7248
Blocks:
  Show dependency tree
 
Reported: 2014-10-27 15:19 UTC by Belen Barros Pena
Modified: 2015-03-31 13:14 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2014-10-27 15:19:40 UTC
It will be the same as the local version of the toasterconf.json, but without the local release. This file is intended to provide correct release and layer index configuration that Toaster administrators can either use in their production instances or amend as required.
Comment 1 Alexandru Damian 2014-11-05 18:58:29 UTC
Patch including the "remote" source sent to poky. 

An administrator setting remote-only should start with the regular toasterjson.conf file, and use the admin interface to delete the "Local" release.

This is needed because of the complex workflow involving setting up releases and layer sources and importing data from the Laye Index - it is easier to use the automated steps and delete what's not needed, instead of having the user manually go through the process.

The documentation for the remote setup (e.g. slides at ELCE 2014) shows this approach.
Comment 2 Alexandru Damian 2014-11-06 11:18:29 UTC
Reopened with these tasks:

- providing a command to import a file (currently a file is detected and imported during "checksettings" step, we need to be able to pinpoint to a file on disk)
- providing a json file on wiki that can be downloaded and imported at step 1.
Comment 3 Alexandru Damian 2014-11-06 13:37:22 UTC
File uploaded as patch on wiki.

https://wiki.yoctoproject.org/wiki/images/d/d5/Toasterconf.json.txt.patch

Code patch on submission list.
Comment 4 Alexandru Damian 2015-01-09 11:56:48 UTC
Merged in master.
Comment 5 Ionut Chisanovici 2015-01-26 15:30:59 UTC
Hi,

Cannot verify this since it is blocked by bug 7251.

Cheers,
Ionut C
Comment 6 Ionut Chisanovici 2015-02-05 16:43:19 UTC
Cannot verify until 7248 is fixed.

Cheers,
Ionut C
Comment 7 Mihail Stanciu 2015-03-31 13:14:00 UTC
Verified on master: 5c76cebc24675edb3dff473fce9b67cedff615db