gitcycle 0.1.21 → 0.1.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +11 -3
  2. data/gitcycle.gemspec +1 -1
  3. data/lib/gitcycle.rb +2 -2
  4. metadata +3 -3
data/README.md CHANGED
@@ -13,7 +13,7 @@ Create Branch
13
13
 
14
14
  Checkout the branch that you will eventually merge your feature into:
15
15
 
16
- git checkout master
16
+ gitc checkout master
17
17
 
18
18
  Type `gitc` + your ticket URL to create a new branch:
19
19
 
@@ -106,7 +106,7 @@ If you associate the wrong branch with a ticket, use `gitc reset` to fix it.
106
106
 
107
107
  Checkout the branch that you will eventually merge your feature into:
108
108
 
109
- git checkout master
109
+ gitc checkout master
110
110
 
111
111
  Type `gitc reset` + your ticket URL to reset the branch:
112
112
 
@@ -122,4 +122,12 @@ Todo
122
122
  * Note you can use gitc with a string
123
123
  * gitc qa pass, should not set ticket to pending-approval if its already resolved
124
124
  * If gitc reset happens on branch with Github issue, close the existing issue
125
- * Tag issue with milestone
125
+ * Add comment on lighthouse with issue URL
126
+ * Instead of detecting CONFLICT, use error status $? != 0
127
+ * Label issues with ticket milestone?
128
+ * gitc LH-ticket should not created a redis record right away, what happens if someone control-c
129
+ * gitc -h or gitc help
130
+ * gitc discuss should tag issue with 'Discuss'
131
+ * gitc qa pass # since we're changing this to pass all the tickets, we need to loop through all the merged issues and update the lighthouse state to pending-qa
132
+ * gitc pull doesnt work in rc: https://gist.github.com/7e508977fbb762d186a6
133
+ * Tag issue with milestone
@@ -6,7 +6,7 @@ $:.unshift lib unless $:.include?(lib)
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "gitcycle"
9
- s.version = '0.1.21'
9
+ s.version = '0.1.22'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ 'Winton Welsh' ]
12
12
  s.email = [ 'mail@wintoni.us' ]
@@ -43,9 +43,9 @@ class Gitcycle
43
43
  puts "\nRetrieving repo information from gitcycle.\n".green
44
44
  repo = get('repo')
45
45
 
46
- add_remote_and_fetch(:owner => repo['owner'], :repo => repo['name'])
47
-
48
46
  unless branches(:match => branch)
47
+ add_remote_and_fetch(:owner => repo['owner'], :repo => repo['name'])
48
+
49
49
  puts "Creating branch '#{branch}' from '#{repo['owner']}/#{branch}'.\n".green
50
50
  run("git branch --no-track #{branch} #{repo['owner']}/#{branch}")
51
51
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitcycle
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 21
10
- version: 0.1.21
9
+ - 22
10
+ version: 0.1.22
11
11
  platform: ruby
12
12
  authors:
13
13
  - Winton Welsh