git-scripts 0.1.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 (77) hide show
  1. data/COPYING +21 -0
  2. data/README.md +124 -0
  3. data/Rakefile +35 -0
  4. data/bash_completion.sh +33 -0
  5. data/bin/feature +191 -0
  6. data/bin/hotfix +142 -0
  7. data/lib/git.rb +170 -0
  8. data/lib/github.rb +190 -0
  9. data/lib/helpers.rb +137 -0
  10. data/man/feature-clean.1 +28 -0
  11. data/man/feature-clean.1.html +115 -0
  12. data/man/feature-clean.1.markdown +53 -0
  13. data/man/feature-clean.1.ronn +26 -0
  14. data/man/feature-finish.1 +19 -0
  15. data/man/feature-finish.1.html +107 -0
  16. data/man/feature-finish.1.markdown +47 -0
  17. data/man/feature-finish.1.ronn +21 -0
  18. data/man/feature-github-test.1 +19 -0
  19. data/man/feature-github-test.1.html +105 -0
  20. data/man/feature-github-test.1.markdown +45 -0
  21. data/man/feature-github-test.1.ronn +19 -0
  22. data/man/feature-list.1 +19 -0
  23. data/man/feature-list.1.html +106 -0
  24. data/man/feature-list.1.markdown +46 -0
  25. data/man/feature-list.1.ronn +20 -0
  26. data/man/feature-merge.1 +22 -0
  27. data/man/feature-merge.1.html +110 -0
  28. data/man/feature-merge.1.markdown +50 -0
  29. data/man/feature-merge.1.ronn +24 -0
  30. data/man/feature-start.1 +19 -0
  31. data/man/feature-start.1.html +105 -0
  32. data/man/feature-start.1.markdown +45 -0
  33. data/man/feature-start.1.ronn +19 -0
  34. data/man/feature-stashes.1 +28 -0
  35. data/man/feature-stashes.1.html +117 -0
  36. data/man/feature-stashes.1.markdown +55 -0
  37. data/man/feature-stashes.1.ronn +28 -0
  38. data/man/feature-status.1 +22 -0
  39. data/man/feature-status.1.html +108 -0
  40. data/man/feature-status.1.markdown +48 -0
  41. data/man/feature-status.1.ronn +22 -0
  42. data/man/feature-switch.1 +25 -0
  43. data/man/feature-switch.1.html +113 -0
  44. data/man/feature-switch.1.markdown +51 -0
  45. data/man/feature-switch.1.ronn +24 -0
  46. data/man/feature.1 +61 -0
  47. data/man/feature.1.html +123 -0
  48. data/man/feature.1.markdown +70 -0
  49. data/man/feature.1.ronn +43 -0
  50. data/man/feature.html +140 -0
  51. data/man/hotfix-finish.1 +19 -0
  52. data/man/hotfix-finish.1.html +107 -0
  53. data/man/hotfix-finish.1.markdown +47 -0
  54. data/man/hotfix-finish.1.ronn +21 -0
  55. data/man/hotfix-list.1 +19 -0
  56. data/man/hotfix-list.1.html +106 -0
  57. data/man/hotfix-list.1.markdown +46 -0
  58. data/man/hotfix-list.1.ronn +20 -0
  59. data/man/hotfix-merge.1 +22 -0
  60. data/man/hotfix-merge.1.html +110 -0
  61. data/man/hotfix-merge.1.markdown +50 -0
  62. data/man/hotfix-merge.1.ronn +24 -0
  63. data/man/hotfix-start.1 +19 -0
  64. data/man/hotfix-start.1.html +105 -0
  65. data/man/hotfix-start.1.markdown +45 -0
  66. data/man/hotfix-start.1.ronn +19 -0
  67. data/man/hotfix-switch.1 +19 -0
  68. data/man/hotfix-switch.1.html +105 -0
  69. data/man/hotfix-switch.1.markdown +45 -0
  70. data/man/hotfix-switch.1.ronn +19 -0
  71. data/man/hotfix.1 +41 -0
  72. data/man/hotfix.1.html +118 -0
  73. data/man/hotfix.1.markdown +60 -0
  74. data/man/hotfix.1.ronn +33 -0
  75. data/man/index.html +7 -0
  76. data/man/index.txt +21 -0
  77. metadata +177 -0
data/man/hotfix.1.html ADDED
@@ -0,0 +1,118 @@
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>hotfix(1) - Perform actions on a git hotfix branch.</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="#COMMANDS">COMMANDS</a>
66
+ <a href="#COPYRIGHT">COPYRIGHT</a>
67
+ <a href="#SEE-ALSO">SEE ALSO</a>
68
+ </div>
69
+
70
+ <ol class='man-decor man-head man head'>
71
+ <li class='tl'>hotfix(1)</li>
72
+ <li class='tc'></li>
73
+ <li class='tr'>hotfix(1)</li>
74
+ </ol>
75
+
76
+ <h2 id="NAME">NAME</h2>
77
+ <p class="man-name">
78
+ <code>hotfix</code> - <span class="man-whatis">Perform actions on a git hotfix branch.</span>
79
+ </p>
80
+
81
+ <h2 id="SYNOPSIS">SYNOPSIS</h2>
82
+
83
+ <p><code>hotfix</code> <var>command</var> [<var>args</var>]</p>
84
+
85
+ <h2 id="DESCRIPTION">DESCRIPTION</h2>
86
+
87
+ <p><strong>hotfix</strong> is a helper script for a modified git-flow model, in which it and
88
+ <code>feature</code> are the primary actors.</p>
89
+
90
+ <h2 id="COMMANDS">COMMANDS</h2>
91
+
92
+ <dl>
93
+ <dt> <a class="man-ref" href="hotfix-list.1.html">hotfix-list<span class="s">(1)</span></a></dt><dd> List the current branch and any available hotfix branches.</dd>
94
+ <dt> <a class="man-ref" href="hotfix-start.1.html">hotfix-start<span class="s">(1)</span></a></dt><dd> Start a new hotfix branch.</dd>
95
+ <dt> <a class="man-ref" href="hotfix-switch.1.html">hotfix-switch<span class="s">(1)</span></a></dt><dd> Switch to another hotfix branch.</dd>
96
+ <dt> <a class="man-ref" href="hotfix-finish.1.html">hotfix-finish<span class="s">(1)</span></a></dt><dd> Finish this hotfix branch (push and open a pull request).</dd>
97
+ <dt> <a class="man-ref" href="hotfix-merge.1.html">hotfix-merge<span class="s">(1)</span></a></dt><dd> Merge a hotfix branch into stable and the development branch.</dd>
98
+ </dl>
99
+
100
+
101
+ <h2 id="COPYRIGHT">COPYRIGHT</h2>
102
+
103
+ <p>Copyright (c) 2012-2013 iFixit.</p>
104
+
105
+ <h2 id="SEE-ALSO">SEE ALSO</h2>
106
+
107
+ <p><a class="man-ref" href="feature.1.html">feature<span class="s">(1)</span></a>, <a class="man-ref" href="https://www.kernel.org/pub/software/scm/git/docs/">git<span class="s">(1)</span></a></p>
108
+
109
+
110
+ <ol class='man-decor man-foot man foot'>
111
+ <li class='tl'>iFixit</li>
112
+ <li class='tc'>February 2013</li>
113
+ <li class='tr'>hotfix(1)</li>
114
+ </ol>
115
+
116
+ </div>
117
+ </body>
118
+ </html>
@@ -0,0 +1,60 @@
1
+ hotfix(1) - Perform actions on a git hotfix branch.
2
+ ===================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `hotfix` <var>command</var> [<var>args</var>]
7
+
8
+ ## DESCRIPTION
9
+
10
+ **hotfix** is a helper script for a modified git-flow model, in which it and
11
+ `feature` are the primary actors.
12
+
13
+ ## COMMANDS
14
+
15
+ * hotfix-list(1):
16
+ List the current branch and any available hotfix branches.
17
+ * hotfix-start(1):
18
+ Start a new hotfix branch.
19
+ * hotfix-switch(1):
20
+ Switch to another hotfix branch.
21
+ * hotfix-finish(1):
22
+ Finish this hotfix branch (push and open a pull request).
23
+ * hotfix-merge(1):
24
+ Merge a hotfix branch into stable and the development branch.
25
+
26
+ ## COPYRIGHT
27
+
28
+ Copyright (c) 2012-2013 iFixit.
29
+
30
+ ## SEE ALSO
31
+
32
+ feature(1), git(1)
33
+
34
+
35
+
36
+ [SYNOPSIS]: #SYNOPSIS "SYNOPSIS"
37
+ [DESCRIPTION]: #DESCRIPTION "DESCRIPTION"
38
+ [COMMANDS]: #COMMANDS "COMMANDS"
39
+ [COPYRIGHT]: #COPYRIGHT "COPYRIGHT"
40
+ [SEE ALSO]: #SEE-ALSO "SEE ALSO"
41
+
42
+
43
+ [feature(1)]: feature.1.html
44
+ [feature-list(1)]: feature-list.1.html
45
+ [feature-start(1)]: feature-start.1.html
46
+ [feature-switch(1)]: feature-switch.1.html
47
+ [feature-finish(1)]: feature-finish.1.html
48
+ [feature-merge(1)]: feature-merge.1.html
49
+ [feature-pull(1)]: feature-pull.1.html
50
+ [feature-status(1)]: feature-status.1.html
51
+ [feature-stashes(1)]: feature-stashes.1.html
52
+ [feature-clean(1)]: feature-clean.1.html
53
+ [feature-github-test(1)]: feature-github-test.1.html
54
+ [hotfix(1)]: hotfix.1.html
55
+ [hotfix-list(1)]: hotfix-list.1.html
56
+ [hotfix-start(1)]: hotfix-start.1.html
57
+ [hotfix-switch(1)]: hotfix-switch.1.html
58
+ [hotfix-finish(1)]: hotfix-finish.1.html
59
+ [hotfix-merge(1)]: hotfix-merge.1.html
60
+ [git(1)]: https://www.kernel.org/pub/software/scm/git/docs/
data/man/hotfix.1.ronn ADDED
@@ -0,0 +1,33 @@
1
+ hotfix(1) - Perform actions on a git hotfix branch.
2
+ ===================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `hotfix` <command> [<args>]
7
+
8
+ ## DESCRIPTION
9
+
10
+ **hotfix** is a helper script for a modified git-flow model, in which it and
11
+ `feature` are the primary actors.
12
+
13
+ ## COMMANDS
14
+
15
+ * hotfix-list(1):
16
+ List the current branch and any available hotfix branches.
17
+ * hotfix-start(1):
18
+ Start a new hotfix branch.
19
+ * hotfix-switch(1):
20
+ Switch to another hotfix branch.
21
+ * hotfix-finish(1):
22
+ Finish this hotfix branch (push and open a pull request).
23
+ * hotfix-merge(1):
24
+ Merge a hotfix branch into stable and the development branch.
25
+
26
+ ## COPYRIGHT
27
+
28
+ Copyright (c) 2012-2013 iFixit.
29
+
30
+ ## SEE ALSO
31
+
32
+ feature(1), git(1)
33
+
data/man/index.html ADDED
@@ -0,0 +1,7 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv='refresh' content='0;feature.1.html'>
5
+ </head>
6
+ </html>
7
+
data/man/index.txt ADDED
@@ -0,0 +1,21 @@
1
+ feature(1) feature.1.ronn
2
+ feature-list(1) feature-list.1.ronn
3
+ feature-start(1) feature-start.1.ronn
4
+ feature-switch(1) feature-switch.1.ronn
5
+ feature-finish(1) feature-finish.1.ronn
6
+ feature-merge(1) feature-merge.1.ronn
7
+ feature-pull(1) feature-pull.1.ronn
8
+ feature-status(1) feature-status.1.ronn
9
+ feature-stashes(1) feature-stashes.1.ronn
10
+ feature-clean(1) feature-clean.1.ronn
11
+ feature-github-test(1) feature-github-test.1.ronn
12
+
13
+ hotfix(1) hotfix.1.ronn
14
+ hotfix-list(1) hotfix-list.1.ronn
15
+ hotfix-start(1) hotfix-start.1.ronn
16
+ hotfix-switch(1) hotfix-switch.1.ronn
17
+ hotfix-finish(1) hotfix-finish.1.ronn
18
+ hotfix-merge(1) hotfix-merge.1.ronn
19
+
20
+ git(1) https://www.kernel.org/pub/software/scm/git/docs/
21
+
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: git-scripts
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Daniel Beardsley
9
+ - James Pearson
10
+ - Tim Asp
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2013-02-22 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: bundler
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: '0'
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: '0'
32
+ - !ruby/object:Gem::Dependency
33
+ name: octokit
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ~>
38
+ - !ruby/object:Gem::Version
39
+ version: 1.22.0
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 1.22.0
48
+ - !ruby/object:Gem::Dependency
49
+ name: highline
50
+ requirement: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: '0'
64
+ description: User scripts for managing feature branches and hotfixes.
65
+ email:
66
+ - daniel@ifixit.com
67
+ - james@ifixit.com
68
+ - tim@ifixit.com
69
+ executables:
70
+ - feature
71
+ - hotfix
72
+ extensions: []
73
+ extra_rdoc_files:
74
+ - COPYING
75
+ - README.md
76
+ files:
77
+ - COPYING
78
+ - Rakefile
79
+ - README.md
80
+ - bash_completion.sh
81
+ - bin/hotfix
82
+ - bin/feature
83
+ - lib/git.rb
84
+ - lib/helpers.rb
85
+ - lib/github.rb
86
+ - man/hotfix-switch.1.html
87
+ - man/hotfix-start.1.html
88
+ - man/feature-status.1.html
89
+ - man/feature-stashes.1.html
90
+ - man/hotfix-merge.1.ronn
91
+ - man/feature-github-test.1
92
+ - man/hotfix-switch.1.ronn
93
+ - man/feature.1.html
94
+ - man/feature-stashes.1.ronn
95
+ - man/feature-clean.1.html
96
+ - man/hotfix.1
97
+ - man/hotfix-switch.1
98
+ - man/feature-stashes.1
99
+ - man/feature-start.1.markdown
100
+ - man/feature-start.1.html
101
+ - man/hotfix.1.html
102
+ - man/feature-list.1.markdown
103
+ - man/hotfix-finish.1.markdown
104
+ - man/hotfix-merge.1.html
105
+ - man/feature-stashes.1.markdown
106
+ - man/feature-merge.1.html
107
+ - man/feature-switch.1.html
108
+ - man/hotfix-start.1
109
+ - man/index.html
110
+ - man/feature-list.1.html
111
+ - man/hotfix-list.1.markdown
112
+ - man/feature-github-test.1.ronn
113
+ - man/feature.1.ronn
114
+ - man/feature.1.markdown
115
+ - man/feature-switch.1.markdown
116
+ - man/hotfix.1.markdown
117
+ - man/hotfix-merge.1.markdown
118
+ - man/hotfix.1.ronn
119
+ - man/feature-github-test.1.html
120
+ - man/hotfix-finish.1.ronn
121
+ - man/feature-merge.1.markdown
122
+ - man/feature-start.1.ronn
123
+ - man/hotfix-finish.1.html
124
+ - man/hotfix-merge.1
125
+ - man/index.txt
126
+ - man/feature-merge.1.ronn
127
+ - man/feature-list.1
128
+ - man/feature-finish.1
129
+ - man/feature.1
130
+ - man/hotfix-list.1.ronn
131
+ - man/feature-clean.1.ronn
132
+ - man/feature-clean.1.markdown
133
+ - man/feature-merge.1
134
+ - man/hotfix-finish.1
135
+ - man/feature-status.1.ronn
136
+ - man/feature-start.1
137
+ - man/hotfix-list.1.html
138
+ - man/feature-list.1.ronn
139
+ - man/feature.html
140
+ - man/feature-finish.1.ronn
141
+ - man/feature-status.1
142
+ - man/feature-finish.1.html
143
+ - man/hotfix-switch.1.markdown
144
+ - man/feature-status.1.markdown
145
+ - man/feature-clean.1
146
+ - man/feature-github-test.1.markdown
147
+ - man/hotfix-list.1
148
+ - man/feature-switch.1.ronn
149
+ - man/feature-switch.1
150
+ - man/hotfix-start.1.markdown
151
+ - man/hotfix-start.1.ronn
152
+ - man/feature-finish.1.markdown
153
+ homepage: http://ifixit.github.com/git-scripts/
154
+ licenses: []
155
+ post_install_message:
156
+ rdoc_options: []
157
+ require_paths:
158
+ - lib
159
+ required_ruby_version: !ruby/object:Gem::Requirement
160
+ none: false
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
166
+ none: false
167
+ requirements:
168
+ - - ! '>='
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ requirements: []
172
+ rubyforge_project:
173
+ rubygems_version: 1.8.23
174
+ signing_key:
175
+ specification_version: 3
176
+ summary: User scripts for managing feature branches and hotfixes.
177
+ test_files: []