<div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif"><br></span></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">On Sat, Jun 1, 2019 at 2:01 AM Mojca Miklavec <<a href="mailto:mojca@macports.org">mojca@macports.org</a>> wrote:</span><br></div></div><div class="gmail_quote"><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 dir="ltr">Dear Rajdeep,<div><br></div><div>I'm sorry, I somewhat missed this one particular error.</div><div><br></div><div>You need to install py37-buildbot rather than py-buildbot, same for py37-buildbot-pkg and mock (probably py37-mock).</div><div><br></div></div></div></blockquote><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Yes I installed the one with py37-*.  </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 dir="ltr"><div></div><div>One problem is that apparently proper dependency specifications for buildbot-www are lacking, something that should have probably been fixed in packaging of buildbot on pypi, but you should be able to circumvent the problem by installing the dependencies manually, or by adding them manually to the list of dependencies.</div><div><br></div><div>What does</div><div>    port installed '*buildbot*'</div><div>say?</div></div></div></blockquote><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">It's giving </span><span style="font-variant-ligatures:no-common-ligatures;background-color:rgba(0,0,0,0.71);color:rgb(33,255,6);font-family:Monaco;font-size:18px">None of the specified ports are installed.</span></div>





<div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif"></span> </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 dir="ltr"><div>I also create the package with upt, initially got the same problem (missing dependencies), but it worked after I installed the individual dependencies first (or put them in the Portfile).</div><div><br></div></div></div></blockquote><div><span class="gmail_default" style="font-family:arial,helvetica,sans-serif">Are you referring to the dependencies specified by upt?</span></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 dir="ltr"><div></div><div>Regarding the problems in master setup: using your repository I'm still getting a bunch of issues with names of workers and builders. The problem is that new worker names no longer allow dots and underscores, but the old logic was relying on the fact that builder name would be composed out of worker name, and now I probably need to change those names at various places. I disabled the part with production/uploading files etc. by merely removing it from the yaml file. I need some more time to figure out what other problems were.</div><div><br></div><div>I still wonder why the dots and underscores are no longer allowed.</div><div><br></div><div>Mojca</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 29 May 2019 at 14:37, Rajdeep Bharati <<a href="mailto:rajdeepbharati13@gmail.com" target="_blank">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 dir="ltr"><div style="font-family:arial,helvetica,sans-serif"><br></div></div><div class="gmail_quote"><div style="font-family:arial,helvetica,sans-serif">Simply making those portfiles with upt-macports isn't helping.</div><div style="font-family:arial,helvetica,sans-serif">When I try to install them using `sudo port -vst install`, it shows:</div><div style="font-family:arial,helvetica,sans-serif">





<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">---><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-Apple-converted-space">  </span>Building py37-buildbot-www</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Executing:<span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-Apple-converted-space">  </span>cd "/opt/local/var/macports/build/_Users_rajdeep_portfiles_python_py-buildbot-www/py37-buildbot-www/work/buildbot-www-2.3.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build<span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Please install buildbot, buildbot_pkg, and mock modules in order to install that package, or use the pre-build .whl modules available on pypi</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Command failed:<span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-Apple-converted-space">  </span>cd "/opt/local/var/macports/build/_Users_rajdeep_portfiles_python_py-buildbot-www/py37-buildbot-www/work/buildbot-www-2.3.1" && /opt/local/Library/Frameworks/Python.framework/Versions/3.7/bin/python3.7 setup.py --no-user-cfg build<span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Exit code: 1</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Warning: The following existing file was hidden from the build system by trace mode:</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-Apple-converted-space">  </span>/var/db/timezone/zoneinfo/Asia/Kolkata</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Error: Failed to build py37-buildbot-www: command execution failed</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Error: See /opt/local/var/macports/logs/_Users_rajdeep_portfiles_python_py-buildbot-www/py37-buildbot-www/main.log for details.</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Error: Follow <a href="https://guide.macports.org/#project.tickets" target="_blank">https://guide.macports.org/#project.tickets</a> to report a bug.</span></p>
<p class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:18px;line-height:normal;font-family:Monaco;color:rgb(33,255,6);background-color:rgba(0,0,0,0.71)"><span class="gmail-m_1143968658543619049gmail-m_-5748857127182142897gmail-s1" style="font-variant-ligatures:no-common-ligatures">Error: Processing of port py-buildbot-www failed</span></p></div><div style="font-family:arial,helvetica,sans-serif"><br></div><div style="font-family:arial,helvetica,sans-serif">Note that py-buildbot and py-buildbot-pkg have been installed before running this command.</div><div style="font-family:arial,helvetica,sans-serif">Getting similar errors for py-buildbot-waterfall,console,etc.</div><div style="font-family:arial,helvetica,sans-serif"><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> <br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
><br>
> (3) I assume I don't have permissions to do any changes on the project<br>
> (<a href="https://github.com/buildbot/buildbot/projects/4" rel="noreferrer" target="_blank">https://github.com/buildbot/buildbot/projects/4</a>)<br>
> I also don't know if such a project can work with multiple<br>
> repositories (my guess is not). For example, is it possible to add<br>
>     <a href="https://github.com/macports/macports-ports/pull/4489" rel="noreferrer" target="_blank">https://github.com/macports/macports-ports/pull/4489</a><br>
> to that list? It would be nice to fill the project with most TODO<br>
> items that are expected to be finished during the summer and attach<br>
> some kind of milestones. It would be nice to have everything collected<br>
> at a single place, but if it doesn't work ... well ...<br>
<br>
I added you and rajdeep as a triage collaborator. Please let me know<br>
what is working in this mode<br>
<br>
><br>
> (4) Unrelated to Rajdeep's project: do you have any experience with<br>
> making and deploying docker containers? And if so, would you be<br>
> willing to give us some completely general advice about the proper<br>
> approach to deploy another student's code as a docker image?<br>
<br>
I can help, but I would need a bit more context.<br>
What is the kind of app? where do you want to deploy it?<br>
There are tons of options to manage and deploy docker containers.<br>
I mostly use kubernetes. It is very powerful for medium to large<br>
complexity deployments.<br>
You can also run simple docker apps using standard system tool like<br>
systemd or launchd os macos.<br>
<br>
Regards<br>
Pierre<br></blockquote></div></div></blockquote></div></div></blockquote><div><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I'm writing the JS view (I've set up the modal, with the date range). Some work is left (creating routes and the algorithm to find all builds corresponding to a particular change). I will most probably complete a working prototype tomorrow.</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></div>