Public Lab Research note


Upgrading Plot to Rails 5

by aayushgupta1 | March 21, 2017 10:18 21 Mar 10:18 | #14043 | #14043

(This template is for students applying to summer code programs with Public Lab. Use this link to start writing a post: https://publiclab.org/post?n=899&tags=gsoc,gsoc-2017-proposals You can delete this line once you've started filling it out.)


About me

My name is Aayush Gupta. I am a programmer and a web developer. I code in Ruby. I am a third year computer science student in Manipal Institute of Technology, Manipal. I have been working with this code for 4-5 months now and quite know it well now.

Affiliation Manipal Institute of Technology, Manipal

Location: Manipal, India

Project description

_I plan on upgrading the plots code from Rails 3 to Rails 4.2 or Rails 5( if permitted )_

Abstract/summary (<20 words):

_In my project I plan to upgrade the PLOTS code from Raills 3 to Rails 4/5._

Problem

_Currently plots code is running on Rails 3 whereas newer and better versions such as Rails 4.2.8 and Rails 5 have been released. I intend to upgrade the code to Rails 5 which has better performance. It has many benefits such as better performance and support for Ruby >= 2.2.2._

Timeline/milestones

Break your project up into small projects -- one per week!

Needs

_No seperate resources would be needed as such. I would just need some guidance from my mentor._

Setup

_Have you forked the relevant codebases?

Yes, I have forked it and keep on updating from the master on a regular basis.

Link: https://github.com/aayushgupta1/plots2

Installed them in a dev environment such as Cloud9.io?

I installed and run the server locally on my laptop._


Experience:

_I learned coding in my high school and got an interest in it since then. Since then I am in to coding. Started on C++ to Python and currently on Ruby.

Have you looked over our welcome page and are you familiar with how to make your first contribution? Have you already?_

_Yes, I have my first contribution. Rather, I have made some significant contributions to the plots code in the past._


Teamwork:

_I have done an internship in L&T in the automation department (closed source) where I worked in a team of 10 people. Did some automation for some processes using python and some tools that they use within the company. I liked working with the team as they were eager to help and taught me a lot.

I have worked on github for several of my projects that I did for my college and school as a developer.

I am driven by a eagerness to learn and implement whatever I learn. I like to implement my knowledge in the real world and make a change._


Passion

_I like to use my knowledge in the real world and make a change. _So, I don't leave an opportunity to make a change. As you are making the world a better place to be in, I would like to make a my contribution to it. I like the work you do and would help you do it._

Commitment:

As I am a student, I am free during the summer for 3 months. I will dedicate my time for this and do whatever it takes to complete this project. I would take it as a full time job.


6 Comments

@warren Kindly go over the proposal and give suggestions.

Reply to this comment...


Hi, just a note that there is one attempt in particular to do the 4.x upgrade that's been started, but I haven't seen updates on it recently so it's possible this is still in progress: https://github.com/publiclab/plots2/pull/1160

Thanks for your proposal!

Reply to this comment...


Perhaps you could think about what we could do to schedule the update in a non-disruptive way; for example, there are things that would have to change that could run on both 3.x and 4.x, and we could do those before taking on the actual switchover. That way the big switch is smaller and less complex.

Reply to this comment...


@warren I saw that PR and didn't see a reply to it. And no progress was shown, so I thought of taking up that project. Also, I had thought of what you were suggesting. I was going to put that in my week wise distribution of work. I was going to start with that and then go on to bigger things. I'll upload the schedule ASAP Thanks for the suggestion though. Anything else you would like to suggest.

Reply to this comment...


Hi, do you think the upgrade will be a big enough project for the whole summer? If not, what other smaller projects might you add on? Although if it really is a huge project, that's fine to say so. Thanks!

Is this a question? Click here to post it to the Questions page.

Reply to this comment...


@warren - Yeah, I thought so too. I was thinking of taking up the "Email notification overhaul" along with this. Also, as I was going through previous open pull requests, I saw a lot of open ones on the last time's topic of "Internationalization of Publiclab.org". They're short tasks and could be a great addition to the current proposal.

I would like to take that up too alongside these. Do tell me if it's okay.

Thank you!

Reply to this comment...


Login to comment.