vclog 1.8.2 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. data/.ruby +4 -3
  2. data/.yardopts +7 -0
  3. data/HISTORY.rdoc +207 -0
  4. data/README.rdoc +44 -27
  5. data/bin/vclog +4 -2
  6. data/bin/vclog-autotag +6 -0
  7. data/bin/vclog-bump +6 -0
  8. data/bin/vclog-formats +6 -0
  9. data/bin/vclog-version +6 -0
  10. data/lib/vclog.rb +1 -1
  11. data/lib/vclog.yml +58 -0
  12. data/lib/vclog/adapters.rb +2 -1
  13. data/lib/vclog/adapters/abstract.rb +87 -232
  14. data/lib/vclog/adapters/darcs.rb +72 -67
  15. data/lib/vclog/adapters/git.rb +166 -140
  16. data/lib/vclog/adapters/hg.rb +98 -62
  17. data/lib/vclog/adapters/svn.rb +116 -113
  18. data/lib/vclog/change.rb +110 -81
  19. data/lib/vclog/change_point.rb +77 -0
  20. data/lib/vclog/changelog.rb +58 -296
  21. data/lib/vclog/cli.rb +6 -70
  22. data/lib/vclog/cli/abstract.rb +64 -81
  23. data/lib/vclog/cli/autotag.rb +1 -3
  24. data/lib/vclog/cli/bump.rb +3 -4
  25. data/lib/vclog/cli/formats.rb +4 -4
  26. data/lib/vclog/cli/log.rb +86 -0
  27. data/lib/vclog/cli/version.rb +3 -3
  28. data/lib/vclog/{facets.rb → core_ext.rb} +0 -0
  29. data/lib/vclog/heuristics.rb +112 -38
  30. data/lib/vclog/heuristics/rule.rb +52 -12
  31. data/lib/vclog/heuristics/{label.rb → type.rb} +2 -2
  32. data/lib/vclog/history_file.rb +2 -2
  33. data/lib/vclog/metadata.rb +13 -1
  34. data/lib/vclog/release.rb +26 -12
  35. data/lib/vclog/repo.rb +191 -27
  36. data/lib/vclog/report.rb +187 -0
  37. data/lib/vclog/tag.rb +66 -39
  38. data/lib/vclog/templates/changelog.ansi.rb +9 -26
  39. data/lib/vclog/templates/changelog.atom.erb +3 -3
  40. data/lib/vclog/templates/changelog.gnu.rb +4 -11
  41. data/lib/vclog/templates/changelog.html.erb +11 -2
  42. data/lib/vclog/templates/changelog.markdown.rb +4 -4
  43. data/lib/vclog/templates/changelog.rdoc.rb +4 -4
  44. data/lib/vclog/templates/changelog.rss.erb +2 -6
  45. data/lib/vclog/templates/changelog.xml.erb +14 -2
  46. data/lib/vclog/templates/history.ansi.rb +10 -17
  47. data/lib/vclog/templates/history.atom.erb +4 -4
  48. data/lib/vclog/templates/history.gnu.rb +5 -7
  49. data/lib/vclog/templates/history.html.erb +11 -4
  50. data/lib/vclog/templates/history.json.rb +1 -1
  51. data/lib/vclog/templates/history.markdown.rb +5 -7
  52. data/lib/vclog/templates/history.rdoc.rb +5 -9
  53. data/lib/vclog/templates/history.rss.erb +3 -5
  54. data/lib/vclog/templates/history.xml.erb +15 -3
  55. data/lib/vclog/templates/history.yaml.rb +1 -1
  56. data/man/man1/vclog-autotag.1 +1 -1
  57. data/man/man1/vclog-autotag.1.html +1 -1
  58. data/man/man1/vclog-bump.1 +1 -1
  59. data/man/man1/vclog-bump.1.html +1 -1
  60. data/man/man1/vclog-version.1 +1 -1
  61. data/man/man1/vclog-version.1.html +1 -1
  62. data/man/man1/vclog.1 +25 -13
  63. data/man/man1/vclog.1.html +29 -20
  64. data/man/man1/vclog.1.ronn +31 -18
  65. data/test/unit/case_metadata.rb +1 -1
  66. metadata +48 -34
  67. data/lib/vclog/cli/changelog.rb +0 -33
  68. data/lib/vclog/cli/help.rb +0 -42
  69. data/lib/vclog/cli/history.rb +0 -39
  70. data/lib/vclog/formatter.rb +0 -123
  71. data/lib/vclog/history.rb +0 -131
  72. data/lib/vclog/kernel.rb +0 -12
  73. data/man/man1/vclog-changelog.1 +0 -47
  74. data/man/man1/vclog-changelog.1.html +0 -123
  75. data/man/man1/vclog-changelog.1.ronn +0 -39
  76. data/man/man1/vclog-history.1 +0 -44
  77. data/man/man1/vclog-history.1.html +0 -122
  78. data/man/man1/vclog-history.1.ronn +0 -38
@@ -1,39 +0,0 @@
1
- vclog-changelog(1) - change log
2
- ===============================
3
-
4
- ## SYNOPSIS
5
-
6
- `vclog`<br>
7
- `vclog log`<br>
8
- `vclog changelog`
9
-
10
- ## DESCRIPTION
11
-
12
- Produce a Change Log.
13
-
14
- ## OPTIONS
15
-
16
- * `--version`, `-v <VERSION>`
17
- Set current version number.
18
-
19
- * `-f`, `--format <FORMAT>`
20
- Output format.
21
-
22
- * `--style <URI>`
23
- Provide a stylesheet URI (css or xsl) for HTML or XML format.
24
-
25
- * `-t`, `--title TITLE`
26
- Document title.
27
-
28
- * `-s`, `--summarize`
29
- Produce summary output.
30
-
31
- * `--id`
32
- Include revision id in output.
33
-
34
- * `-l`, `--level <NUMBER>`
35
- Lowest level of commit to display [0].
36
-
37
- ## SEE ALSO
38
-
39
- vclog(1), vclog-history(1)
@@ -1,44 +0,0 @@
1
- .\" generated with Ronn/v0.7.3
2
- .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
- .
4
- .TH "VCLOG\-HISTORY" "1" "November 2010" "RubyWorks" "VCLog"
5
- .
6
- .SH "NAME"
7
- \fBvclog\-history\fR \- release history
8
- .
9
- .SH "SYNOPSIS"
10
- \fBvclog history\fR
11
- .
12
- .br
13
- \fBvclog release\fR
14
- .
15
- .SH "DESCRIPTION"
16
- Produce a Release History\.
17
- .
18
- .SH "OPTIONS"
19
- .
20
- .IP "\(bu" 4
21
- \fB\-\-version\fR, \fB\-v <VERSION>\fR Set current version number\.
22
- .
23
- .IP "\(bu" 4
24
- \fB\-f\fR, \fB\-\-format <FORMAT>\fR Output format\.
25
- .
26
- .IP "\(bu" 4
27
- \fB\-\-style <URI>\fR Provide a stylesheet URI (css or xsl) for HTML or XML format\.
28
- .
29
- .IP "\(bu" 4
30
- \fB\-t\fR, \fB\-\-title TITLE\fR Document title\.
31
- .
32
- .IP "\(bu" 4
33
- \fB\-s\fR, \fB\-\-summarize\fR Produce summary output\.
34
- .
35
- .IP "\(bu" 4
36
- \fB\-\-id\fR Include revision id in output\.
37
- .
38
- .IP "\(bu" 4
39
- \fB\-l\fR, \fB\-\-level <NUMBER>\fR Lowest level of commit to display [0]\.
40
- .
41
- .IP "" 0
42
- .
43
- .SH "SEE ALSO"
44
- vclog(1)
@@ -1,122 +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-history(1) - release history</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-history(1)</li>
71
- <li class='tc'>VCLog</li>
72
- <li class='tr'>vclog-history(1)</li>
73
- </ol>
74
-
75
- <h2 id="NAME">NAME</h2>
76
- <p class="man-name">
77
- <code>vclog-history</code> - <span class="man-whatis">release history</span>
78
- </p>
79
-
80
- <h2 id="SYNOPSIS">SYNOPSIS</h2>
81
-
82
- <p><code>vclog history</code><br />
83
- <code>vclog release</code></p>
84
-
85
- <h2 id="DESCRIPTION">DESCRIPTION</h2>
86
-
87
- <p>Produce a Release History.</p>
88
-
89
- <h2 id="OPTIONS">OPTIONS</h2>
90
-
91
- <ul>
92
- <li><p><code>--version</code>, <code>-v &lt;VERSION></code>
93
- Set current version number.</p></li>
94
- <li><p><code>-f</code>, <code>--format &lt;FORMAT></code>
95
- Output format.</p></li>
96
- <li><p><code>--style &lt;URI></code>
97
- Provide a stylesheet URI (css or xsl) for HTML or XML format.</p></li>
98
- <li><p><code>-t</code>, <code>--title TITLE</code>
99
- Document title.</p></li>
100
- <li><p><code>-s</code>, <code>--summarize</code>
101
- Produce summary output.</p></li>
102
- <li><p><code>--id</code>
103
- Include revision id in output.</p></li>
104
- <li><p><code>-l</code>, <code>--level &lt;NUMBER></code>
105
- Lowest level of commit to display [0].</p></li>
106
- </ul>
107
-
108
-
109
- <h2 id="SEE-ALSO">SEE ALSO</h2>
110
-
111
- <p><a href="vclog.1.html" class="man-ref">vclog<span class="s">(1)</span></a></p>
112
-
113
-
114
- <ol class='man-decor man-foot man foot'>
115
- <li class='tl'>RubyWorks</li>
116
- <li class='tc'>November 2010</li>
117
- <li class='tr'>vclog-history(1)</li>
118
- </ol>
119
-
120
- </div>
121
- </body>
122
- </html>
@@ -1,38 +0,0 @@
1
- vclog-history(1) - release history
2
- ==================================
3
-
4
- ## SYNOPSIS
5
-
6
- `vclog history`<br>
7
- `vclog release`
8
-
9
- ## DESCRIPTION
10
-
11
- Produce a Release History.
12
-
13
- ## OPTIONS
14
-
15
- * `--version`, `-v <VERSION>`
16
- Set current version number.
17
-
18
- * `-f`, `--format <FORMAT>`
19
- Output format.
20
-
21
- * `--style <URI>`
22
- Provide a stylesheet URI (css or xsl) for HTML or XML format.
23
-
24
- * `-t`, `--title TITLE`
25
- Document title.
26
-
27
- * `-s`, `--summarize`
28
- Produce summary output.
29
-
30
- * `--id`
31
- Include revision id in output.
32
-
33
- * `-l`, `--level <NUMBER>`
34
- Lowest level of commit to display [0].
35
-
36
- ## SEE ALSO
37
-
38
- vclog(1)