View source | Discuss this page | Page history | Printable version   
Toolbox
Main Page
Upload file
What links here
Recent changes
Help

PDF Books
Add page
Show collection (0 pages)
Collections help

Search

API change cycle

How to handle if the API check tools raises a problem?

API change acceptance flow

1. An immediate defect is logged and it is assigned to the developer that caused it. If needed, the defect is split into multiple issues.

2. The developer reviews it:

2.a If he made the API change by error, he reverts the change by a commit to PI. The commit should be used to resolve the immediate issue logged to the change. -> Done

OR

2.b The developer adds a comment explaining:

3. DME approves and rejects the exception by simply adding a note to the defect, assigning back to the developer and setting it to status scheduled (since it is now triaged).

4.a If rejected, the developer rolls back the change and implements it in a different way that does not cause an API change. The devloper sets the status to resolved when he/she is done.

OR

4.b If approved,

 <<<start>>>
 There has been an Openbravo 3 public API change.
 For more information visit change number <reference to change number in the wiki page> http://wiki.openbravo.com/wiki/API_changes
 <<<end>>>

This short info is only possible if the wiki description and/or immediate issue does contain all details which could be interesting to a developer affected by that change.

Fix API check tool

Once the API change is accepted, the developer has to make sure the the api change is not longer raised by the check tools:

For all changes the developer needs a mercurial clone of the api-checks repository: https://code.openbravo.com/erp/devel/api-checks/

Then, the right files corresponding to the accepted api change needs to be updated/committed/pushed. This commit should be used to resolve the immediate issue used to track the api problem.

Retrieved from "http://wiki.openbravo.com/wiki/API_change_cycle"

This page has been accessed 278 times. This page was last modified on 11 July 2016, at 07:29. Content is available under Creative Commons Attribution-ShareAlike 2.5 Spain License.