Re: Please welcome the four GSOC projects this year

2019-05-07 Thread Arjun Salyan via macports-dev
Thank You Mojca! Congrats Satryaji, Karan and Rajdeep. The community has shown amazing support for all of us during the application period itself. I can't thank enough for the help I received in tackling all the problems and doubts. Looking forward to a really productive summer ahead while being

Re: GSoC 2019 [Collect build statistics]

2019-04-15 Thread Arjun Salyan via macports-dev
Hi Mojca, On Mon, Apr 15, 2019 at 9:46 PM Mojca Miklavec wrote: > Given the current state of the app with sufficient complexity, I > believe that it would be wise to introduce some unit tests to be able > to extensively test what happens with data you import, and to prevent > / detect any breaka

Re: GSoC 2019 [Collect build statistics]

2019-04-12 Thread Arjun Salyan via macports-dev
Hi Mojca, On Fri, Apr 12, 2019 at 3:03 AM Mojca Miklavec wrote: > Awesome! Thank You. One thing that "urgently" needs to be done is to obfuscate the email > (if written at all). I'm not even sure whether we actually want the > email being displayed there. We need it to send automated emails f

Re: GSoC 2019 [Collect build statistics]

2019-04-11 Thread Arjun Salyan via macports-dev
Hi, I have added maintainer views and tables to the demo app. - List of maintainers is clickable on the port-detail page. - A maintainer-detail view that display info and list of maintained ports Examples: maintainer-detail: https://frozen-falls-98471.herokuapp.com/maintainer/ryandesign__m

Re: GSoC 2019 [Collect build statistics]

2019-04-08 Thread Arjun Salyan via macports-dev
Dear MacPorts Community, I have submitted my Final Proposal. I do understand that during these last hours it might not be possible to give feedback on the proposals. But if I am lucky enough to get more of them, I will try to get the job done (around 23 hours still remaining). Google Doc: https:/

Re: GSoC 2019 [Collect build statistics]

2019-04-07 Thread Arjun Salyan via macports-dev
> > Hi, On Fri, Apr 5, 2019 at 8:58 AM Umesh Singla > wrote: > >> It’s always to good to show your work and get feedback. It’s difficult to >> comment on the quality otherwise. Please do not forget to make a PR. >> > I have submitted the PR for adding an option to portindex (which would generate

Re: GSoC 2019 [Collect build statistics]

2019-04-04 Thread Arjun Salyan via macports-dev
On Fri, Apr 5, 2019 at 8:58 AM Umesh Singla wrote: > > It’s okay to share all the project related updates on the list. In fact, > it’s preferred that way. > Thanks, I was just being hesitant to write that on the list. > Does this include additions and/or deletions? > Portindex uses modified t

Re: GSoC 2019 [Collect build statistics]

2019-04-02 Thread Arjun Salyan via macports-dev
Hi Mojca, On Tue, Apr 2, 2019 at 3:14 AM Mojca Miklavec wrote: > The drawbacks may include: > - some ports will be skipped on the builder, for various reasons (port > is known not to build on a particular builder, it may not be > distributable, ...) > - the buildbot master may be down or experie

Re: GSoC 2019 [Collect build statistics]

2019-04-01 Thread Arjun Salyan via macports-dev
Hi, I was working on keeping the PortIndex updated, and was able to achieve this: - Sync Portindex from 'rsync:// rsync.macports.org/macports//trunk/dports/PortIndex_darwin_16_i386/PortIndex ' - Update or Add ports that were recently built on 10.14_x86_64 (using time frame 'last 24

Re: GSoC 2019 [Collect build statistics]

2019-03-31 Thread Arjun Salyan via macports-dev
On Sun, Mar 31, 2019 at 2:05 PM Mojca Miklavec wrote: > There seem to be some issues with subports. (For example any p5.28-* > under perl would give an error page.) > Yes, it was happening for the ports that contain '.' in their names. I have solved it using regex now. Just curious: what's the o

Re: GSoC 2019 [Collect build statistics]

2019-03-30 Thread Arjun Salyan via macports-dev
Thanks Mojca, I will update the Demo App with the suggested changes very shortly. On Sat, Mar 30, 2019 at 8:30 PM Mojca Miklavec wrote: > Anyway, I'm just curious: what's the current situation with > django/database hosting, network and other limitations etc.? > Now that you have the code which

Re: GSoC 2019 [Collect build statistics]

2019-03-30 Thread Arjun Salyan via macports-dev
Hi, I have installed an ajax based search box in the demo app: https://frozen-falls-98471.herokuapp.com Also, just wanted to give a polite reminder about my open PR: https://github.com/macports/macports-contrib/pull/3 Thank You >

Re: GSoC 2019 [Collect build statistics]

2019-03-28 Thread Arjun Salyan via macports-dev
On Thu, Mar 28, 2019 at 12:05 PM Mojca Miklavec wrote: > What if there's a server outage? > Then the best way is to use HttpStatusPush to deliver instant updates, and so that any build is not missed due to server failure, we could run our fetching script once per day. The script can easily match

Re: GSoC 2019 [Collect build statistics]

2019-03-27 Thread Arjun Salyan via macports-dev
> > - A more elaborate plan about how you plan to handle updates / keep > the database up-to-date. Sure, we can trigger certain actions from the > buildbot, but those various "actions" need to be implemented. Keeping > the app up to date in a safe and reliable way is a very important part > of the

Re: GSoC 2019 [Collect build statistics]

2019-03-27 Thread Arjun Salyan via macports-dev
Thank You Mojca! I read you inline comments as well, I have already started working over the suggestions. I will include these very shortly! > > Does your new semester already start at end of July? Yes, it does. But it won’t affect the project. I have done projects in a semester as tightly sche

Re: GSoC 2019 [Collect build statistics]

2019-03-27 Thread Arjun Salyan via macports-dev
Dear all, Using the valuable information and suggestions by all of you here at MacPorts, especially the potential mentors, I have come up with the first draft of my proposal for GSoC 2019. Link to Google Doc: https://docs.google.com/document/d/198Ivygxb2NJQz_sqzDrbDPVEYZ5Ye5Yw0LV6Bt2QmG4/edit?usp=

Re: GSoC 2019 [Collect build statistics]

2019-03-24 Thread Arjun Salyan via macports-dev
On Sun, Mar 24, 2019 at 10:02 PM Mojca Miklavec wrote: > Here are some examples of why I don't see a single correct answer to > your initial question. Let's assume that you know absolutely > everything about all MacPorts installation (exact timestamp of when > each port was installed or uninstall

Re: GSoC 2019 [Collect build statistics]

2019-03-24 Thread Arjun Salyan via macports-dev
Hi, I have prepared a Google Doc on the implementation of installation statistics. I do not know if this is the right way to get suggestions. But it would be great if I could get feedback and suggestions on this: https://docs.google.com/document/d/1VReRyPYKifZ1ub77oXXP7ZCqi20nq2jPrKzNxQJ7hxk/edit?

Re: GSoC 2019 [Collect build statistics]

2019-03-23 Thread Arjun Salyan via macports-dev
On Sat, Mar 23, 2019 at 7:58 PM Craig Treleaven wrote: > See: > > http://stats.macports.neverpanic.de/os_statistics#os_platform > > It says all 239 reported platforms are Darwin. So this appears to be the > conglomeration of all reporting over the past several years. This explains > why the ch

Re: GSoC 2019 [Collect build statistics]

2019-03-23 Thread Arjun Salyan via macports-dev
On Sat, Mar 23, 2019 at 3:15 PM Mojca Miklavec wrote: > I would use the first definition: number of users currently having the > port installed. It might be pretty common to have to reinstall the > same port multiple times (maybe just for debugging / development > reasons) and we don't want to co

Re: GSoC 2019 [Collect build statistics]

2019-03-23 Thread Arjun Salyan via macports-dev
Hi, I am working on the design of tables for installation statistics. I have a doubt here: Suppose there is a port P. Now for number of installations of P, there are many definitions I am having in my mind: 1. Number of users currently having P in active_ports/ inactive_ports. [ACTIVE INSTA

Re: GSoC 2019 [Collect build statistics]

2019-03-21 Thread Arjun Salyan via macports-dev
On Thu, Mar 21, 2019 at 8:35 PM Umesh Singla wrote: > a) We have seen a quick demo of this already. However, the major part I > think is missing is the search. We can brainstorm over the details like > search-as-you-type, adding new ports etc according to the timeline. Not > sure how much browsin

Re: GSoC 2019 [Collect build statistics]

2019-03-21 Thread Arjun Salyan via macports-dev
Hi, I have created the pull request. The new output is shown below: { * "variants" : ["debug"],* "depends_build" : ["path:bin/cmake:cmake","port:pkgconfig","path:share/ECM/cmake/ECMConfig.cmake:kde-extra-cmake-modules"], "portdir" : "audio\/phonon-backend-vlc", "depends_fetch"

Re: GSoC 2019 [Collect build statistics]

2019-03-21 Thread Arjun Salyan via macports-dev
Thanks, it is clear now. I will do the changes and submit the PR.

Re: GSoC 2019 [Collect build statistics]

2019-03-21 Thread Arjun Salyan via macports-dev
On Thu, Mar 21, 2019 at 5:42 PM Mojca Miklavec wrote: > Just create an empty list of maintainers. > There are some ports which have : *{ryandesign @ryandesign} nomaintainer} *as the output of maintainers . What does "nomaintainer" mean here? > We also need to add emails. Maybe something like >

Re: GSoC 2019 [Collect build statistics]

2019-03-21 Thread Arjun Salyan via macports-dev
On Thu, Mar 21, 2019 at 10:20 AM Mojca Miklavec wrote: > (2) You made a simple PR last time to fix portindex2json for a more > reasonable output of categories. Would you be willing for a tiny bit > more difficult task and try to improve the output for maintainers as > well? We would want a list o

Re: GSoC 2019 [Collect build statistics]

2019-03-20 Thread Arjun Salyan via macports-dev
Hi Mojca, Thanks for the detailed reply. Changes can be seen for this port: http://frozen-falls-98471.herokuapp.com/ports/qt5-qtlocation/ On Wed, Mar 20, 2019 at 6:40 AM Mojca Miklavec wrote: > This is super useful. But I would pro

Re: GSoC 2019 [Collect build statistics]

2019-03-19 Thread Arjun Salyan via macports-dev
I have some more improvements to demo app: - *Build History is now Dynamic: *By Making some minor tweaks to the python script sent by Mojca, I was able to load build history from buildbot into the database. I loaded only few recent logs for "*10.14_x86_64*" & " *10.13_x86_64*". Since,

Re: GSoC 2019 [Collect build statistics]

2019-03-18 Thread Arjun Salyan via macports-dev
On Mon, 18 Mar 2019 at 10:49 PM, Mojca Miklavec wrote: > And in fact I'm unable to find any indices in your DB model. Thanks, I shall add this. I am dealing with this huge data set for the first time. Also, TextField might be suitable for description etc, but for short > entries like port name

Re: GSoC 2019 [Collect build statistics]

2019-03-18 Thread Arjun Salyan via macports-dev
Some improvements to the Demo App: https://frozen-falls-98471.herokuapp.com - All Ports and All Categories are now available (Although not all ports have populated yet, I am on AWS Free Tier and the process is really slow. At the time of drafting this email: around 500 have populated).

Re: GSoC 2019 [Collect build statistics]

2019-03-17 Thread Arjun Salyan via macports-dev
On Sun, Mar 17, 2019 at 1:31 AM Joshua Root wrote: > It would be a good idea to check if they have any changes on their end > that we're missing, too. > They have made one change: "Make portindex2json.tcl always work with utf-8, insensitive to local settings". Should we incorporate this change

Re: GSoC 2019 [Collect build statistics]

2019-03-16 Thread Arjun Salyan via macports-dev
I have tried to make some changes in portindex2json.tcl so that the value of categories is outputted as a list and not just a string. Can someone please review if it seems fine: https://github.com/arjunsalyan/Test/blob/master/portindex2json.tcl Sample Output (new): { "variants" : "u

Re: GSoC 2019 [Collect build statistics]

2019-03-16 Thread Arjun Salyan via macports-dev
On Sat, 16 Mar 2019 at 7:51 AM, Mojca Miklavec wrote: > JFYI: > > 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 "ac

Re: GSoC 2019 [Collect build statistics]

2019-03-13 Thread Arjun Salyan via macports-dev
As suggested, I have made an attempt at a basic demo app: https://frozen-falls-98471.herokuapp.com Please review it and let me know if this seems fine. After applying any further inputs, I shall proceed with the documentation to setting it up. It is not completely static. The port information is

Re: GSoC 2019 [Collect build statistics]

2019-03-11 Thread Arjun Salyan via macports-dev
I have a couple of doubts here: 1. Once I install mpstats does it still send weekly reports? I could not find the required code to do this in the port files. Code for manually submitting is available in mpstats.tcl but I am unable to locate the code for automating the submissions. What am I missin

Re: GSoC 2019 [Collect build statistics]

2019-03-08 Thread Arjun Salyan via macports-dev
still learning about MacPorts)? *I haven't finalised Django yet, but it seems to be the most suitable one. Thank You. On Thu, Mar 7, 2019 at 2:22 AM Mojca Miklavec wrote: > Dear Arjun, > > Welcome to MacPorts! > > On Wed, 6 Mar 2019 at 21:05, Arjun Salyan via macports-dev

GSoC 2019

2019-03-06 Thread Arjun Salyan via macports-dev
Hello, I am Arjun Salyan, a GSoC'19 aspirant. I have familiarised myself with MacPorts, but still there is a way to go on with the documentation, and learning tcl. I am quite experienced in web and app development- with multiple Python(Django) and PHP projects having worked for a company. I am loo