From the above example, we can get to know many statistics like how the repository is growing, number of people contributing, number of commits they have made and lot more.
Apparently, my team uses a private repository on Bitbucket and Bitbucket don’t have anything like contributors page just like how we see above. Maybe because Bitbucket is mostly used by enterprises to host private repositories and they won’t have any external contributors. It makes sense GitHub having contributors page because it hosts 1000s of open source projects and has numerous contributors.
Since Bitbucket doesn’t have this feature, I thought of exploring some git commands to extract these statistics from my git repository. [Got one more opportunity to learn more about Git 🙂 ]
To start with, I figured out how to find number of commits made by each developer.
$ git shortlog -s -n
This would give me a list of all the contributors with number of commits they have done.
If you know any pre-university students who are interested in computers or open source please do inform them about this. Task varies from coding, documentation, training, outreach, research, quality assurance and user interface. Also, students earn prizes for their successful completion of tasks.
What is Google Code-in ?
Google Code-in is a contest by Google to introduce pre-university students (ages 13-17) to open source software development. Since 2010, over 3200 students from 99 countries have completed work in the contest.
I’ll be helping students with code and design for this task.
I have few other tasks in my mind. I may publish them as we move on (based on our progress).
Why I’m doing this ?
Well, I just love open source and like helping others to get into FOSS. And WikiToLearn, KDE is a great community to work with.
I strongly believe in it’s philosophy – “Knowledge only grows if shared”. It feels good to help the younger generation to get into community so that our community grows big.
SwiftCode program is intended to show a modern age computer science graduate how to build scalable and robust applications using state of the art techniques and design methodologies that have shaped software today.
On August 20th, we hosted our first workshop at BNMIT engineering college, Bangalore. We had 25 students from Computer/Information Science department.
On the first and second day, Sandeep and Akshay took the session on Java Play framework, explaining how to build a RESTful application. They completed the backend side of the application. Students were often made to commit and push their code on Github. At the end of day 2, Shrita showed how to test our APIs using the Postman.
On the third day, Prarthana took a session on front-end development, talking about how responsive websites could be built using bootstrap, architecture of Model-View-Controller (MVC) and AngularJS.
At the end of the training, all students were able to build a social media (similar to facebook) application on their own. They had soo much fun and learned a lot.
I had built the extension on normal MediaWiki.
I tested it on my local instance of WikiToLearn i.e http://tuttorotto.biz (URL is accessible only if you are running its local instance)
It works good and as smooth as it was on MediaWiki.
The things I’ve planned to work on these final days are :
* Write good documentation. Since my project was bit complicated, I do feel it requires a good documentation on how does it work, how to use it and configuring it.
* It may need some tweaking on UI so as to match with the current skin of WikiToLearn. It would be easy, we can do it anytime but my focus is on get the collaborative editing work good.
* I’m curious to know how it would perform when we deploy it on staging or production server. I know WikiToLearn will be used by the huge number of people every day and hence it will have high traffic.
I’m also looking for any good tool to write my documentation. Maybe GitHub wiki, ReadTheDocs or a blog post would be fine I think.
On 23rd and 24th of April, 2016 our GLUG DSCE organised a basic Python and Django hands-on workshop.
On 23rd, Santosh from HackerEarth taught the students about basic python programming. The duration of this workshop was around 3 hours. Most of the basics concepts were covered. Most of the students who attend this workshop were from 4th-semester. They knew about C programming and Object oriented programming language like C++ which helped them to learn python quickly.
They all were amazed at the flexibility provided by the python. Santhosh’s talk was impressive enough for students to fall in love with python. 🙂
T-shirts were awarded to students who solved the bounty questions quickly.
On 24th, we had Ramaseshan from Fractalio Data Pvt Ltd who took a hands-on workshop on Django. Firstly, he explained about the MVC, MTV architecture to make them understand how architecture plays an important role in building an application.
The duration of this workshop was around 5 hours (excluding 1-hour lunch break). We worked on a building a basic Django app – writing notes something like Evernote. It was taught very well.
At last, we had an hour for open discussion. Students were made to as any question related to Django or anything related to technology. I and Farhaan spoke about our GSoC project ideas and motivated them to contribute to Free and Open source software projects.
Ramaseshan spoke about Free Software philosophy, mesh network, censorship, privacy, free software communities and lot other things. His talk was very much impressive, many students wanted to join GLUG as core members and contribute in whichever field they are interested in. 🙂
A meeting was conducted soon after the workshop with the newly joined GLUG members.
On 30th January, 2016 we had our 2nd global Quack and Hack meet-up. This meet-up was special to me because I got an opportunity to be a co-host. I should thank Abdul, DuckDuckGo community leader for giving me this opportunity.
It is great pleasure to be a host for this meet-up.
Daniel, the community manager of DuckDuckGo joined us over a video conference. He gave us some insights about the Global Quack and Hack meet-up which is happening at different parts of the world.
After speaking with Daniel, I asked all participants to join our slack group.
I showed them the various features of DuckDuckGo search engine – instant answers, bangs, changing the UI theme, etc. I spoke about various ways to contribute to the DuckDuckGo’s open source platforms.
I gave a demonstration on how to build instant answers.
I tried to make them understand the code base of zeroclickinfo-goodies repository.
We were concentrating more on cheat sheets since it is good to start with for beginners, easy and can be finished in quick time.
Then we followed the documentation to set up the development environment. They didn’t faced any difficulties in doing this. Most of them were on Linux based OS.
Few of the participants were new to open source. They created an account on Github, forked the zeroclickinfo-goodies repository and cloned it.
Just to build confidence within themselves I made them to run the duckpan server on codio and test the existing instant answers on the local server. They were happy to see those search queries giving instant results.
Few of them selected ideas from the Instant Answers Ideas forum, few came up with their own ideas.
They started to hack on their ideas. I used to keep helping them whenever they find difficulties. Hemanth, another co-host joined the meet-up.
We took a break for lunch, had some yummy pizzas, sodas, chat with others, all these were fun. 😉
By this time few of them were almost done with building their instant answers, they just needed to send the pull request.
All were new to git too. I and Hemanth, helped participants to configure git in their systems and thought them few basics of it.
Few were successful in sending the pull requests. It was really nice to see people making their first contribution to open source by building instant answers.
Happy to help more and more people to contribute to open source and DuckDuckGo anytime in future. 🙂
– We couldn’t watch these video collection. 😦
The blog post was published just few hours before the event. I’m missed to read this post, read after the event. My bad. 😦
– We started our event at 12.30 p.m IST, I felt if we had started by morning we could have stretched the duration till evening.
Issues faced :
– Few couldn’t send the pull requests though they had completed building instant answers. This is because more time was spent in configure git on their systems and explaining how git works. So, at the end we didn’t had enough time to complete it, we had to wind up.
What we can do for next event ?
– We could automate the process of sending invite link to subscriber to slack group. Similar to this.
– Need to do some more promotion of the event so that we can more crowd.
Totally, this meet-up was great fun and taught me new things. 🙂
You can read about my post on 1st Global Quack and Hack meet-up here.
See you at next meet-up, until then happy quacking! 😀