bellows 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,7 @@
1
- * Thu Dec 3 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.5
1
+ * Sun Dec 4 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.6
2
+ - Truncate revisions for job git hashes.
3
+
4
+ * Sat Dec 3 2011 Dan Prince <dan.prince@rackspace.com> - 1.0.5
2
5
  - Add 'fire' task to run jobs for reviews without results.
3
6
  - Add --quiet option to all tasks.
4
7
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.5
1
+ 1.0.6
@@ -9,7 +9,7 @@ module Bellows
9
9
 
10
10
  def self.reviews(project, status="open", branch="master")
11
11
  reviews = []
12
- out=Gerrit.run_cmd(%{query "status: #{status}" --current-patch-set --format JSON})
12
+ out=Gerrit.run_cmd(%{query status:#{status} project:openstack/#{project} branch:#{branch} limit:500 --current-patch-set --format JSON})
13
13
  out.each_line do |line|
14
14
  data = JSON.parse(line)
15
15
  if data['project'] and data['project'] == "openstack/#{project}" and data['branch'] and data['branch'] == branch
@@ -6,7 +6,7 @@ module Bellows
6
6
  class SmokeStack
7
7
 
8
8
  def self.jobs()
9
- JSON.parse(Bellows::HTTP.get("/jobs.json?limit=10000"))
9
+ JSON.parse(Bellows::HTTP.get("/jobs.json?limit=99999"))
10
10
  end
11
11
 
12
12
  def self.smoke_tests(project)
data/lib/bellows/tasks.rb CHANGED
@@ -79,7 +79,7 @@ module Bellows
79
79
  if data
80
80
  revision = data["#{project}_revision"]
81
81
  if revision and not revision.empty?
82
- jobs.add(revision)
82
+ jobs.add(revision[0,7])
83
83
  end
84
84
  end
85
85
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bellows
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 5
10
- version: 1.0.5
9
+ - 6
10
+ version: 1.0.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Dan Prince
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-12-03 00:00:00 -05:00
18
+ date: 2011-12-04 00:00:00 -05:00
19
19
  default_executable: bellows
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency