Bug 5261

Summary: The Toaster wiki page is not updated.
Product: [Build System, Metadata & Runtime] Toaster Reporter: Andreea Brandusa Proca <andreea.b.proca>
Component: toasterAssignee: Belen Barros Pena <belen.barros.pena>
Status: VERIFIED FIXED QA Contact: Ionut Chisanovici <ionutx.chisanovici>
Severity: normal    
Priority: Medium CC: alexandru.damian, belen.barros.pena, bogdanx.a.voiculescu, dvhart, ionutx.chisanovici, jessica.zhang
Version: unspecified   
Target Milestone: 1.6 M5   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Andreea Brandusa Proca 2013-09-24 13:14:15 UTC
https://wiki.yoctoproject.org/wiki/REST_API_Contracts
Comment 1 Alexandru Damian 2013-09-24 13:29:45 UTC
Please comment specific bits on what is not updated, and what should be.
Comment 2 Belen Barros Pena 2013-09-24 13:33:17 UTC
(In reply to comment #1)
> Please comment specific bits on what is not updated, and what should be.

No need, really: I am planning to update the page to match what the API returns closer to the release, when things are more stable. 

Alex: I will probably need to ask you some stuff when I do.
Comment 3 Belen Barros Pena 2013-10-02 12:28:35 UTC
I've updated the content of the wiki page:

https://wiki.yoctoproject.org/wiki/REST_API_Contracts

Review / feedback welcome
Comment 4 Andreea Brandusa Proca 2014-01-21 16:09:40 UTC
We have to update the wiki page, again, because:

Package dependencies:
      - some items are missing in the list DEPENDS_TYPE;
      - "target" field - missing;

Build:
      - "IN_PROGRESS" - missing;

Target installed packages:
      - in models.py we have only 2 fields: target and package

Layer version:
      - "build" field- missing
Task:
      - update "TASK_CODING"

Build packages:
       - update the name of the table

Package files:
       - rename the field bpackage to package;

I hope I didn't miss anything.
Comment 5 Belen Barros Pena 2014-01-23 11:57:17 UTC
I've made all the changes requested by Andreea to

https://wiki.yoctoproject.org/wiki/Analysis_REST_API_Contracts
Comment 6 Andreea Brandusa Proca 2014-03-20 09:35:53 UTC
The Wiki page needs to be updated.

Build: 
       - remove "image_fstypes"

Target:
       - remove "file_name"
       - remove "file_size"
       - add "license_manifest_path"
       - add "image_size"

Task:  
       - "task_outcome": OUCOME_NA = -1, add OUTCOME_EMPTY
       - change type of the "elapsed_time" field from string 

Recipe:
       - remove "licensing_info" field

add table Target_File:
       - add fields: "target", "path", "size", "inodetype", "permission",  
        "owner", "group", "directory", "sym_target"

add table Target_Image_File:
       - add "file_name", "file_size"

Packages:
       - add "installed_size" field

VariableHistory:
       - add "value" field

LogMessage:
       - add "task" field
Comment 7 Belen Barros Pena 2014-03-20 11:24:48 UTC
Thanks for the list, Andreea: it really helps. I'll update the wiki.
Comment 10 Ionut Chisanovici 2014-04-15 12:52:56 UTC
Verified.

IonutC