Commit Graph

392 Commits

Author SHA1 Message Date
Petr Korolev
4a96a7c0c9 move compund to generator 2015-05-22 14:11:29 +03:00
Petr Korolev
7f696b6b09 rename, prepare to moving methods to generator 2015-05-22 14:06:48 +03:00
Petr Korolev
536b39c961 add doc 2015-05-22 13:37:06 +03:00
Petr Korolev
944adc92cd refacktoring. move separation logic in funciton 2015-05-22 13:34:01 +03:00
Petr Korolev
3fc3e3e143 minor changes 2015-05-22 09:22:44 +03:00
Petr Korolev
a5d43b3d23 Update gemspec to version 1.4.1 2015-05-19 12:19:26 +03:00
Petr Korolev
66152e59de Fix #237 2015-05-19 11:55:32 +03:00
Petr Korolev
ec7c98758c fix #69 2015-05-19 11:47:56 +03:00
Petr Korolev
d0defc4c9b Prettify log output 2015-05-19 10:12:53 +03:00
Petr Korolev
e9cb010f09 fix rubocop warnings 2015-05-18 15:50:10 +03:00
Petr Korolev
1ee1dfd50f wrap github methods in another method 2015-05-18 15:23:56 +03:00
Petr Korolev
8a3ff1b799 Merge branch 'develop' into fetch-refactoring 2015-05-18 13:51:26 +03:00
Petr Korolev
bbeebf7e28 fx 2015-05-18 12:15:42 +03:00
Petr Korolev
583076f32c Merge branch 'develop' into add-tests 2015-05-18 12:00:31 +03:00
Petr Korolev
0ff48a3dba Fix #235 2015-05-18 12:00:08 +03:00
Petr Korolev
866c9f95d3 print error more descriptive 2015-05-18 09:26:36 +03:00
Petr Korolev
7b356bf01a add tests for fetching token 2015-05-14 17:53:17 +03:00
Petr Korolev
819bcf5948 rubocop autofixes, rm bum file 2015-05-14 16:49:05 +03:00
Petr Korolev
f3e484b508 Merge pull request #231 from inaka/master
Add future release option
2015-05-13 09:14:34 +03:00
Petr Korolev
6710078766 Update gemspec to version 1.4.0 2015-05-07 17:14:25 +03:00
Roberto Romero
a0dce72151 Fixes #1: Add future release option 2015-04-30 20:24:03 -03:00
Petr Korolev
0a35113a88 rubocop fixes 2015-04-22 00:33:50 +03:00
Petr Korolev
79a84a14f4 add logger 2015-04-22 00:26:28 +03:00
Petr Korolev
6d8dbd16ad fix long lines (>80) 2015-04-22 00:00:57 +03:00
Petr Korolev
b7980c8900 rubocop autofixes 2015-04-21 23:37:03 +03:00
Petr Korolev
e27fe24a76 refactoring 2015-04-21 23:32:52 +03:00
Petr Korolev
088c98d0bf move methods 2015-04-21 20:42:33 +03:00
Petr Korolev
9ab84ac181 Merge branch 'master' into feature/fetcher 2015-04-04 03:41:09 +03:00
Petr Korolev
26e202d7f0 add documentation 2015-04-04 03:37:31 +03:00
Petr Korolev
b598bd5ba1 add docs. add fail statment 2015-04-04 03:30:35 +03:00
Petr Korolev
c44be45ce4 add doc fix bug with filtering in case of nil issues 2015-04-04 03:18:12 +03:00
Petr Korolev
177b7aa18f code cleanup. remove code duplication 2015-04-04 03:10:16 +03:00
Petr Korolev
e495b58682 Merge branch 'develop' into feature/fetcher
Conflicts:
	.rubocop_todo.yml
	lib/github_changelog_generator.rb
2015-04-04 02:31:44 +03:00
Petr Korolev
e82a75611c refactoring 2015-04-04 02:30:02 +03:00
Petr Korolev
38576e23e3 update changelog
set default debug repo
add documentation
2015-04-04 02:23:30 +03:00
Petr Korolev
79d228c7a0 cleanup 2015-04-04 00:25:14 +03:00
Petr Korolev
e1161f9d90 code cleanup. remove duplicate code 2015-04-04 00:22:40 +03:00
Petr Korolev
dae68ee3b5 rubocop fixes 2015-04-04 00:08:00 +03:00
Petr Korolev
2b656c83b6 add doc + fix raise 2015-04-03 19:13:50 +03:00
Petr Korolev
4e9ed5df28 add error class and documentation 2015-04-03 18:59:37 +03:00
Petr Korolev
ce7f35777b Merge branch 'develop' into feature/fetcher
Conflicts:
	lib/github_changelog_generator.rb
2015-04-03 18:40:11 +03:00
Petr Korolev
da60c73502 Go with souble quotes. (See https://github.com/skywinder/github-changelog-generator/pull/220#discussion_r27262657 ) 2015-04-02 12:05:26 +03:00
Petr Korolev
b5d073c0af Merge branch 'develop' into feature/fetcher 2015-04-01 14:17:14 +03:00
Petr Korolev
d361baaec5 add documentation 2015-03-27 17:15:08 +02:00
Petr Korolev
ae0d1d16de Fix missed sub-section headers and add documentation 2015-03-27 17:06:09 +02:00
Petr Korolev
c8584a1749 add documentation 2015-03-27 16:48:13 +02:00
Petr Korolev
7c29f3ddd2 move @github to fetcher
Conflicts:
	lib/github_changelog_generator.rb
2015-03-27 16:29:47 +02:00
Petr Korolev
a2cf6810ad add fetcher class 2015-03-27 16:25:57 +02:00
tuexss
c5a01bb24f Merge branch 'cleanup' of https://github.com/tuexss/github-changelog-generator into cleanup 2015-03-27 00:46:37 +01:00
tuexss
d425ae1a9a Change option name from format to dateformat 2015-03-27 00:23:28 +01:00
tuexss
fb50acca57 Sort option defaults as listed 2015-03-27 00:21:42 +01:00
tuexss
3bd3dae016 Set default for simple-list 2015-03-27 00:18:09 +01:00
tuexss
fd2beef12a Set default for include labels 2015-03-27 00:16:35 +01:00
tuexss
c088349bc3 Cleanup for parser helpmessages 2015-03-27 00:14:50 +01:00
Petr Korolev
8462f017b7 rubocop cleanup 2015-03-27 00:24:55 +02:00
tuexss
57ef59d76c Don't pass log as parameter 2015-03-26 23:09:31 +01:00
tuexss
808155ee3a Slim down newer_tag initialization 2015-03-26 23:03:49 +01:00
tuexss
d80a6803be Optimize feedback when no tags found 2015-03-26 22:30:13 +01:00
tuexss
93291dde7c Remove misspelled and unused method 2015-03-26 22:12:45 +01:00
tuexss
c67909959b Consistent print/put messages and style 2015-03-26 22:01:58 +01:00
tuexss
2c8ba4965b Fix method name typo 2015-03-26 21:47:17 +01:00
Petr Korolev
cc6ac05254 Merge branch 'feature/parse-existing-changelog-file' of https://github.com/estahn/github-changelog-generator into estahn-feature/parse-existing-changelog-file
Conflicts:
	Gemfile
	Gemfile.lock
	Rakefile
2015-03-26 18:41:24 +02:00
Petr Korolev
cca8e5d810 rubocop auto-fixes 2015-03-26 15:50:56 +02:00
Enrico Stahn
3ca25bfff0 Merge branch 'master' into feature/parse-existing-changelog-file 2015-03-27 00:07:30 +11:00
Enrico Stahn
6af43b63e1 Include Reader class 2015-03-26 15:58:16 +11:00
Enrico Stahn
9f06a20741 Refactor Reader class to conform with Rubocop 2015-03-26 15:57:51 +11:00
Enrico Stahn
1eee5bffd8 Implement Reader class to parse ChangeLog.md 2015-03-26 00:40:24 +11:00
Petr Korolev
0d0a37b653 fix logic of rescue. 2015-03-24 16:51:51 +02:00
Petr Korolev
5f6756e8dd Add warrning in case of 0 tags in repo. Fix #208. Reformat + prettify output. 2015-03-24 16:51:51 +02:00
Shawn Neal
1456ba8913 Improved --max-issues docs and messaging
- defaulted max issues to be unlimited in number allowing user to optionally limit issues returned
- added FAQ section on rate limiting and API rate limit exceeded warning
2015-03-24 16:51:51 +02:00
Shawn Neal
90f6436af6 Add --max-issues argument to limit requests
This addresses issue 71 by providing a configurable limit on the number of issues to retrieve. By default this limits the number of issues to 500 which should help users stay under the GitHub API limit and keep change logs from growing ridiculous in size for older repos.
2015-03-24 16:51:51 +02:00
Shawn Neal
856ad3a742 Improved --max-issues docs and messaging
- defaulted max issues to be unlimited in number allowing user to optionally limit issues returned
- added FAQ section on rate limiting and API rate limit exceeded warning
2015-03-23 08:13:44 -07:00
Shawn Neal
643f2f9eab Add --max-issues argument to limit requests
This addresses issue 71 by providing a configurable limit on the number of issues to retrieve. By default this limits the number of issues to 500 which should help users stay under the GitHub API limit and keep change logs from growing ridiculous in size for older repos.
2015-03-20 18:45:40 -07:00
Petr Korolev
7b38f0f56a Update gemspec to version 1.3.11 2015-03-21 02:13:09 +02:00
Petr Korolev
7704dc9ecd Add rescue fallback with warning message to prevent crash in case of exceed Rate Limit (temporary workaround for #71) 2015-03-21 02:12:58 +02:00
Petr Korolev
3cc6418048 Update gemspec to version 1.3.10 2015-03-18 10:27:29 +02:00
Petr Korolev
a4f93feb7d This commit fix #69. 2015-03-18 10:18:58 +02:00
Petr Korolev
b0be9f8b06 Fix termination in case of empty unreleased section with --unreleased-only option. 2015-03-18 09:39:21 +02:00
Petr Korolev
c2e73edc29 Update gemspec to version 1.3.9 2015-03-06 16:47:28 +02:00
Petr Korolev
045dff7cbc Fix: Improve method of detecting owner and repository. Fix #63 2015-03-06 16:32:59 +02:00
Petr Korolev
cc65da5153 update changelog 2015-03-06 16:08:02 +02:00
Petr Korolev
c22f8b4a31 increase number of threads to 50, typo fix 2015-03-06 15:09:13 +02:00
Petr Korolev
2c46d32531 limit fetching up to 10 threads 2015-03-06 14:57:55 +02:00
Petr Korolev
aa88122d48 Update gemspec to version 1.3.8 2015-03-05 17:14:51 +02:00
Petr Korolev
a69c2b5343 update gem 2015-03-05 17:14:40 +02:00
Petr Korolev
87f95140d9 fix: remote branch parsing 2015-03-05 17:07:04 +02:00
Petr Korolev
0706f89c02 Update gemspec to version 1.3.6 2015-03-05 14:35:54 +02:00
Petr Korolev
419e7e78ad Fix: exception in case no tags in repo 2015-03-05 14:33:01 +02:00
Petr Korolev
6159ebba2f refactoring 2015-03-05 13:20:51 +02:00
Petr Korolev
c20529bf32 Update gemspec to version 1.3.5 2015-03-04 21:27:03 +02:00
Petr Korolev
26c393c2cc Fix #60. Thanks, @GeekOnCoffee! 2015-03-04 21:25:21 +02:00
Petr Korolev
f8f887093a update changelog test repo 2015-03-04 19:40:15 +02:00
Petr Korolev
63bf4a59d4 fix help message 2015-03-04 16:45:18 +02:00
Petr Korolev
8d27718648 Update gemspec to version 1.3.4 2015-03-03 19:19:52 +02:00
Petr Korolev
8f8be4740d fix #59 2015-03-03 19:19:08 +02:00
Petr Korolev
84c52dba98 Update gemspec to version 1.3.3 2015-03-03 17:59:03 +02:00
Petr Korolev
2b5c1297b1 Fix: remove date from unreleased section 2015-03-03 17:53:30 +02:00
Petr Korolev
7f68f3db13 fix #58 2015-03-03 17:33:51 +02:00
Petr Korolev
911e6a6e6f Update gemspec to version 1.3.2 2015-03-03 17:20:21 +02:00
Petr Korolev
8201de3758 fix #57 2015-03-03 17:19:58 +02:00
Petr Korolev
711241621f Update gemspec to version 1.3.1 2015-02-27 15:24:59 +02:00
Petr Korolev
54eb81bc6a Fix: replace ###headers to **bold** in sections names 2015-02-27 15:17:10 +02:00
Petr Korolev
004b37b7b9 Fix: Remove redudant spaces between sections 2015-02-27 15:05:22 +02:00
Petr Korolev
3a6670cc02 Update gemspec to version 1.3.0 2015-02-26 12:49:14 +02:00
Petr Korolev
2918d9c385 Fix #31 2015-02-26 12:48:58 +02:00
Petr Korolev
a40105b718 implement pull request parsing 2015-02-26 12:48:58 +02:00
Petr Korolev
08f61216c8 update parser 2015-02-26 12:48:58 +02:00
Petr Korolev
2edd6097bd Fix #55. 2015-02-25 13:52:41 +02:00
Petr Korolev
3a0c6a8558 fix sign 2015-02-24 18:08:50 +02:00
Petr Korolev
922fa9fc7e fix: Changelog -> Change Log 2015-02-24 16:44:52 +02:00
Petr Korolev
d16c4109dc miror fixes 2015-02-20 11:51:07 +02:00
Petr Korolev
27ab2a906c refactoring 2015-02-19 17:37:50 +02:00
Petr Korolev
dd2be24d3b format fix 2015-02-18 23:36:07 +02:00
Petr Korolev
c4f91f55ff Fix #44. 2015-02-18 23:32:40 +02:00
Petr Korolev
1dd82cddf4 cm 2015-02-18 23:28:54 +02:00
Petr Korolev
c8db84a4a5 prettify output: display tag fetching status 2015-02-18 22:29:30 +02:00
Petr Korolev
563ddb7f30 refactoring 2015-02-18 22:21:23 +02:00
Petr Korolev
1d7f09e9bb change include to exclude default rule 2015-02-18 22:11:11 +02:00
Petr Korolev
48e3a75251 implement eclude labels feature. Fix #52. 2015-02-18 22:08:10 +02:00
Petr Korolev
9b8291ab69 rename oprion 2015-02-18 22:00:27 +02:00
Petr Korolev
a90c276a9f Fix milesones support for unreleased issues. Fix #47 2015-02-18 21:43:05 +02:00
Petr Korolev
e6dc367f99 Add ability to include and exclude Unreleased by keys.
Add ability to generate only unreleased changelog
2015-02-18 20:16:10 +02:00
Petr Korolev
454bfb5a86 cm 2015-02-18 19:58:24 +02:00
Petr Korolev
07073ea02c fix: Change CHANGELOG format for date presentation. More info here: https://github.com/olivierlacan/keep-a-changelog/issues/59 and here http://en.wikipedia.org/wiki/ISO_8601 2015-02-18 18:57:10 +02:00
Petr Korolev
3e981bb741 fix: fix date format more info at: http://xkcd.com/1179/ 2015-02-18 18:34:32 +02:00
Petr Korolev
9c19ae00b1 Merge branch 'feature/add-pr-milestones' into develop 2015-02-18 01:30:39 +02:00
Petr Korolev
53ec89beb0 Merge branch 'feature/fix-37' into develop
Conflicts:
	lib/CHANGELOG.md
2015-02-18 01:29:09 +02:00
Petr Korolev
bcae804809 Add filtering of Pull Requests by milestones 2015-02-18 01:24:51 +02:00
Petr Korolev
f8a59643ca update chlg 2015-02-18 01:11:25 +02:00
Petr Korolev
e50ab5318d Update gemspec to version 1.2.8 2015-02-18 00:48:41 +02:00
Petr Korolev
9d49b1488a Finaly fixed! Thanks, @runar ! :) Fix #37. 2015-02-18 00:48:21 +02:00
Petr Korolev
3a9eca4233 add todo reminder 2015-02-18 00:48:20 +02:00
Petr Korolev
04f1173616 Make it works async and fast! 2015-02-18 00:48:20 +02:00
Petr Korolev
0eacd9acda put in actual date right closed date 2015-02-18 00:48:20 +02:00
Petr Korolev
c3884b9a55 cm 2015-02-18 00:48:20 +02:00
Petr Korolev
2cd6ba620d Async fetch events 2015-02-18 00:48:20 +02:00
Petr Korolev
c73142e169 Revert "fix #37"
This reverts commit cf4692c7b0.
2015-02-18 00:48:20 +02:00
Petr Korolev
70543e854b update changelog 2015-02-18 00:48:20 +02:00
Petr Korolev
721357d65f changelog 2015-02-18 00:48:20 +02:00
Petr Korolev
4b59f3bd65 thread saety fix 2015-02-18 00:48:20 +02:00
Petr Korolev
7d526de165 add test changelog file 2015-02-18 00:48:20 +02:00
Petr Korolev
cf0a032fb6 refactoring 2015-02-18 00:48:20 +02:00
Petr Korolev
e8e0399341 Finaly fixed! Thanks, @runar ! :) Fix #37. 2015-02-18 00:45:21 +02:00
Petr Korolev
615b38476c add todo reminder 2015-02-17 23:30:50 +02:00
Petr Korolev
a53883ba0e Make it works async and fast! 2015-02-17 23:30:50 +02:00
Petr Korolev
ca27b7c21e put in actual date right closed date 2015-02-17 23:30:50 +02:00
Petr Korolev
1607407ab4 cm 2015-02-17 23:30:50 +02:00
Petr Korolev
c1c6d835af Async fetch events 2015-02-17 23:30:50 +02:00
Petr Korolev
205bdfb39b Revert "fix #37"
This reverts commit cf4692c7b0.
2015-02-17 23:30:50 +02:00
Petr Korolev
2b603e8b26 update changelog 2015-02-17 23:30:24 +02:00
Petr Korolev
b5acd63d81 changelog 2015-02-17 22:41:04 +02:00
Petr Korolev
9525cdeba8 thread saety fix 2015-02-17 21:18:52 +02:00
Petr Korolev
a6897c6a86 add test changelog file 2015-02-17 20:49:32 +02:00
Petr Korolev
3c33893606 refactoring 2015-02-17 19:45:11 +02:00
Petr Korolev
1eee70bfe5 fixes 2015-02-13 15:28:01 +02:00
Petr Korolev
e6f12421ff Prettify output 2015-02-13 15:17:46 +02:00
Petr Korolev
f668aedafc prettify help message 2015-02-12 13:49:41 +02:00
Petr Korolev
ae92488d6d refactoring 2015-02-10 14:36:56 +02:00
Petr Korolev
cf4692c7b0 fix #37 2015-02-09 17:52:45 +02:00
Petr Korolev
69e3b17d8b Check for exception 2015-02-06 16:36:52 +02:00
Petr Korolev
f0e713d6ef Update gemspec to version 1.2.7 2015-01-26 17:00:45 +02:00
sue445
8dc50cf483 Add option: --compare-link 2015-01-26 17:00:36 +02:00
sue445
088824aa05 Refactorings
* tweak indent
* rename variable name (tag_xxx -> newer_tag_xxx)
2015-01-26 17:00:36 +02:00
sue445
96977c8384 Add compare link between older version and newer version 2015-01-26 17:00:36 +02:00
Petr Korolev
3e3cc15592 Update gemspec to version 1.2.6 2015-01-21 19:19:23 +01:00
sugamasao
c1d28d486f fix link tag format
Remove Extra Space.
2015-01-21 19:19:18 +01:00
Petr Korolev
a7a75a181e Update gemspec to version 1.2.5 2015-01-15 23:34:47 +01:00
Petr Korolev
e8d59fe66a Merge branch 'master' into develop 2015-01-15 23:27:13 +01:00
Petr Korolev
6b5cf5ab2e Merge pull request #42 from glenlovett/enterprise_github
support enterprise github via command line options
2015-01-15 23:16:54 +01:00
John Schwinghammer
5f019482d2 PrettyPrint class is included using lowercase 'pp' 2015-01-14 13:56:44 -06:00
Petr Korolev
6da115c4b0 Fix #32 2014-12-22 15:51:45 +02:00
Petr Korolev
657ce0e838 add ability to disable milestones filtering 2014-12-22 15:41:20 +02:00
Petr Korolev
5304e4faf8 fix #22 2014-12-22 15:31:49 +02:00
Petr Korolev
e6bb728355 remove issues with other milstones 2014-12-22 15:14:01 +02:00
Lovett, Glen
6bad92e899 support enterprise github via command line options 2014-12-19 16:55:42 -05:00
Petr Korolev
5b07fc9614 Update gemspec to version 1.2.4 2014-12-16 17:52:47 +02:00
Petr Korolev
3437fbf278 fx 2014-12-16 17:43:24 +02:00
Petr Korolev
46ae40f250 Update gemspec to version 1.2.3 2014-12-16 17:25:11 +02:00
Petr Korolev
00f98b8ca6 fix #30 2014-12-15 17:02:38 +02:00
Petr Korolev
5da838efee Merge branch 'feature/rails-crash' into develop 2014-12-15 17:02:11 +02:00
Petr Korolev
73b789ab82 fix 2014-12-15 16:23:30 +02:00
Petr Korolev
e29ff3c3a9 fix crash when user in NULL 2014-12-15 15:54:11 +02:00
Petr Korolev
a44b0bdd25 fix pagination issue + verboose. back to 30 per-pages 2014-12-15 15:53:02 +02:00
Petr Korolev
433d46d85b fx 2014-12-15 15:34:20 +02:00
Petr Korolev
87c6e33335 add verboose for issues 2014-12-15 15:24:46 +02:00
Petr Korolev
c697c6be4a Increase per-page number of request + improve verbose mode (related with #33) 2014-12-15 15:19:56 +02:00
Petr Korolev
69dd5eadc2 implement async fetching tags 2014-12-15 14:15:39 +02:00
Petr Korolev
4ea1058cd5 fix #33 2014-12-12 16:55:26 +02:00
Petr Korolev
fcd78e6bc4 add parsing feature, fix #38 2014-12-11 18:11:08 +02:00
Petr Korolev
c3373b2343 Update gemspec to version 1.2.2 2014-12-10 12:18:56 +02:00
Petr Korolev
9aa156a02b improve script 2014-12-10 12:18:45 +02:00
Petr Korolev
68a8d8d2c8 fix trimming for issues 2014-12-10 12:18:45 +02:00
Petr Korolev
057fb488d5 create class and implement encapsulation. This fix #34 2014-12-10 12:18:45 +02:00
Petr Korolev
f1d9c839c7 optimize script 2014-12-10 12:18:44 +02:00
Petr Korolev
bc13632545 add rake to gemfile 2014-12-03 11:09:11 +02:00
Petr Korolev
5295389fcc update 2014-11-24 21:38:06 +02:00
Petr Korolev
8e5b4ed191 update 2014-11-24 21:37:10 +02:00
Petr Korolev
80cc3fc625 update parser 2014-11-24 21:33:03 +02:00
Petr Korolev
bec4fdef0e Update gemspec to version 1.2.1 2014-11-22 22:56:23 +02:00
Petr Korolev
e1e5de555b Issues for last tag not in list 2014-11-19 17:28:49 +02:00