<div dir="ltr"><div>As mentioned in the weekly IRC, 3rd-party vendor drivers are ranked lower priority and therefore their code tend to merge at the late cycle of a release.   Therefore,  it leads little time for driver author to submit document and for upstream to review and approve the document.  So, as the result, the 3r-party driver document could miss the release.  I don't think the suggestion of code+document  submission and review will help either.  IMO it will slow down review process as reviewers will need to review documents for every feature comparing to one single document review after all features are landed.  Hence I am concerned that it will slow down the review process and make landing vendor's driver code even harder unless upstream is willing to raise priority for vendor driver specs and code.    Also,  some features are inter-related and can introduce document inter-dependency if feature and documentation are bundled.   Moreover, currently it is very difficult (if possible) to modify document after it got merged into a stable tree.   Like defect in code, defects in document exist.  For instance, some important configuration steps or pre-requisites may be missing in the document.  Sometimes new firmware version has impact on vendor's drivers and it will require changes in driver's pre-requisites or configuration in order to work with the new firmware versions.  These will require document changes in the stable branch.  Therefore, there is a need for vendor driver author to make changes in stable branch to fix document defects, document known firmware issues and resolutions, and update information about supported firmware versions and hardware.   IMO, Ramesh's option 2  & 3 will provide this kind of flexibility.  Option1 will help driver document to land in time tor a release but won't enable changes to the stable branch unless upstream allow driver authors to self-approve document changes in the stable branch.    It would be my preference, if PTL and upstream can work with infra to allow driver authors to self-approve changes to the stable branch.   I am sincerely asking  for help.  Any upstream effort to allow driver's document change in stable branch and help driver document to land in new release in time will be very much appreciated.</div><div>Thanks!</div><div><br></div><div>On Thu, Oct 15, 2015 at 09:23:18PM +0530, Ramakrishnan G wrote:<br>><i> Hi All,
</i>><i> 
</i>><i> This mail is related to driver-specific documentation in Ironic.
</i>><i> 
</i>><i> First a bit of context.  I work on iLO drivers in Ironic. Our team would
</i>><i> like to document both Ironic driver related stuff (which is related to
</i>><i> Ironic) and hardware related stuff like tested platforms, firmware
</i>><i> information, firmware issues, etc (which is not related to Ironic) in the
</i>><i> documentation. Today we keep it at two places - ironic related one in
</i>><i> ironic tree and (ironic + non-ironic) related one in wiki. It's hard for
</i>><i> both people who work on documentation and people who read this
</i>><i> documentation to update/refer information in two places.  Hence we decided
</i>><i> to raise the review [0] to move the content completely to wiki.  It got
</i>><i> mixed response.  While some people are okay with it, but some others
</i>><i> (including our ptl :)) feel it's worth putting it in-tree and try to
</i>><i> address the problems.
</i>><i> 
</i>><i> So what all are the problems ?
</i>><i> 1) Ability to update the driver documentation not-related to Ironic easily
</i>><i> without waiting.
</i>><i> 2) To save some core reviewers time who might not be familiar with the
</i>><i> hardware.
</i>><i> 
</i>><i> To solve the actual problem of updating the documentation easily while
</i>><i> keeping it in-tree, I checked with infra folks if a subset of a repository
</i>><i> can be +2ed/+Aed by another group.  They confirmed it's not possible
</i>><i> (unless there was a communication gap in that conversation, folks can
</i>><i> correct me if I am wrong).
</i>><i> 
</i>><i> The following are the options that I can think of to address this:
</i>><i> 
</i>><i> 1) Easy approvals for patches solely related to driver documentation. Once
</i>><i> the driver team feels the documentation is ready, it can be +Aed by a core
</i>><i> team member skipping the normal process of review. Of course, fixing any
</i>><i> comments that come by, but not waiting for the normal rule of 2x+2s.
</i>><i> 
</i>><i> 2) A separate repository for driver documentation controller by driver
</i>><i> developers (a bad idea ??)
</i>><i> 
</i>><i> 3) Allow to push driver documentation to wiki for those who wish to.
</i>><i> 
</i>><i> Thoughts ???
</i><br>We talked about this in our IRC meeting as well, and there isn't really<br>a good answer for "allow driver authors to merge their own docs ASAP".<br><br>I'd like to see some examples of docs patches that: 1) took too long to<br>merge, and 2) what problems that caused.<br><br>// jim<br><br><br></div></div>