Re: Gsoc 18 Project | Collect build statistics

2018-05-15 Thread Bradley Giesbrecht
>>> On 9 May 2018 at 04:06, Vishnu wrote: Hi And also i couldn't figure out any way to hide passwords/ Sensitive information while creating app. > > Here's one way: >https://ultimatedjango.com/learn-django/lessons/handling-sensitive-keys/ >

Re: Gsoc 18 Project | Collect build statistics

2018-05-14 Thread Mojca Miklavec
On 15 May 2018 at 05:46, Vishnu wrote: > Hi > > Yes I was laos thinking about it for some time. > > Please someone from infra team create another repository. This would also remove all the tickets etc., so I don't think it is a super good idea. Git is flexible enough to allow force pushing to a

Re: Gsoc 18 Project | Collect build statistics

2018-05-14 Thread Vishnu
Hi Yes I was laos thinking about it for some time. Please someone from infra team create another repository. There I will maintain code in a proper way by Using Pull Requests.So that code gets merged only if clean. Regarding your general remarks. I will look into them. Please make the repo as

Re: Gsoc 18 Project | Collect build statistics

2018-05-13 Thread Mojca Miklavec
Dear Vishnu, On 13 May 2018 at 09:37, Vishnu wrote: > Hey > > Mojca you said once that you have lot to comment on the current database. > So it would be great if you could do that. I left a comment on https://github.com/macports/macports-webapp/issues/2 and made a bunch of changes and

Re: Gsoc 18 Project | Collect build statistics

2018-05-13 Thread Vishnu
Hey Also can i know the status of your getting access to your VM ? Thanks On 13 May 2018 at 13:07, Vishnu wrote: > Hey > > Mojca you said once that you have lot to comment on the current database. > So it would be great if you could do that. > As today is the last day

Re: Gsoc 18 Project | Collect build statistics

2018-05-13 Thread Vishnu
Hey Mojca you said once that you have lot to comment on the current database. So it would be great if you could do that. As today is the last day of Community bonding period. >From tommorrow coding starts. Thanks On 12 May 2018 at 23:14, Mojca Miklavec wrote: > Dear

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Mojca Miklavec
Dear Vishnu, Sorry for being slightly out-of-sync (sending emails I wrote quite a while ago and in the meantime no longer being up-to-date with other responses). On 12 May 2018 at 17:26, Vishnu wrote: > Hi > > "The PortIndex file itself is generated with the 'portindex' command, > which only

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Rainer Müller
On 2018-05-12 17:26, Vishnu wrote: > So where can i see that code that checks the modification time? https://github.com/macports/macports-base/blob/bb9db185d54c04efd55a3d634518a971bbb530a7/src/port/portindex.tcl#L120-L141 > "The portindex2postgres.sql script merely converts the PortIndex file >

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Rainer Müller
On 2018-05-12 17:27, Mojca Miklavec wrote: > I would in fact really really like to see a functionality like > portindex --mode=diff --format=json > that would create a table like > > { > new = [...], > removed = [...], > updated = [...] > } > > which would only provide the

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Mojca Miklavec
On 12 May 2018 at 14:17, Rainer Müller wrote: > On 2018-05-12 10:34, Vishnu wrote: >> I am not saying that my db and the exiting Db would be interdependent. >> Rather i am saying just once in forever I can copy the content to my >> database. >> Then do the code to keep on updating it whenever

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Vishnu
Hi "The PortIndex file itself is generated with the 'portindex' command, which only updates the data for Portfiles that have a modification time that is newer than the existing PortIndex file." So where can i see that code that checks the modification time? So suppose Our ports tree contains

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Rainer Müller
On 2018-05-12 10:34, Vishnu wrote: > I am not saying that my db and the exiting Db would be interdependent. > Rather i am saying just once in forever I can copy the content to my > database. > Then do the code to keep on updating it whenever something is added or > deleted or modified. > > Like

Re: Gsoc 18 Project | Collect build statistics

2018-05-12 Thread Vishnu
Hi I am not saying that my db and the exiting Db would be interdependent. Rather i am saying just once in forever I can copy the content to my database. Then do the code to keep on updating it whenever something is added or deleted or modified. Like for exaple maintainers. You already have a

Re: Gsoc 18 Project | Collect build statistics

2018-05-11 Thread Rainer Müller
On 2018-05-11 09:17, Mojca Miklavec wrote: >> I got the rough idea of the db from here: >> https://github.com/macports/macports-infrastructure/blob/2129f0cd0eb80f207d2cc62542b65c197733ac51/jobs/PortIndex2PGSQL.tcl#L249 > > Sure, you can take this as inspiration for database design, but not as >

Re: Gsoc 18 Project | Collect build statistics

2018-05-11 Thread Mojca Miklavec
On 11 May 2018 at 04:00, Vishnu wrote: > Hi > > Also i wanted to know > For this link > https://www.macports.org/ports.php?by=name=python27 > > There is already existing database with loads of information. > Is it not updated? > is it static ? It is not static, the database is updated via an

Re: Gsoc 18 Project | Collect build statistics

2018-05-10 Thread Vishnu
Hi Also i wanted to know For this link https://www.macports.org/ports.php?by=name=python27 There is already existing database with loads of information. Is it not updated? is it static ? If it is updated automatically...Then half of the work for database would already be over. Could i get

Re: Gsoc 18 Project | Collect build statistics

2018-05-10 Thread Vishnu
Hi So should I start working on the same database? Community does not have any suggestions I guess. So should i go ahead with the existing structure? I had a doubt regarding version. How can i check the existing versions of any port. Say python27? Any list of maintainers i can get? Thanks

Re: Gsoc 18 Project | Collect build statistics

2018-05-08 Thread Vishnu
Hi And also i couldn't figure out any way to hide passwords/ Sensitive information while creating app. Thanks On 9 May 2018 at 03:43, Vishnu wrote: > Hi > > I had one doubt. > Should i switch the link in heroku account for integration with macports > github ? > >

Re: Gsoc 18 Project | Collect build statistics

2018-05-08 Thread Vishnu
Hi I had one doubt. Should i switch the link in heroku account for integration with macports github ? Because i think then you need to give accesss to heroku of your account. I think it would be wise for me to do the commit update in my local repository itself.. Once every 2 weeks or something

Re: Gsoc 18 Project | Collect build statistics

2018-05-08 Thread Jackson Isaac
On Tue, May 8, 2018 at 10:47 AM, Mojca Miklavec wrote: > > On 8 May 2018 at 01:12, Vishnu wrote: > > Hi > > > > I will work on all the points mentioned today.. > > > > But i have been trying many different ways. > > To get 20k ports onto the database.. The site is crashing..

Re: Gsoc 18 Project | Collect build statistics

2018-05-07 Thread Mojca Miklavec
On 8 May 2018 at 01:12, Vishnu wrote: > Hi > > I will work on all the points mentioned today.. > > But i have been trying many different ways. > To get 20k ports onto the database.. The site is crashing.. Timeout error. > Or the site cant be reached. > Maximum i got till 9k ports successfully

Re: Gsoc 18 Project | Collect build statistics

2018-05-07 Thread Jackson Isaac
Hi Vishnu, On Tue, May 8, 2018 at 12:01 AM, Vishnu wrote: > Hello > > Thanks for the repository link. > > so my current email should be added as the collaborator for me to > contribute right? > or should i use the new macports id. > I don't remember exactly but I guess

Re: Gsoc 18 Project | Collect build statistics

2018-05-07 Thread Vishnu
Hello Thanks for the repository link. so my current email should be added as the collaborator for me to contribute right? or should i use the new macports id. in that case do i have to make a new account or what? not clear about that.. Also writing down some points we discussed for the

Re: Gsoc 18 Project | Collect build statistics

2018-05-07 Thread Clemens Lang
Hi, On Mon, May 07, 2018 at 10:31:09AM +0200, Mojca Miklavec wrote: > On 6 May 2018 at 20:52, Bradley Giesbrecht wrote: > > macports-webapp? > > Let's go with that one then. Created. -- Clemens

Re: Gsoc 18 Project | Collect build statistics

2018-05-07 Thread Jackson Isaac
Hi Vishnu, On Mon, May 7, 2018 at 12:22 AM, Bradley Giesbrecht wrote: > > On Apr 30, 2018, at 10:34 AM, Joshua Root wrote: > > > > On 2018-5-1 02:47 , Jackson Isaac wrote: > >> On Mon, Apr 30, 2018 at 10:06 PM, Vishnu wrote: >

Re: Gsoc 18 Project | Collect build statistics

2018-05-07 Thread Mojca Miklavec
On 6 May 2018 at 20:52, Bradley Giesbrecht wrote: > > macports-webapp? Let's go with that one then. Joshua, or anyone else from portmgr, can you please create a new repository inside macports org? In case anyone else wants to join, we'll have an audio meeting tonight at 17:00 UTC (probably on

Re: Gsoc 18 Project | Collect build statistics

2018-05-06 Thread Bradley Giesbrecht
> On Apr 30, 2018, at 10:34 AM, Joshua Root wrote: > > On 2018-5-1 02:47 , Jackson Isaac wrote: >> On Mon, Apr 30, 2018 at 10:06 PM, Vishnu wrote: >>> Hey >>> >>> Repository names: >>> MacPorts-features? >>> Macportsinfo? >>> Or just simple >>> gsoc18?

Re: Gsoc 18 Project | Collect build statistics

2018-05-06 Thread Vishnu
Hello Yes. I will remove case sensitive. Right now the search works with only if any port beginswith those characters. Yes 7th may ITC my exams will be over at 5:00. Time mentioned by you is fine. I available any day. Thanks On Sun, May 6, 2018, 9:45 PM Jackson Isaac

Re: Gsoc 18 Project | Collect build statistics

2018-05-06 Thread Jackson Isaac
Hi Vishnu, On Sun, May 6, 2018 at 3:52 PM, Vishnu wrote: > Hello > > Sorry for being inactive. > Had back to back exams . > > Got free today. > > I implemented a new search feature in my app . > Pushed the changes to heroku too. > Please go through : >

Re: Gsoc 18 Project | Collect build statistics

2018-05-06 Thread Vishnu
Hello Sorry for being inactive. Had back to back exams . Got free today. I implemented a new search feature in my app . Pushed the changes to heroku too. Please go through : sleepy-wave-33400.herokuapp.com/port/ There you can search any port with its name. Even just starting few characters

Re: Gsoc 18 Project | Collect build statistics

2018-04-30 Thread Mojca Miklavec
On 30 April 2018 at 18:47, Jackson Isaac wrote: > On Mon, Apr 30, 2018 at 10:06 PM, Vishnu wrote: >> Hey >> >> Repository names: >> MacPorts-features? >> Macportsinfo? >> Or just simple >> gsoc18? No, gsoc18 is a bad name since the idea is to use the project afterwards as well and I don't like to

Re: Gsoc 18 Project | Collect build statistics

2018-04-30 Thread Joshua Root
On 2018-5-1 02:47 , Jackson Isaac wrote: > On Mon, Apr 30, 2018 at 10:06 PM, Vishnu wrote: >> Hey >> >> Repository names: >> MacPorts-features? >> Macportsinfo? >> Or just simple >> gsoc18? >> >> > > I was thinking about macports-portstatistics or macports-portstats. This

Re: Gsoc 18 Project | Collect build statistics

2018-04-30 Thread Jackson Isaac
On Mon, Apr 30, 2018 at 10:06 PM, Vishnu wrote: > Hey > > Repository names: > MacPorts-features? > Macportsinfo? > Or just simple > gsoc18? > > I was thinking about macports-portstatistics or macports-portstats. > > I will look into the feedback. > Also i am currently

Re: Gsoc 18 Project | Collect build statistics

2018-04-30 Thread Vishnu
Hey Repository names: MacPorts-features? Macportsinfo? Or just simple gsoc18? I will look into the feedback. Also i am currently using create. And also in the long term. Parser would be run only once in forever or say a year. And before running the original db must be cleared. And then

Re: Gsoc 18 Project | Collect build statistics

2018-04-30 Thread Mojca Miklavec
On 30 April 2018 at 02:22, Vishnu wrote: > Hi > > After hours of fixing error in heroku and my ubuntu . > Finally got to run the so far app. Yay! That's great since it will be much easier for the whole community to test the app much more quickly. Now, it would be great to pick some name for the

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Vishnu
Hi Hello After hours of fixing error in heroku and my ubuntu . Finally got to run the so far app . Here all the ports are listed: sleepy-wave-33400.herokuapp.com/port/ When you'll open the page..probable the ports would not be there because i cleared the DB. To add the ports info into

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Mojca Miklavec
On 29 April 2018 at 19:34, Vishnu wrote: > Hey > > I wanted to work on finalising the database. What all final columns in each > table. This is a creative process that should in the first place be carefully crafted by you - of course with sufficient input and feedback from our side. > Take your

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Vishnu
Hey Do let me know when the repository is gonna be made. I can start using it. I wanted to work on finalising the database. What all final columns in each table. Take your final suggestions. https://www.macports.org/ports.php?by=platform=linux How does this work? where is the database? how are

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Mojca Miklavec
Dear Vishnu, On 29 April 2018 at 16:45, Vishnu wrote: > Hi > > Jackson i have already replied to the mail regarding username. > > Mojca, I was able to edit the file and entered values manually in the code > of mpstats. > > vishnu@vishnupc:~$ /opt/local/bin/port-tclsh /opt/local/libexec/mpstats

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Vishnu
Hi Jackson i have already replied to the mail regarding username. Mojca, I was able to edit the file and entered values manually in the code of mpstats. vishnu@vishnupc:~$ /opt/local/bin/port-tclsh /opt/local/libexec/mpstats show Would submit the following data to

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Mojca Miklavec
On 29 April 2018 at 10:17, Jackson Isaac wrote: > On Sun, Apr 29, 2018 at 1:21 PM, Mojca Miklavec wrote: >> >> >> I would say that the next most reasonable step (apart from any other >> thing from the list I sent in the beginning) would be to create a >> repository and put all the documentation /

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Jackson Isaac
On Sun, Apr 29, 2018 at 1:21 PM, Mojca Miklavec wrote: > > > I would say that the next most reasonable step (apart from any other > thing from the list I sent in the beginning) would be to create a > repository and put all the documentation / plan / milestones / sample > page

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Mojca Miklavec
On 29 April 2018 at 08:29, Jackson Isaac wrote: > On Sun, Apr 29, 2018 at 7:36 AM, Vishnu wrote: >> Hey >> >> Thanks a lot. >> Now it works. >> I dont know why it was not working earlier. >> >> And jackson . I ran both the commands. >> root@vishnupc:/# /opt/local/bin/port-tclsh

Re: Gsoc 18 Project | Collect build statistics

2018-04-29 Thread Jackson Isaac
Hi Vishnu, On Sun, Apr 29, 2018 at 7:36 AM, Vishnu wrote: > Hey > > Thanks a lot. > Now it works. > I dont know why it was not working earlier. > > And jackson . I ran both the commands. > root@vishnupc:/# /opt/local/bin/port-tclsh /opt/local/libexec/mpstats show > Would

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Vishnu
Hey Thanks a lot. Now it works. I dont know why it was not working earlier. And jackson . I ran both the commands. root@vishnupc:/# /opt/local/bin/port-tclsh /opt/local/libexec/mpstats show Would submit the following data to http://stats.macports.neverpanic.de/submissions: { "id":

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Jeremy Lavergne
There's one last thing to try regarding paths; that is to try invoking the file this way: /opt/local/bin/port-tclsh /opt/local/libexec/mpstats If that doesn't work, it may lead to wondering if all of MacPorts is installed properly. For example, I see you're using the root user: did we ensure

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Vishnu
I dont think its about PATH. root@vishnupc:/# /opt/local/libexec/mpstats can't find package macports while executing "package require macports" (file "/opt/local/libexec/mpstats" line 42) root@vishnupc:/# echo $PATH

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Jeremy Lavergne
A missing / on /opt On 04/28/2018 08:49 PM, Vishnu wrote: > I added the path.But still same error. > > root@vishnupc:/# /opt/local/libexec/mpstats  > can't find package macports >     while executing > "package require macports" >     (file "/opt/local/libexec/mpstats" line 42) >

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Vishnu
I added the path.But still same error. root@vishnupc:/# /opt/local/libexec/mpstats can't find package macports while executing "package require macports" (file "/opt/local/libexec/mpstats" line 42) root@vishnupc:/# echo $PATH

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Ken Cunningham
> On Apr 28, 2018, at 5:06 PM, Vishnu wrote: > > am i supposed to install port tclsh ? > > There's no port named tclsh. > you should have it /opt/local/bin/port-tclsh but your path is probably calling /usr/bin/tclsh Ken

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Vishnu
am i supposed to install port tclsh ? There's no port named tclsh. On 29 April 2018 at 05:24, Joshua Root wrote: > On 2018-4-29 09:36 , Vishnu wrote: > > Hi > > > > I had created the user. > > > > But when trying /opt/local/libexec/mpstats > > > > root@vishnupc:/#

Re: Gsoc 18 Project | Collect build statistics

2018-04-28 Thread Vishnu
Hi I had created the user. But when trying /opt/local/libexec/mpstats root@vishnupc:/# /opt/local/libexec/mpstats can't find package macports while executing "package require macports" (file "/opt/local/libexec/mpstats" line 42) What's wrong. On 26 April 2018 at 01:24, Jackson Isaac

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Mojca Miklavec
Dear Vishnu, On 26 April 2018 at 06:44, Jackson Isaac wrote: > On Thu, Apr 26, 2018 at 3:42 AM, Vishnu wrote: >> Finally was able to install it. >> And successfully run mpstats. > > Great to hear that! You are making a good progress. Keep it up. > >> root@vishnupc:~# /opt/local/bin/port content

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Jackson Isaac
Hi Vishnu, On Thu, Apr 26, 2018 at 3:42 AM, Vishnu wrote: > Finally was able to install it. > And successfully run mpstats. Great to hear that! You are making a good progress. Keep it up. > root@vishnupc:~# /opt/local/bin/port content mpstats > Port mpstats contains: >

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
Finally was able to install it. And successfully run mpstats. root@vishnupc:~# /opt/local/bin/port content mpstats Port mpstats contains: /Library/LaunchDaemons/org.macports.mpstats.plist /opt/local/etc/LaunchDaemons/org.macports.mpstats/org.macports.mpstats.plist.default

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Jackson Isaac
On Thu, Apr 26, 2018 at 1:02 AM, Vishnu wrote: > these are the errors. > > On 26 April 2018 at 00:59, Vishnu wrote: >> >> Yes I did add 'revupgrade_autorun no' line to >> /opt/local/etc/macports/macports.conf >> with sudo.. >> I cross checked it..it

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
Yes I did add 'revupgrade_autorun no' line to /opt/local/etc/macports/macports.conf with sudo.. I cross checked it..it has been updated. On 26 April 2018 at 00:54, Jackson Isaac wrote: > On Thu, Apr 26, 2018 at 12:49 AM, Vishnu wrote: > > It is

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
It is exactly the same error as in previous one. > ---> Cleaning mpstats > ---> Updating database of binaries > Warning: Error determining file type of `/opt/local/bin/captoinfo': > invalid command name "fileIsBinary" > Warning: A file belonging to the `ncurses' port is missing or > unreadable.

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Jackson Isaac
Hi Vishnu, On Thu, Apr 26, 2018 at 12:33 AM, Vishnu wrote: > anyone? > > On 25 April 2018 at 21:49, Vishnu wrote: >> >> Hi >> >> Still same error..Dont know what to do. >> Could you please paste the error that you are getting somewhere e.g.,

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
anyone? On 25 April 2018 at 21:49, Vishnu wrote: > Hi > > Still same error..Dont know what to do. > > > On 25 April 2018 at 21:24, Joshua Root wrote: > >> On 2018-4-26 01:39 , Vishnu wrote: >> > Hi >> > >> > I think its best if you can create a

Re: Some minor issues on Linux (was: Gsoc 18 Project | Collect build statistics)

2018-04-25 Thread Joshua Root
On 2018-4-26 02:19 , Mojca Miklavec wrote: > On 25 April 2018 at 17:54, Joshua Root wrote: >> Our build system only knows how to create users on macOS. You'll have to >> create the macports user manually. > > Should we at least place a more helpful message somewhere? > Perhaps at the end of "make

Some minor issues on Linux (was: Gsoc 18 Project | Collect build statistics)

2018-04-25 Thread Mojca Miklavec
On 25 April 2018 at 17:54, Joshua Root wrote: > On 2018-4-26 01:39 , Vishnu wrote: >> Hi >> >> I think its best if you can create a repository under Macports. >> I'll be coding there. >> >> Also while trying to install mpstats . >> I am getting these error >> >> Warning: configured user/group

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
Hi Still same error..Dont know what to do. On 25 April 2018 at 21:24, Joshua Root wrote: > On 2018-4-26 01:39 , Vishnu wrote: > > Hi > > > > I think its best if you can create a repository under Macports. > > I'll be coding there. > > > > Also while trying to install

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Joshua Root
On 2018-4-26 01:39 , Vishnu wrote: > Hi > > I think its best if you can create a repository under Macports. > I'll be coding there. > > Also while trying to install mpstats . > I am getting these error > > Warning: configured user/group macports does not exist, will build as root Our build

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
Hi I think its best if you can create a repository under Macports. I'll be coding there. Also while trying to install mpstats . I am getting these error Warning: configured user/group macports does not exist, will build as root ---> Cleaning mpstats ---> Updating database of binaries Warning:

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Mojca Miklavec
On 25 April 2018 at 14:45, Vishnu wrote: > Hello > > Succesfully ran the portindex2json. > and saved it ino a json. > > So what next? Wonderful, that's very good news, that will make it much easier to proceed with the rest of the tasks. Now: - play a bit with "port search python", "port info

Re: Gsoc 18 Project | Collect build statistics

2018-04-25 Thread Vishnu
Hello Succesfully ran the portindex2json. and saved it ino a json. So what next? On 25 April 2018 at 17:22, Mojca Miklavec wrote: > On 25 April 2018 at 13:45, Vishnu wrote: > > Hi > > > > I ran portindex. > > It gives me 2 files Portindex and Portindex.quick > > I suggest

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Jackson Isaac
Hi Vishnu, On Wed, Apr 25, 2018 at 3:36 AM, Mojca Miklavec wrote: > See last email from Ryan. Can you try to clone macports-ports and run > portindex there? (Sorry, typing on my phone.) You can also go to our IRC > channel for more real-time help. > For specific steps you

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Mojca Miklavec
See last email from Ryan. Can you try to clone macports-ports and run portindex there? (Sorry, typing on my phone.) You can also go to our IRC channel for more real-time help. Mojca V tor., 24. apr. 2018 23:37 je oseba Vishnu napisala: > Hi all > > was succesfully able

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Vishnu
Hi all was succesfully able to install macports using |$| *|cd /opt/mports/macports-base|* > |$| *|./configure --enable-readline|* > |$| *|make|* > |$| *|sudo make install|* > |$| *|make distclean|* but right now problem is root@vishnupc:~# /opt/local/bin/port -v selfupdate

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Joshua Root
On 2018-4-25 02:36 , Vishnu wrote: > I tried using these > > 1. > > *|mkdir -p /opt/mports|* > |$| *|cd /opt/mports|* > |$| *|git clone https://github.com/macports/macports-base.git|* > |$| *|git checkout v2.4.3 # skip this if you want to use the development > version|* > >

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Jackson Isaac
On Tue, Apr 24, 2018 at 10:06 PM, Vishnu wrote: > I tried using these > > mkdir -p /opt/mports > $ cd /opt/mports > $ git clone https://github.com/macports/macports-base.git > $ git checkout v2.4.3 # skip this if you want to use the development > version > > Build and

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Jackson Isaac
Hi Vishnu, On Tue, Apr 24, 2018 at 9:58 PM, Vishnu wrote: > Hey > > I have been trying to install Macports on ubuntu. > And am unable to do so. > > Downloaded the tar. > Somehelp would be appreciated. > > Could you please try to build it from source [1] ? Are you getting

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Vishnu
I tried using these 1. *mkdir -p /opt/mports*$ *cd /opt/mports*$ *git clone https://github.com/macports/macports-base.git *$ *git checkout v2.4.3 # skip this if you want to use the development version* 2. Build and Install MacPorts

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Vishnu
Hey I have been trying to install Macports on ubuntu. And am unable to do so. Downloaded the tar. Somehelp would be appreciated. On 24 April 2018 at 08:55, Jackson Isaac wrote: > Hi Vishnu, > > Welcome to The MacPorts Project! > > On Tue, Apr 24, 2018 at 4:15 AM,

Re: Gsoc 18 Project | Collect build statistics

2018-04-24 Thread Mojca Miklavec
Dear Vishnu, On 24 April 2018 at 00:45, Vishnu wrote: > >> (c.3) Plan the API to get the data from the database in JSON format >> (so that someone else could write an independent app with the same >> display functionality). >> More in a separate email, I guess. > > (c.3) You are talking about

Re: Gsoc 18 Project | Collect build statistics

2018-04-23 Thread Jackson Isaac
Hi Vishnu, Welcome to The MacPorts Project! On Tue, Apr 24, 2018 at 4:15 AM, Vishnu wrote: > Hey, > > So first thing. > (a.1) I am planning to install ubuntu on my pc in a day. > I guess We can install Macports on that. That's great. Let us know if you face any

Re: Gsoc 18 Project | Collect build statistics

2018-04-23 Thread Vishnu
Hey, So first thing. (a.1) I am planning to install ubuntu on my pc in a day. I guess We can install Macports on that. (a.2 , a.3) Once macports is installed i'll install mpstats ,buildbot too. (b.1) I went and completed week 1.But i am unable to access week 3 , week 4.Because the course

Re: Gsoc 18 Project | Collect build statistics

2018-04-23 Thread Mojca Miklavec
Dear Vishnu, Let me congratulate you for being accepted to the GSOC program with MacPorts. Since your project is of vital importance for MacPorts, we will require pretty high coding standards, including good documentation and test cases, and strive towards early deployment, leaving sufficient

Re: Gsoc 18 Project | Collect build statistics

2018-04-06 Thread Mojca Miklavec
Dear Vishnu, To address some of your earlier non-technical questions with respect to GSOC, here's what our admin wrote: As per GSOC policy, we cannot comment on selection process before April 23rd. We are evaluating all the proposals and might ask some clarifications if required. There are no

Re: Gsoc 18 Project | Collect build statistics

2018-04-06 Thread Vishnu
Yes i wanted to get some feedback on the updated demo project. And what should i do now? Thanks On Fri, Apr 6, 2018, 10:27 PM Jackson Isaac wrote: > Hi Vishnu, > > > On Fri 6 Apr, 2018, 22:19 Vishnu, wrote: > >> Could i get a reply please. >> > >

Re: Gsoc 18 Project | Collect build statistics

2018-04-05 Thread Vishnu
Hello Here is the git repository i made and am working on for demo project. https://github.com/VishnuM-sopho/demo-macports Thanks On 5 April 2018 at 21:31, Vishnu wrote: > Hello Jackson > > > I am sorry . > I was in a hurry to finish the demo as early as possible. So, I

Re: Gsoc 18 Project | Collect build statistics

2018-04-05 Thread Vishnu
Hello Jackson I am sorry . I was in a hurry to finish the demo as early as possible. So, I didnt yet make a git rep for this folder so you cant see any history. Right now we can only compare the files i sent earlier thrugh mails earlier to see changes. Thanks On 5 April 2018 at 19:53, Jackson

Re: Gsoc 18 Project | Collect build statistics

2018-04-05 Thread Vishnu
Hello Jackson I am sorry . I was in a hurry to finish the demo as early as possible. So, I didnt yet make a git rep for this folder so you cant see any history. Right now we can only compare the files i sent earlier through mails earlier to see changes. Will be making one now.So that the

Re: Gsoc 18 Project | Collect build statistics

2018-04-05 Thread Jackson Isaac
Hi, On Thu 5 Apr, 2018, 19:38 Vishnu, wrote: > Dear mentors, > > I further improved my demo project based on feedback. > > I am now able to parse the ports(stored in json locally) using the website > itself(by accessing {url}/port/parser). > This will read the json file

Re: Gsoc 18 Project | Collect build statistics

2018-04-05 Thread Vishnu
Dear mentors, I further improved my demo project based on feedback. I am now able to parse the ports(stored in json locally) using the website itself(by accessing {url}/port/parser). This will read the json file and fill the port table using django models. also upon adding the ports to the

Re: Gsoc 18 Project | Collect build statistics

2018-04-04 Thread Vishnu
Hello I wanted to get feedback on the demo project i submitted https://drive.google.com/open?id=1LbMnyHjaRCbg7IrAUMM042eD7O2Br-jU Thanks On Wed, Apr 4, 2018, 11:08 AM Mojca Miklavec wrote: > Dear Vishnu, > > On 3 April 2018 at 23:54, Vishnu wrote: > > > > Hello > > > >

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Mojca Miklavec
Dear Vishnu, On 3 April 2018 at 23:54, Vishnu wrote: > > Hello > > I have finished the mini project given to me. > I am now successfully able to scrape data from json into the database. > And have integrated the database and website to display all the ports and > their basic information as it

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Vishnu
Hello Yes that's what I have been doing. Its almost ready.. Now integrating it with my front-end website.so that table is updated automatically. Will be mailing you very soon. All the screenshots. On Wed, Apr 4, 2018, 1:05 AM Mojca Miklavec wrote: > Dear Vishnu, > > On 3

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Mojca Miklavec
Dear Vishnu, On 3 April 2018 at 20:10, Vishnu wrote: > > Hello > > Yes portindex.json is very useful. > > I tried my hands with python and sql. > And am successfully able to parse the json and store the data into the table . Thank you very much. The initial steps look promising. Now, try to

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Mojca Miklavec
Dear Vishnu, On 3 April 2018 at 16:56, Vishnu wrote: > Regarding mini django project. What would you suggest i do? > > I was thinking on code to populate the port table from portindex.json > > Would that act as a sample for my Coding skill? > Or should i do something else? That sounds ok and is

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Vishnu
Hello, First thing. I am. Not clear about what document you are talking about perfecting. And i will now focus attention on django as mentioned in my earlier mails. And thanks a lot For that in depth reply. Will work on all things related to Html after I complete working with django. Thanks

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Mojca Miklavec
Dear Vishnu, Thank you very much for sharing the document. The purpose of this HTML was two-fold: - demonstrating your skills - first step of the planning phase for the actual implementation Below I'm providing some feedback, but I would suggest to concentrate on a simple django app at this

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Vishnu
Sure thanks a lot for the prompt reply. Will start working on the idea and produce results very quickly. On Tue, Apr 3, 2018, 8:32 PM Jackson Isaac wrote: > Hi Vishnu, > > On Tue 3 Apr, 2018, 20:26 Vishnu, wrote: > >> Regarding mini django project.

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Jackson Isaac
Hi Vishnu, On Tue 3 Apr, 2018, 20:26 Vishnu, wrote: > Regarding mini django project. What would you suggest i do? > > I was thinking on code to populate the port table from portindex.json > Please go ahead and implement your idea :) > Would that act as a sample for my

Re: Gsoc 18 Project | Collect build statistics

2018-04-03 Thread Vishnu
Regarding mini django project. What would you suggest i do? I was thinking on code to populate the port table from portindex.json Would that act as a sample for my Coding skill? Or should i do something else? On Tue, Apr 3, 2018, 8:03 PM Mojca Miklavec wrote: > On 3 April

Re: Gsoc 18 Project | Collect build statistics

2018-04-02 Thread Vishnu
Hi Please go through this https://jsfiddle.net/vishnum98/3r4vL4L3/21/ I did some changes. Thanks On 3 April 2018 at 03:02, Mojca Miklavec wrote: > > V pon., 2. apr. 2018 19:49 je oseba Vishnu napisala: > >> In the database. >> Because then it would be very easy to count

Re: Gsoc 18 Project | Collect build statistics

2018-04-02 Thread Mojca Miklavec
V pon., 2. apr. 2018 19:49 je oseba Vishnu napisala: > In the database. > Because then it would be very easy to count the number of os for that port. > I'll explain tomorrow why this is suboptimal. (But there's no need to further optimise the database design right now.) Just plan the final

Re: Gsoc 18 Project | Collect build statistics

2018-04-02 Thread Vishnu
In the database. Because then it would be very easy to count the number of os for that port. Ok. would be updating the html. On 2 April 2018 at 22:54, Mojca Miklavec wrote: > On 2 April 2018 at 18:50, Vishnu wrote: > > Hi > > > > Here is the basic structure i prepared. > >

Re: Gsoc 18 Project | Collect build statistics

2018-04-02 Thread Mojca Miklavec
On 2 April 2018 at 18:50, Vishnu wrote: > Hi > > Here is the basic structure i prepared. > > https://jsfiddle.net/3r4vL4L3/5/ > > And i wanted to know what all am i supposed to show in installation > statistics mandatorily? > > Top port Versions of a month? > Top os of that port? > Number of

  1   2   >