vclog 1.9.1 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. checksums.yaml +7 -0
  2. data/{HISTORY.rdoc → History.md} +74 -13
  3. data/License.txt +23 -0
  4. data/{README.rdoc → README.md} +46 -45
  5. data/bin/vclog-news +6 -0
  6. data/lib/vclog/adapters/abstract.rb +3 -8
  7. data/lib/vclog/adapters/git.rb +71 -133
  8. data/lib/vclog/adapters/svn.rb +1 -1
  9. data/lib/vclog/change.rb +8 -8
  10. data/lib/vclog/change_point.rb +0 -1
  11. data/lib/vclog/cli/abstract.rb +2 -2
  12. data/lib/vclog/cli/news.rb +29 -0
  13. data/lib/vclog/config.rb +149 -0
  14. data/lib/vclog/core_ext.rb +14 -101
  15. data/lib/vclog/heuristics.rb +37 -5
  16. data/lib/vclog/history_file.rb +15 -3
  17. data/lib/vclog/metadata.rb +1 -16
  18. data/lib/vclog/repo.rb +27 -55
  19. data/lib/vclog/report.rb +38 -20
  20. data/lib/vclog/tag.rb +19 -6
  21. data/lib/vclog/version.rb +3 -0
  22. data/man/man1/index.txt +1 -0
  23. data/man/man1/vclog-autotag.1.ronn +1 -1
  24. data/man/man1/vclog-bump.1.ronn +1 -1
  25. data/man/man1/vclog-news.1.ronn +25 -0
  26. data/man/man1/vclog-version.1.ronn +1 -1
  27. metadata +109 -108
  28. data/.ruby +0 -61
  29. data/COPYING.rdoc +0 -32
  30. data/features/git.feature +0 -86
  31. data/features/hg.feature +0 -86
  32. data/features/step_definitions/history_steps.rb +0 -29
  33. data/features/step_definitions/repo_steps.rb +0 -72
  34. data/features/support/ae.rb +0 -1
  35. data/features/support/aruba.rb +0 -5
  36. data/features/support/loadpath.rb +0 -2
  37. data/features/support/repo.rb +0 -19
  38. data/features/svn.feature +0 -86
  39. data/lib/vclog.yml +0 -61
  40. data/man/man1/vclog-autotag.1 +0 -29
  41. data/man/man1/vclog-autotag.1.html +0 -117
  42. data/man/man1/vclog-bump.1 +0 -23
  43. data/man/man1/vclog-bump.1.html +0 -111
  44. data/man/man1/vclog-version.1 +0 -16
  45. data/man/man1/vclog-version.1.html +0 -100
  46. data/man/man1/vclog.1 +0 -51
  47. data/man/man1/vclog.1.html +0 -131
  48. data/test/unit/case_metadata.rb +0 -11
  49. data/test/unit/helper.rb +0 -4
data/man/man1/vclog.1 DELETED
@@ -1,51 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "VCLOG" "1" "December 2011" "RubyWorks" "VCLog"
5
- .
6
- .SH "NAME"
7
- \fBvclog\fR \- version control logs
8
- .
9
- .SH "SYNOPSIS"
10
- \fBvclog [options]\fR
11
- .
12
- .SH "DESCRIPTION"
13
- VCLog is a versitle cross\-VCS/SCM changelog and release history generator\. It currently supports Git, Hg and (limited) Subversion\.
14
- .
15
- .SH "OPTIONS"
16
- Note that not all formats support all options, and some formats use them in variant manners\.
17
- .
18
- .IP "\(bu" 4
19
- \fB\-f\fR, \fB\-\-format <FORMAT>\fR Output format (ansi, rdoc, html, etc\.)
20
- .
21
- .IP "\(bu" 4
22
- \fB\-\-style <URI>\fR Provide a stylesheet URI, either css or xsl, for HTML or XML formats\.
23
- .
24
- .IP "\(bu" 4
25
- \fB\-d\fR, \fB\-\-detail\fR Include commit message details\.
26
- .
27
- .IP "\(bu" 4
28
- \fB\-p\fR, \fB\-\-point\fR Divide commit messages into commit points\.
29
- .
30
- .IP "\(bu" 4
31
- \fB\-v\fR, \fB\-\-version <VERSION>\fR Use as current version number\.
32
- .
33
- .IP "\(bu" 4
34
- \fB\-t\fR, \fB\-\-title TITLE\fR Document title (for format that supports it)\.
35
- .
36
- .IP "\(bu" 4
37
- \fB\-s\fR, `\-\-summary Omit change points\. (Applies only to release history report\.)
38
- .
39
- .IP "\(bu" 4
40
- \fBi\fR, \fB\-\-id\fR Include revision/reference ids\. (Does not apply to xml/html formats\.)
41
- .
42
- .IP "\(bu" 4
43
- \fB\-l\fR, \fB\-\-level <NUMBER>\fR Lowest level of commit to display, default is \fB0\fR\.
44
- .
45
- .IP "" 0
46
- .
47
- .P
48
- Both changelog and release history can be produced in a variety of formats\.
49
- .
50
- .SH "SEE ALSO"
51
- vclog\-version(1), vclog\-bump(1), vclog\-autotag(1)
@@ -1,131 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta http-equiv='content-type' value='text/html;charset=utf8'>
5
- <meta name='generator' value='Ronn/v0.7.3 (http://github.com/rtomayko/ronn/tree/0.7.3)'>
6
- <title>vclog(1) - version control logs</title>
7
- <style type='text/css' media='all'>
8
- /* style: man */
9
- body#manpage {margin:0}
10
- .mp {max-width:100ex;padding:0 9ex 1ex 4ex}
11
- .mp p,.mp pre,.mp ul,.mp ol,.mp dl {margin:0 0 20px 0}
12
- .mp h2 {margin:10px 0 0 0}
13
- .mp > p,.mp > pre,.mp > ul,.mp > ol,.mp > dl {margin-left:8ex}
14
- .mp h3 {margin:0 0 0 4ex}
15
- .mp dt {margin:0;clear:left}
16
- .mp dt.flush {float:left;width:8ex}
17
- .mp dd {margin:0 0 0 9ex}
18
- .mp h1,.mp h2,.mp h3,.mp h4 {clear:left}
19
- .mp pre {margin-bottom:20px}
20
- .mp pre+h2,.mp pre+h3 {margin-top:22px}
21
- .mp h2+pre,.mp h3+pre {margin-top:5px}
22
- .mp img {display:block;margin:auto}
23
- .mp h1.man-title {display:none}
24
- .mp,.mp code,.mp pre,.mp tt,.mp kbd,.mp samp,.mp h3,.mp h4 {font-family:monospace;font-size:14px;line-height:1.42857142857143}
25
- .mp h2 {font-size:16px;line-height:1.25}
26
- .mp h1 {font-size:20px;line-height:2}
27
- .mp {text-align:justify;background:#fff}
28
- .mp,.mp code,.mp pre,.mp pre code,.mp tt,.mp kbd,.mp samp {color:#131211}
29
- .mp h1,.mp h2,.mp h3,.mp h4 {color:#030201}
30
- .mp u {text-decoration:underline}
31
- .mp code,.mp strong,.mp b {font-weight:bold;color:#131211}
32
- .mp em,.mp var {font-style:italic;color:#232221;text-decoration:none}
33
- .mp a,.mp a:link,.mp a:hover,.mp a code,.mp a pre,.mp a tt,.mp a kbd,.mp a samp {color:#0000ff}
34
- .mp b.man-ref {font-weight:normal;color:#434241}
35
- .mp pre {padding:0 4ex}
36
- .mp pre code {font-weight:normal;color:#434241}
37
- .mp h2+pre,h3+pre {padding-left:0}
38
- ol.man-decor,ol.man-decor li {margin:3px 0 10px 0;padding:0;float:left;width:33%;list-style-type:none;text-transform:uppercase;color:#999;letter-spacing:1px}
39
- ol.man-decor {width:100%}
40
- ol.man-decor li.tl {text-align:left}
41
- ol.man-decor li.tc {text-align:center;letter-spacing:4px}
42
- ol.man-decor li.tr {text-align:right;float:right}
43
- </style>
44
- <style type='text/css' media='all'>
45
- /* style: toc */
46
- .man-navigation {display:block !important;position:fixed;top:0;left:113ex;height:100%;width:100%;padding:48px 0 0 0;border-left:1px solid #dbdbdb;background:#eee}
47
- .man-navigation a,.man-navigation a:hover,.man-navigation a:link,.man-navigation a:visited {display:block;margin:0;padding:5px 2px 5px 30px;color:#999;text-decoration:none}
48
- .man-navigation a:hover {color:#111;text-decoration:underline}
49
- </style>
50
- </head>
51
- <!--
52
- The following styles are deprecated and will be removed at some point:
53
- div#man, div#man ol.man, div#man ol.head, div#man ol.man.
54
-
55
- The .man-page, .man-decor, .man-head, .man-foot, .man-title, and
56
- .man-navigation should be used instead.
57
- -->
58
- <body id='manpage'>
59
- <div class='mp' id='man'>
60
-
61
- <div class='man-navigation' style='display:none'>
62
- <a href="#NAME">NAME</a>
63
- <a href="#SYNOPSIS">SYNOPSIS</a>
64
- <a href="#DESCRIPTION">DESCRIPTION</a>
65
- <a href="#OPTIONS">OPTIONS</a>
66
- <a href="#SEE-ALSO">SEE ALSO</a>
67
- </div>
68
-
69
- <ol class='man-decor man-head man head'>
70
- <li class='tl'>vclog(1)</li>
71
- <li class='tc'>VCLog</li>
72
- <li class='tr'>vclog(1)</li>
73
- </ol>
74
-
75
- <h2 id="NAME">NAME</h2>
76
- <p class="man-name">
77
- <code>vclog</code> - <span class="man-whatis">version control logs</span>
78
- </p>
79
-
80
- <h2 id="SYNOPSIS">SYNOPSIS</h2>
81
-
82
- <p><code>vclog [options]</code></p>
83
-
84
- <h2 id="DESCRIPTION">DESCRIPTION</h2>
85
-
86
- <p>VCLog is a versitle cross-VCS/SCM changelog and release history generator.
87
- It currently supports Git, Hg and (limited) Subversion.</p>
88
-
89
- <h2 id="OPTIONS">OPTIONS</h2>
90
-
91
- <p>Note that not all formats support all options, and some formats use them
92
- in variant manners.</p>
93
-
94
- <ul>
95
- <li><p><code>-f</code>, <code>--format &lt;FORMAT></code>
96
- Output format (ansi, rdoc, html, etc.)</p></li>
97
- <li><p><code>--style &lt;URI></code>
98
- Provide a stylesheet URI, either css or xsl, for HTML or XML formats.</p></li>
99
- <li><p><code>-d</code>, <code>--detail</code>
100
- Include commit message details.</p></li>
101
- <li><p><code>-p</code>, <code>--point</code>
102
- Divide commit messages into commit points.</p></li>
103
- <li><p><code>-v</code>, <code>--version &lt;VERSION></code>
104
- Use as current version number.</p></li>
105
- <li><p><code>-t</code>, <code>--title TITLE</code>
106
- Document title (for format that supports it).</p></li>
107
- <li><p><code>-s</code>, `--summary
108
- Omit change points. (Applies only to release history report.)</p></li>
109
- <li><p><code>i</code>, <code>--id</code>
110
- Include revision/reference ids. (Does not apply to xml/html formats.)</p></li>
111
- <li><p><code>-l</code>, <code>--level &lt;NUMBER></code>
112
- Lowest level of commit to display, default is <code>0</code>.</p></li>
113
- </ul>
114
-
115
-
116
- <p>Both changelog and release history can be produced in a variety of formats.</p>
117
-
118
- <h2 id="SEE-ALSO">SEE ALSO</h2>
119
-
120
- <p><a href="vclog-version.1.html" class="man-ref">vclog-version<span class="s">(1)</span></a>, <a href="vclog-bump.1.html" class="man-ref">vclog-bump<span class="s">(1)</span></a>, <a href="vclog-autotag.1.html" class="man-ref">vclog-autotag<span class="s">(1)</span></a></p>
121
-
122
-
123
- <ol class='man-decor man-foot man foot'>
124
- <li class='tl'>RubyWorks</li>
125
- <li class='tc'>December 2011</li>
126
- <li class='tr'>vclog(1)</li>
127
- </ol>
128
-
129
- </div>
130
- </body>
131
- </html>
@@ -1,11 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/helper')
2
- require 'vclog/metadata'
3
-
4
- testcase "VCLog" do
5
-
6
- test "VERSION is set" do
7
- ::VCLog::VERSION.assert == File.read('var/version').strip
8
- end
9
-
10
- end
11
-
data/test/unit/helper.rb DELETED
@@ -1,4 +0,0 @@
1
- $:.unshift File.expand_path(File.dirname(__FILE__) + '/../../lib')
2
-
3
- require 'citron'
4
- require 'ae'