<div><div dir="auto">On Sat, 16 Mar 2019 at 7:51 AM, Mojca Miklavec <<a href="mailto:mojca@macports.org">mojca@macports.org</a>> wrote:<br></div></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="auto">JFYI:</div><div dir="auto"><br></div>It might theoretically be a valid situation to have two entries with the same name (software gets deleted, then two years later an unrelated software with the same name gets added; but only one entry would have the status "active" and the others not). A lot more common case would be that a port gets renamed, even if just by changing the capitalisation. Or the version or -devel suffix gets attached to the end, then removed again ...</div></blockquote><div dir="auto"><br></div><div dir="auto">We will always have the option to identify ports with primary keys in the database. But since, only one entry will have active status at any given time, so we can go for two filters- first the port name obatined from the url and whether it is active or not.</div><div dir="auto"><br></div><div dir="auto">The parse-builbot-logs.py script worked perfectly fine. Thank You so much.</div><div dir="auto">From last year’s email archive I do got an understanding that we will have to store these logs in the database and not fetch them from buildbot everytime. And also, device a method to fetch logs at regular interval and load them into the database.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Now that I have idea (just a starting point)  of these three things:</div><div dir="auto">1. Using portindex- getting info of all the ports.</div><div dir="auto">2. Using mpstats- submitting stats to the new django app.</div><div dir="auto">3. from builbot- getting history of builds.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">I am framing the tasks I need to take upon in the upcoming week, before I actually frame my first proposal. (Please correct me if I am not heading in the right direction)</div><div dir="auto"><br></div><div dir="auto">- improving existing functionalities of the demo app and making it more and more dynamic.</div><div dir="auto">-Trying to modify the tools or methods used to obtain the data (portindex2json etc.)</div><div dir="auto">- Working on more functionalities and get the starting point for them just like the three mentioned above (like build reproducibility)</div><div dir="auto"><br></div><div dir="auto">Thank You</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"></div></blockquote></div></div>