My first program using ui module :)
It allows you to easily download repos and releases from GitHub, and also supports automatic unzipping.
Main branch: https://github.com/Vik2015/gitrepo
Dev branch: https://github.com/Vik2015/gitrepo/tree/dev
My first program using ui module :)
It allows you to easily download repos and releases from GitHub, and also supports automatic unzipping.
Main branch: https://github.com/Vik2015/gitrepo
Dev branch: https://github.com/Vik2015/gitrepo/tree/dev
Works great! Thanks for sharing :)
One suggestion for enhancement: look at the clipboard and if it contains a URL of the form https://github.com/Vik2015/gitrepo then prepopulate the two text fields with the values from the URL.
@ccc, updated the repo. Thanks for the suggestion :)
Small update, which adds ability to select, which release do you want to download (previously the program was downloading the latest version).
Added new button, "Browse repos". It allows you to browse user's repositories (not their files) and choose one to download.
Thanks!
"Browse repos", very good.(^^/
@beer2011, glad you like it :)
If you guys have any other ideas about stuff I can add - please write them here
I noticed, while using...
By the case, The file name which carried out the 'Tap'(in window of "Browse repos") seems not to be correctly reflected.
Would you confirm?
Thanks.
Yes, @beer2011, see issue #1. I submitted a proposed fix in a pull request.
Again, it downloaded.
It can choose now well.
@ccc, @ShadowSlayer, Thanks!
@beer2011, glad it works now.
@ccc, thanks a lot for the fixes :)
Okay, I made a new release and fixed some more stuff.
In the next version I am hoping to fix issue #3 and add Choose location button, which will allow you to choose download location :). I think it is going to be pretty useful.
New release is here!
Unfortunately, I haven't added Choose location button in this release, but I've added the possibility to download and browse gists! Yay :)
@ShadowSlayer thanks for this, now I only need 1 tool instead of 2! :)
@techteej, glad it helps :)
If you install the script via the gitrepo.uipack.py download, the unpacked gitrepo.pywill have a syntax error on line 21:
parselink = re.compile("<[\S]*?page=(\d+)>; rel="last"").search
i.e. the escaping of the double quotes is lost.
I suggest just using this syntax instead:
parselink = re.compile(r'<[\S]*?page=(\d+)>; rel="last"').search
Please note that I also made the string literal a raw string by prefixing it with r. This is generally a good practice for regular expression strings, since the backslash in combination with certain characters will be interpreted as an escape sequence otherwise and the regex may not work as intended.
@SpotlightKid, thanks for telling me that! Problem fixed :)
hello.
I just downloaded and used your gist to download 'pixel draw' project.
It worked perfectly!
Very nice to have the folder automatically created.
Your project is a life saver!
Thanks.
Haven't updated this project for a loong time, but hopefully gonna add some cool stuff now! :]
In this update I added branches support:
When entering repo's name, you can specify the branch by putting '/{branch-name-here}' after repo's name, ex:

Going to add push support soon.
P. S. Fixed the lag issue; updates will now be pushed into the dev branch