Commit Graph

73 Commits

Author SHA1 Message Date
b8cfd93158 Added 2 images - heart1 and heart2 2020-09-30 01:02:06 +08:00
84e75e0b87 Add gliders template 2018-05-09 13:00:45 -04:00
2a908acf05 Set execute permissions on generated script 2018-05-09 12:50:42 -04:00
3001c5c189 Replace "/bin/bash" with "/usr/bin/env bash" 2018-04-12 00:34:21 -04:00
d605712886 Add new beer template 2018-03-04 21:44:49 +00:00
7ef5f32025 Adjust final message
Removes the 'new' behind the GitHub URL and adds the actual repo name to the sentence:

Old: "Create a new(!) repo at https://github.com/new and run the script"
New: "Create a new(!) repo named _reponame_ at https://github.com and run the script"
2017-09-30 19:40:05 +02:00
0df25a7527 Fix git pull 2016-08-16 12:59:36 +02:00
7a80c1d730 drop unused content arg from commit function 2016-06-12 15:23:26 -07:00
52884b2999 Use --allow-empty for performance gelstudios/gitfiti#32
* Improves the size of the generated file:

2365211 new-gitfiti.sh
2529001 original-gitfiti.sh

* Cutting the number of executed commands in half (no more echo)
* Vastly reduces the amount of gc git performs during push
2016-06-12 15:15:48 -07:00
65b7694662 Simplified finding of highest daily count by using the max function. 2016-06-10 00:25:44 +02:00
d23a2d0746 Extracted function to parse daily counts from a contributions SVG and added a test for it. 2016-06-10 00:24:06 +02:00
4d4af436f4 Retrieve and return the contributions calender as a string; split into lines later as part of the processing stage. 2016-06-10 00:15:26 +02:00
18b49c1dad Clarified names. 2016-06-10 00:13:03 +02:00
6aa52725a6 Adjusted calendar SVG retrieval to work on Python 3, too. 2016-06-06 01:23:25 +02:00
603c7f30e7 Extracted "constant" for fallback image name. 2016-06-06 01:23:25 +02:00
580c13ab68 Slightly streamlined user interface. 2016-06-06 01:23:25 +02:00
777f264796 Make raw_input available on Python 3 by aliasing it to input. 2016-06-06 01:23:25 +02:00
3e92a86161 Fix str_to_sprite on Python 3.
I'm using a list comprehension as it is easier to grok than `list(map(list, lines))`.
2016-06-06 01:23:25 +02:00
811a7c2a44 Fixed import of urlopen[2] on Python 3. 2016-06-06 01:23:25 +02:00
5b6a3cfc2c Finding the highest daily commit count once is sufficient. 2016-06-06 01:23:21 +02:00
302e83416d Use one-liner. 2016-06-06 01:23:03 +02:00
f6727b2555 Extracted function calls. 2016-06-06 01:23:03 +02:00
ca1dc8f00e Turn the optional Git URL argument into a mandatory one. 2016-06-06 01:23:03 +02:00
02d049b1a3 Introduced a few variables. 2016-06-06 01:23:03 +02:00
71c88fc084 Turn the optional base URL argument into a mandatory one. 2016-06-06 01:23:03 +02:00
68a1fb2b03 Extracted "constant" for GitHub base URL. 2016-06-06 01:23:03 +02:00
73361c64d9 Prefix function names with verbs to avoid confusion (or upcoming conflicts) with variables. 2016-06-06 01:23:02 +02:00
bdcdd8f137 Selectively employ one-liner conditionals for brevity. 2016-06-06 01:22:12 +02:00
822048909b Extracted function to request user input. 2016-06-06 01:22:10 +02:00
60c2aae15f Fixed name and acronym case. 2016-06-06 01:21:53 +02:00
bb31c8eb46 Create empty dict via literal syntax instead of function call. 2016-06-06 01:21:53 +02:00
c7ffdcde4d Renamed function argument to reveal its meaning and to not override the built-in input function. 2016-06-06 01:21:53 +02:00
c2870bb4ec Clarified variable name. 2016-06-06 01:21:53 +02:00
a76dd860f3 Use string literal delimiters consistently (triple double-quotes for docstrings, [triple] single quotes for everything else where feasible). 2016-06-06 01:21:51 +02:00
b717414e7b Import the datetime and timedelta classes from the datetime package without having to fully qualify their uses. 2016-06-06 01:21:31 +02:00
e1b2657ff0 Open file via with statement so it gets closed automatically. 2016-06-06 01:21:31 +02:00
be6bd58080 Formatted with PEP 8 in mind. Inserted additional blank lines for readability. Ordered imports alphabetically. Removed unnecessary parentheses. 2016-06-06 01:21:25 +02:00
9746944e4c Use "not x" rather than "x == None" for testing the result of raw_input() 2014-11-05 22:08:59 +11:00
d9514f0b4e changed max_commits() and get_calendar() to fix issue #17 2014-09-26 13:45:12 -04:00
6c1faad8a6 error in empty string handling 2014-08-19 14:05:59 -04:00
1333435f4f fix contributor's print statement 2014-08-19 00:15:17 -04:00
9aab65ebb2 merging Story's changes 2014-08-19 00:07:37 -04:00
454e8c7ebc fixes calendar url issue 2014-08-18 23:48:34 -04:00
684b12b606 adding license, officially open source now? 2014-08-08 18:48:02 -04:00
87fe8f3401 Fix the py file for Python 3+ 2014-07-29 23:56:24 -06:00
0eb93f7afc fix the bug that kitty always appears when using user templates 2014-01-16 23:29:13 +09:00
a0dde04a3b remove newline from commit date 2013-08-05 02:12:35 +00:00
62b276701e added try except to urllib2 call for cal data 2013-08-04 20:47:18 -05:00
3af9779d31 fix issue when not using custom ghe 2013-08-04 20:05:48 -05:00
2d4653aa21 added ghe support 2013-08-03 22:16:09 +00:00