<div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">- A more elaborate plan about how you plan to handle updates / keep<br>
the database up-to-date. Sure, we can trigger certain actions from the<br>
buildbot, but those various "actions" need to be implemented. Keeping<br>
the app up to date in a safe and reliable way is a very important part<br>
of the project, and requires collecting data from various sources.<br>
"Look for the most efficient ways to keep the PortIndex and Build<br>
History up-to-date" should be already attempted now.<br></blockquote><div><br></div><div>We can keep the build history up-to-date by using HttpStatusPush, I read about it in buildbot <a href="http://docs.buildbot.net/0.9.0/manual/cfg-reporters.html#id7">documentation</a>. It sends a json object containing build data. This would even remove the need of a parsing script on web-app's end which fetches the logs from buildbot.</div><div><br></div><div>But I am having a problem in reaching at a good method to keep PortIndex updated. PortIndex does not give any id to each port, and suppose I assign them ids in the database. Then if a port is renamed, it would be impossible to identify which port was renamed because PortIndex has no idea about the ids in the database.</div><div><br></div><div>Another problem is the size of the file- every time running portindex2json.tcl over the generated portindex and then looking for changes does not appear to be very efficient. Neither does the <a href="https://build.macports.org/builders/jobs-portindex/builds/7030">build page</a> seem to provide any relevant info about the changes.</div><div><br></div><div>Any suggestions on tackling these would be very helpful.</div><div><br></div><div>Thank You</div></div></div></div></div>