<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hello,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">For testing a new Portfile in my local repository, the Macports guide says that I need to edit the sources.conf file. However, this file is locked and I'm not able to unlock it. Could you tell me the right way to tackle this? Also, do I need to have a distfile and/or tarball to generate checksum.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">For the buidbot Portfile, would it be better to create a diff patch (ignoring the npm dependencies ATM). </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Rajdeep</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 10:10 PM Rajdeep Bharati <<a href="mailto:rajdeepbharati13@gmail.com">rajdeepbharati13@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thanks, I'll attempt this.<br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Rajdeep</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Apr 11, 2019 at 8:26 PM Mojca Miklavec <<a href="mailto:mojca@macports.org" target="_blank">mojca@macports.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Rajdeep,<br>
<br>
On Thu, 11 Apr 2019 at 14:02, Rajdeep Bharati wrote:<br>
><br>
> I had a doubt regarding the creation of buildbot 2.x Portfile: Would writing a Portfile be sufficient or would there need to be other changes to the ports tree as well?<br>
<br>
We would presumably move the contents of the existing buildbot /<br>
buildbot-slave ports under buildbot-0.8 / buildbot-slave-0.8 and put<br>
the new one under buildbot & buildbot-worker (the buildbot-slave could<br>
potentially stay without being renamed since the name doesn't "clash",<br>
or be declared obsolete and replaced_by buildbot-slave-0.8, just to be<br>
consistent with buildbot-0.8 naming; not sure what is better).<br>
<br>
We would want to keep those two old ports for a while, at least until<br>
we actually move our infrastructure to the new version, but<br>
potentially also for the sake of other users who might be running the<br>
old buildbot master that requires the old buildbot slaves (me<br>
included; but I should do the transition in my other project as well,<br>
I was just too lazy).<br>
<br>
But for the start feel free to ignore all those strange constraints.<br>
The only thing we need to start with is a working port for the latest<br>
version, and doing the last step should be trivial for any regular<br>
contributor to ports with zero knowledge about buildbot.<br>
<br>
It could be that a few additional ports would be needed for<br>
dependencies of buildbot (like some of the javascript stuff). I'm not<br>
sure if those should be installed via npm directly (as part of<br>
additional instructions) or if there's a feasible way to package them<br>
nicely and depend on them, so that everything would simply work out of<br>
the box after installing the port. Maybe step one could be to package<br>
just buildbot (master and worker). Optional step 2 to package some<br>
dependencies. We should check what other distributions are doing. Step<br>
3 to take care of transition of the old stuff (could be done by others<br>
as well).<br>
<br>
Mojca<br>
</blockquote></div>
</blockquote></div>