No commit activity in last 3 years
No release in over 3 years
eda-code-downloader is a command line tool that will clone all of the work that you did at Dev Academy. It handles cloning from branches with names like Nick_and_Hannah so you will have both your solo and pairing work. You can also specify master as the branch to download all the challenges for a cohort.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.10
~> 10.0
>= 3.2.0, ~> 3.2
 Project Readme

EDA Code Downloader

eda-code-downloader is a command line tool that clones down all of your Dev Academy code for you. It handles pairing and solo branch names, and can also be used to download all the challenges for a cohort.

Installation

$ gem install eda-code-downloader

Usage

$ eda-code-downloader

You will be prompted to enter your cohort's Github organization, your Github credentials, your name and the location to clone.

Github organization is expected to be formatted as great-spotted-kiwis-2014. It's in the url of your cohort's github organization.

Your Github credentials are required to access your cohort's repositories. I recommend you choose to use a personal access token instead of your password, but either way nothing is stored.

You can issue a personal access token by visiting this page. You can then use it in place of a password. See this Github help page for more information.

Your name is used to determine the branches to clone down. eda-code-downloader simply finds the first branch that contains the name you provide (case insensitive), so it finds branches like 'nick' or 'Nick_and_Hannah' alike. Bonus functionality: If you you provide 'master' as your name, the tool will download all of the repos from the cohort.

The location to clone defaults to ~/eda-code/<cohort> if left blank.

Example usage for me:

 $ eda-code-downloader
Github Organization to download from (e.g: kakapo-2015):  great-spotted-kiwis-2014
Github Username: Widdershin
Github Password/Personal Access Token (not stored): ****************
What's your name? All branches containing this string will be cloned.
nick
Where should I clone the repos to?  |~/eda-repos/great-spotted-kiwis-2014|

Cloning repos from great-spotted-kiwis-2014...

...

Contributing

Bug reports and pull requests are welcome.