Skip to content

Instantly share code, notes, and snippets.

@sanjitchak
Last active August 21, 2019 05:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanjitchak/3d0a3eae122aa8f1c8ef35612de89d87 to your computer and use it in GitHub Desktop.
Save sanjitchak/3d0a3eae122aa8f1c8ef35612de89d87 to your computer and use it in GitHub Desktop.
GSoC 2018 Summary @ Amahi

Google Summer of Code 2018 Final Report @ Amahi

Introduction

Hello! I am Sanjit Chakrabarti, studying BTech in CS at SRSIT. Over the last few months, I worked with Amahi to improve the installation, networking and apps section of Amahi 11, which is the newer version of Linux-powered home server.

Here is a summary of the work I completed for the 2018 Google Summer of Code for the Amahi

Made an anaconda addon for automating amahi installation in fedora 27 using Install Code or using No Install Code

Following modification done to hda-ctl file

  • Use POST API call instead of GET for dynamic DNS calls & Added 1 method to get new Router IP using DHCP lease
    amahi/hda-ctl#12
  • Updated to get platform name from amahi-release
    amahi/hda-ctl#6

Following modification done to hda-install file

  • Use API call to update Amahi's control panel with proper settings if they differ from what was set
    amahi/hda-ctl#11
  • Removed fedora-release from rpm installation
    amahi/hda-ctl#8
  • Added support for both Install Code or using No Install Code by providing system_configuration file
    amahi/hda-ctl#5
  • Allow an interface to be specified option using -k option
    amahi/hda-ctl#7

Modified hda-change-network file to remove a bug

amahi/hda-ctl#9

Following modification done to platform.rb file

Debugged many platform apps using Grinder Testbot (using Capybara) and filed different types of bugs

https://bugs.amahi.org/issues?author_id=719&set_filter=1&status_id=%2A

Things to do next

  • API for using No Install Code is to be created to check its working and then test it in many different configurations
    https://github.com/amahi/anaconda-addon/tree/no-install-code
  • Need more methods to get new Router IP in hda-ctl and need testing in many different configurations
  • All platform apps has to be properly debugged
  • Add Language support for our Amahi Anaconda Module
  • Add support to rescue Amahi system

Final Thoughts

I had an awesome experience working with Amahi. I have improved my debugging skills exponentially and learned to pick up new skills fast. I have learned many programming languages, including python, ruby and perl and learned to test things using a testbot.
I would like to thank my mentors: Rodney Runyon (@bigfoot65) for the initial feedback and Carlos Puchol (@cpg) for being with me till the end, guiding me and pushing my limit in every possible way. I have learned a lot from you @cpg.
I would also like to thank my GSoC team members for occasional help.
And would like to thank Google to support our humble open source organization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment