gitcycle 0.2.10 → 0.2.11

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 +10 -1
  2. data/gitcycle.gemspec +1 -1
  3. data/lib/gitcycle.rb +4 -3
  4. metadata +4 -4
data/README.md CHANGED
@@ -163,5 +163,14 @@ Todo
163
163
  * Instead of detecting CONFLICT, use error status $? != 0
164
164
  * Label issues with ticket milestone
165
165
  * 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
166
+ * gitc pull doesnt work in rc: https://gist.github.com/7e508977fbb762d186a6
167
+ * Tag issue with milestone
168
+ * There's still a Tagging Issue I tried to fix parseLabel http://d.pr/8eOS , Pass should remove Pending *, but remove the Branch Name. Also, when I gitc reviewed failed [issue number] it marks it pending-qa and failed.. not correct. I'll take a look at this over the weekend -Tung
169
+ * gitc discuss should tag issue with 'Discuss'
170
+ * gitc ready - possibly do syntax checks
171
+ * gitc commands should not track branches, so that they have to use the gitc push vs using git push
172
+ $ gitc st - shortcut
173
+ * issues aren't assigned to people
166
174
  * There's still a Tagging Issue I tried to fix parseLabel http://d.pr/8eOS , Pass should remove Pending, but remove the Branch Name
167
- * gitc ready - possibly do syntax checks
175
+ * gitc ready - possibly do syntax checks
176
+ * gitc branch should check if a branch already exists and warn user for ticket
data/gitcycle.gemspec CHANGED
@@ -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.2.10'
9
+ s.version = '0.2.11'
10
10
  s.platform = Gem::Platform::RUBY
11
11
  s.authors = [ 'Winton Welsh' ]
12
12
  s.email = [ 'mail@wintoni.us' ]
data/lib/gitcycle.rb CHANGED
@@ -175,7 +175,7 @@ class Gitcycle
175
175
  id = branch["lighthouse_url"].match(/tickets\/(\d+)/)[1] rescue nil
176
176
 
177
177
  if branch && id
178
- msg = "[#{id}]"
178
+ msg = "[##{id}]"
179
179
  msg += " #{branch["title"]}" if branch["title"]
180
180
  end
181
181
  end
@@ -281,8 +281,9 @@ class Gitcycle
281
281
  branch = pull
282
282
  remote = branch && branch['collab'] == '1' ? branch['home'] : 'origin'
283
283
 
284
- puts "\nPushing branch '#{remote}/#{branch['name']}'.\n".green
285
- run("git push #{remote} #{branch['name']}")
284
+ branch = branches(:current => true)
285
+ puts "\nPushing branch '#{remote}/#{branch}'.\n".green
286
+ run("git push #{remote} #{branch}")
286
287
  end
287
288
 
288
289
  def qa(*issues)
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 10
10
- version: 0.2.10
9
+ - 11
10
+ version: 0.2.11
11
11
  platform: ruby
12
12
  authors:
13
13
  - Winton Welsh
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-02-06 00:00:00 -08:00
18
+ date: 2012-02-07 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency