beaker 1.19.0 → 1.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/HISTORY.md +57 -2
- data/lib/beaker/junit.xsl +2 -1
- data/lib/beaker/ssh_connection.rb +12 -6
- data/lib/beaker/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MThkNzc4YjBmNjI1YmM1NzBiM2JlNzI0MThmMDZkY2VkNzRhOThjNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
OTk3Yzk0MWZkMDRiMDY2YzAwYzY4MWRhZDM1MzkxNmNmYjdkM2E1YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWYwMDY2ZDViZGYwZGRjN2JmYjE0Y2ZhZWQyOTRjMzI2NzE0MTU5NTFhOGEz
|
10
|
+
ZWM4MjRmN2I0MzkyZjIyY2RiNjZiYjY3MmQ4NGNlZDc4ODExZjJkODQyYWM1
|
11
|
+
MDkxZmIxOGIyYmIwNzZhZjg2MjlmYzg3ODNiOWViMTMwNjk3M2U=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjRhYzdiY2QxNmJkYmIyOTQ4NWE5NzQ3NjVhYzljOWYwMjFkNTgzOTZjMjU3
|
14
|
+
MmNlZjY3MTIwYmM5MjRkMzIyNDM0MjAwMjg4NjdiNzBjMDgwODg5OTA1NTQ2
|
15
|
+
MWIzMzIyODg5ZTZlNWRmMzcxNTMxNjgwNjkwNWQ0NjllYTgyMjQ=
|
data/HISTORY.md
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# beaker - History
|
2
2
|
## Tags
|
3
|
-
* [LATEST -
|
3
|
+
* [LATEST - 19 Sep, 2014 (47f147e3)](#LATEST)
|
4
|
+
* [beaker1.19.0 - 19 Sep, 2014 (6a56cc90)](#beaker1.19.0)
|
4
5
|
* [beaker1.18.0 - 18 Sep, 2014 (b9171d9c)](#beaker1.18.0)
|
5
6
|
* [beaker1.17.7 - 2 Sep, 2014 (e47881f0)](#beaker1.17.7)
|
6
7
|
* [beaker1.17.6 - 27 Aug, 2014 (bfb257bf)](#beaker1.17.6)
|
@@ -61,7 +62,61 @@
|
|
61
62
|
* [pe1.2 - 6 Sep, 2011 (ba3dadd2)](#pe1.2)
|
62
63
|
|
63
64
|
## Details
|
64
|
-
### <a name = "LATEST">LATEST -
|
65
|
+
### <a name = "LATEST">LATEST - 19 Sep, 2014 (47f147e3)
|
66
|
+
|
67
|
+
* (HISTORY) history update for beaker 1.19.1 gem (47f147e3)
|
68
|
+
|
69
|
+
* (GEM) version bump for 1.19.1 gem (7538dc00)
|
70
|
+
|
71
|
+
* Merge pull request #465 from anodelman/junit (38fca3f5)
|
72
|
+
|
73
|
+
|
74
|
+
```
|
75
|
+
Merge pull request #465 from anodelman/junit
|
76
|
+
|
77
|
+
(MAINT) update junit.xsl to handle more weird test case paths
|
78
|
+
```
|
79
|
+
* Merge pull request #466 from branan/QENG-1264 (c77157d5)
|
80
|
+
|
81
|
+
|
82
|
+
```
|
83
|
+
Merge pull request #466 from branan/QENG-1264
|
84
|
+
|
85
|
+
(QENG-1264) Allow users to specify recursive option for scp_{from,to}
|
86
|
+
```
|
87
|
+
* (QENG-1264) Allow users to specify recursive option for scp_{from,to} (cc1b2189)
|
88
|
+
|
89
|
+
|
90
|
+
```
|
91
|
+
(QENG-1264) Allow users to specify recursive option for scp_{from,to}
|
92
|
+
|
93
|
+
The fix for QENG-1128 caused scp_from and scp_to to ignore the
|
94
|
+
recursive flag. This caused all scp_from operations to be recursive,
|
95
|
+
which will cause a failure if trying to copy only a single file.
|
96
|
+
|
97
|
+
The fix to this, without regressing on QENG-1128, is to actually copy
|
98
|
+
the options hash locally so that we can modify it as needed for
|
99
|
+
defaults without updating any global data.
|
100
|
+
```
|
101
|
+
* (MAINT) update junit.xsl to handle more weird test case paths (c940f116)
|
102
|
+
|
103
|
+
|
104
|
+
```
|
105
|
+
(MAINT) update junit.xsl to handle more weird test case paths
|
106
|
+
|
107
|
+
- paths with (, ), \s, or / are breaking links, this fixes that
|
108
|
+
```
|
109
|
+
### <a name = "beaker1.19.0">beaker1.19.0 - 19 Sep, 2014 (6a56cc90)
|
110
|
+
|
111
|
+
* Merge pull request #463 from anodelman/make-gem (6a56cc90)
|
112
|
+
|
113
|
+
|
114
|
+
```
|
115
|
+
Merge pull request #463 from anodelman/make-gem
|
116
|
+
|
117
|
+
create beaker 1.19.0 gem
|
118
|
+
```
|
119
|
+
* (HISTORY) update history for beaker 1.19.0 gem (b00c31c1)
|
65
120
|
|
66
121
|
* (GEM) version bump for beaker 1.19.0 gem (b4e69b83)
|
67
122
|
|
data/lib/beaker/junit.xsl
CHANGED
@@ -170,7 +170,8 @@
|
|
170
170
|
<xsl:variable name="testcase_classname"><xsl:value-of select="@classname"/></xsl:variable>
|
171
171
|
<xsl:variable name="testcase_fullpath"><xsl:value-of select="concat($testcase_classname, '/', $testcase_name)"/></xsl:variable>
|
172
172
|
<xsl:variable name="testcase_time"><xsl:value-of select="@time"/></xsl:variable>
|
173
|
-
|
173
|
+
<xsl:variable name="testcase_link" select="translate($testcase_fullpath, '/\() .', '______')" />
|
174
|
+
|
174
175
|
<xsl:variable name="testcase_panel_type">
|
175
176
|
<xsl:choose>
|
176
177
|
<xsl:when test="failure or error">danger</xsl:when>
|
@@ -166,12 +166,15 @@ module Beaker
|
|
166
166
|
def scp_to source, target, options = {}, dry_run = false
|
167
167
|
return if dry_run
|
168
168
|
|
169
|
-
|
170
|
-
|
169
|
+
local_opts = options.dup
|
170
|
+
if local_opts[:recursive].nil?
|
171
|
+
local_opts[:recursive] = File.directory?(source)
|
172
|
+
end
|
173
|
+
local_opts[:chunk_size] ||= 16384
|
171
174
|
|
172
175
|
result = Result.new(@hostname, [source, target])
|
173
176
|
result.stdout = "\n"
|
174
|
-
@ssh.scp.upload! source, target,
|
177
|
+
@ssh.scp.upload! source, target, local_opts do |ch, name, sent, total|
|
175
178
|
result.stdout << "\tcopying %s: %10d/%d\n" % [name, sent, total]
|
176
179
|
end
|
177
180
|
|
@@ -188,12 +191,15 @@ module Beaker
|
|
188
191
|
def scp_from source, target, options = {}, dry_run = false
|
189
192
|
return if dry_run
|
190
193
|
|
191
|
-
|
192
|
-
|
194
|
+
local_opts = options.dup
|
195
|
+
if local_opts[:recursive].nil?
|
196
|
+
local_opts[:recursive] = true
|
197
|
+
end
|
198
|
+
local_opts[:chunk_size] ||= 16384
|
193
199
|
|
194
200
|
result = Result.new(@hostname, [source, target])
|
195
201
|
result.stdout = "\n"
|
196
|
-
@ssh.scp.download! source, target,
|
202
|
+
@ssh.scp.download! source, target, local_opts do |ch, name, sent, total|
|
197
203
|
result.stdout << "\tcopying %s: %10d/%d\n" % [name, sent, total]
|
198
204
|
end
|
199
205
|
|
data/lib/beaker/version.rb
CHANGED