machinery-tool 1.22.2 → 1.22.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da0041ff3a8d3c178063228340914aca550a308f
4
- data.tar.gz: e333966071f57a102961d8de5eb57f47d0cea5a2
3
+ metadata.gz: 8d3f6c6668aefa87446acc0ce32f5694dc2e755a
4
+ data.tar.gz: 2a8330f8f88b91bac779a080acedf75daf91d02d
5
5
  SHA512:
6
- metadata.gz: 99fa10a1ff34c692d35638a5aaef0b411456e3f183ee822b4d803a1366b65ad7cc52b1be636e6df78ce4914bfbca17201efa7954f09efe0ab1f13dfbcff1a846
7
- data.tar.gz: f612d4f45396600d41b6b579077bd85bce57768386b109a2bf549f25c8818e9ec48c8d8138ac1dec35ecfd31027464e4179ac0319129d7e74c43e622c674680f
6
+ metadata.gz: 19b0ad8a868e31642130993bf9c963a3160ea64522c20849e1f27463fe84433437bbef90ba2c4a25f9f2137bb3d3641824ff7419b803f62071ad7a945576e608
7
+ data.tar.gz: a5dbec003c6e43e81874eb17869ce112c4a25bfac40b0f45c51c05e610c500418b3c5bf7d452ac682a3abb4076c21acae5e0b7dab44b4f0ed5e9bd7c39ea6885
@@ -1 +1 @@
1
- 5544d3469a45c0bf15d3263bc1bbbd32afb7f274
1
+ 167aca702b5ff5775557ae8df47026e67035f8e7
data/NEWS CHANGED
@@ -1,6 +1,15 @@
1
1
  # Machinery Release Notes
2
2
 
3
3
 
4
+ ## Version 1.22.3 - Tue Jun 20 10:56:18 CEST 2017 - thardeck@suse.de
5
+
6
+ * Gracefully handle incorrect filter pathes in the experimental filtering function
7
+ (gh#SUSE/machinery#2189)
8
+ * Error handling for disrupted ssh connection while inspecting
9
+ (gh#SUSE/machinery#2090)
10
+ * Fix resetting of scroll bar after clicking on button "inspection details"
11
+ (gh#SUSE/machinery#1901)
12
+
4
13
  ## Version 1.22.2 - Wed Nov 16 16:44:00 CET 2016 - thardeck@suse.de
5
14
 
6
15
  * Prevent machinery-helper from crashing when files are inaccessible during
@@ -23,7 +23,7 @@ begin
23
23
  if Dir.exist?(File.join(Machinery::ROOT, ".git"))
24
24
  begin
25
25
  Dir.chdir(File.join(Machinery::ROOT, "machinery-helper")) do
26
- Cheetah.run("rake", "build")
26
+ Cheetah.run("rake", "build", stdout: STDOUT, stderr: STDERR)
27
27
  end
28
28
  rescue
29
29
  STDERR.puts(
@@ -75,7 +75,7 @@
75
75
  :class => nav_class(scope) }
76
76
  %span= scope_initials(scope)
77
77
  .col-xs-2
78
- %a.btn.btn-default.inspection_details{ :href => "#", "data-toggle" => "popover" }
78
+ %a.btn.btn-default.inspection_details{ "data-toggle" => "popover" }
79
79
  inspection details
80
80
  .col-xs-2
81
81
  %small.pull-right
@@ -170,7 +170,9 @@ module Machinery
170
170
  class BinaryDiffError < MachineryError; end
171
171
 
172
172
  class SshConnectionFailed < MachineryError; end
173
+ class SshConnectionDisrupted < MachineryError; end
173
174
  class RsyncFailed < MachineryError; end
175
+ class WrongFilterPath < MachineryError; end
174
176
  class OpenInBrowserFailed < MachineryError; end
175
177
  class ZypperFailed < MachineryError; end
176
178
  class UnknownConfig < MachineryError; end
@@ -151,7 +151,13 @@ module Machinery
151
151
  container = nil
152
152
  steps.each do |step|
153
153
  break unless pointer
154
- pointer = pointer[step]
154
+ begin
155
+ pointer = pointer[step]
156
+ rescue TypeError
157
+ raise Machinery::Errors::WrongFilterPath.new(
158
+ "Error: Check if the path: '#{path}' is correct."
159
+ )
160
+ end
155
161
  container ||= pointer if pointer.is_a?(Machinery::Array)
156
162
  end
157
163
 
@@ -94,7 +94,16 @@ class Machinery::RemoteSystem < Machinery::System
94
94
  "LogLevel=ERROR", sudo, "LANGUAGE=", "LC_ALL=#{locale}", *piped_args, options
95
95
  ].compact.flatten
96
96
 
97
- cheetah_class.run(*cmds)
97
+ begin
98
+ cheetah_class.run(*cmds)
99
+ rescue Cheetah::ExecutionFailed => e
100
+ ssh_error_regex = /Connection refused|Connection reset by peer|Broken pipe|Network is unreachable/
101
+ if e.stderr && e.stderr =~ ssh_error_regex
102
+ raise Machinery::Errors::SshConnectionDisrupted.new("\nSSH ERROR: #{e.stderr}")
103
+ else
104
+ raise
105
+ end
106
+ end
98
107
  end
99
108
 
100
109
  # Retrieves files specified in filelist from the remote system and raises an
@@ -17,6 +17,6 @@
17
17
 
18
18
  module Machinery
19
19
 
20
- VERSION = "1.22.2"
20
+ VERSION = "1.22.3"
21
21
 
22
22
  end
@@ -2,4 +2,4 @@
2
2
 
3
3
  package main
4
4
 
5
- const VERSION = "5544d3469a45c0bf15d3263bc1bbbd32afb7f274"
5
+ const VERSION = "167aca702b5ff5775557ae8df47026e67035f8e7"
Binary file
@@ -1,58 +1,13 @@
1
1
  <metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install">
2
2
 
3
- <!-- openSUSE 13.1 -->
4
- <group distversion="openSUSE 13.1">
5
- <repositories>
6
- <repository recommended="true">
7
- <name>systemsmanagement:machinery</name>
8
- <summary>Machinery systems management toolkit</summary>
9
- <description>Machinery is a systems management toolkit for Linux. It supports configuration
10
- discovery, system validation, and service migration. It's based on the idea of a
11
- universal system description.</description>
12
- <url>http://download.opensuse.org/repositories/systemsmanagement:/machinery/openSUSE_13.1/</url>
13
- </repository>
14
- <repository recommended="true">
15
- <name>devel:languages:ruby:backports</name>
16
- <summary>Helper project for devel:languages:ruby:extensions - providing fixed rpm and macros</summary>
17
- <description>This project aims to provide the latest version of the ruby macros</description>
18
- <url>http://download.opensuse.org/repositories/devel:/languages:/ruby:/backports/openSUSE_13.1/</url>
19
- </repository>
20
- <repository recommended="false">
21
- <name>openSUSE:13.1</name>
22
- <summary>Official 13.1 openSUSE distribution</summary>
23
- <description>This project builds the official 13.1 openSUSE distribution.
24
-
25
- Have a look at http://en.opensuse.org/Portal:13.1 for more details.</description>
26
- <url>http://download.opensuse.org/distribution/13.1/repo/oss/</url>
27
- </repository>
28
- </repositories>
29
- <software>
30
- <item>
31
- <name>machinery</name>
32
- <summary>Systems management toolkit</summary>
33
- <description>Machinery is a systems management toolkit for Linux. It supports configuration
34
- discovery, system validation, and service migration. It's based on the idea of a
35
- universal system description.</description>
36
- </item>
37
- </software>
38
- </group>
39
-
40
- <!-- openSUSE 13.2 -->
41
- <group distversion="openSUSE 13.2">
3
+ <!-- openSUSE Leap 42.1 -->
4
+ <group distversion="openSUSE Leap 42.1">
42
5
  <repositories>
43
- <repository recommended="true">
44
- <name>systemsmanagement:machinery</name>
45
- <summary>Machinery systems management toolkit</summary>
46
- <description>Machinery is a systems management toolkit for Linux. It supports configuration
47
- discovery, system validation, and service migration. It's based on the idea of a
48
- universal system description.</description>
49
- <url>http://download.opensuse.org/repositories/systemsmanagement:/machinery/openSUSE_13.2/</url>
50
- </repository>
51
6
  <repository recommended="false">
52
- <name>openSUSE:13.2</name>
53
- <summary>Test setup for 13.2</summary>
54
- <description>This is really just a snapshot of Factory, but we need it to adapt the tools to later test and accept requests to it.</description>
55
- <url>http://download.opensuse.org/distribution/13.2/repo/oss/</url>
7
+ <name>openSUSE Leap 42.1</name>
8
+ <summary>Test setup for openSUSE Leap 42.1</summary>
9
+ <description></description>
10
+ <url>http://download.opensuse.org/distribution/leap/42.1/repo/oss/</url>
56
11
  </repository>
57
12
  </repositories>
58
13
  <software>
@@ -66,14 +21,14 @@ universal system description.</description>
66
21
  </software>
67
22
  </group>
68
23
 
69
- <!-- openSUSE Leap -->
70
- <group distversion="openSUSE Leap 42.1">
24
+ <!-- openSUSE Leap 42.2 -->
25
+ <group distversion="openSUSE Leap 42.2">
71
26
  <repositories>
72
27
  <repository recommended="false">
73
- <name>openSUSE Leap 42.1</name>
74
- <summary>Test setup for openSUSE Leap 42.1</summary>
28
+ <name>openSUSE Leap 42.2</name>
29
+ <summary>Test setup for openSUSE Leap 42.2</summary>
75
30
  <description></description>
76
- <url>http://download.opensuse.org/distribution/leap/42.1/repo/oss/</url>
31
+ <url>http://download.opensuse.org/distribution/leap/42.2/repo/oss/</url>
77
32
  </repository>
78
33
  </repositories>
79
34
  <software>
@@ -1,58 +1,13 @@
1
1
  <metapackage xmlns:os="http://opensuse.org/Standards/One_Click_Install" xmlns="http://opensuse.org/Standards/One_Click_Install">
2
2
 
3
- <!-- openSUSE 13.1 -->
4
- <group distversion="openSUSE 13.1">
5
- <repositories>
6
- <repository recommended="true">
7
- <name>systemsmanagement:machinery</name>
8
- <summary>Machinery systems management toolkit</summary>
9
- <description>Machinery is a systems management toolkit for Linux. It supports configuration
10
- discovery, system validation, and service migration. It's based on the idea of a
11
- universal system description.</description>
12
- <url>http://download.opensuse.org/repositories/systemsmanagement:/machinery/openSUSE_13.1/</url>
13
- </repository>
14
- <repository recommended="true">
15
- <name>devel:languages:ruby:backports</name>
16
- <summary>Helper project for devel:languages:ruby:extensions - providing fixed rpm and macros</summary>
17
- <description>This project aims to provide the latest version of the ruby macros</description>
18
- <url>http://download.opensuse.org/repositories/devel:/languages:/ruby:/backports/openSUSE_13.1/</url>
19
- </repository>
20
- <repository recommended="false">
21
- <name>openSUSE:13.1</name>
22
- <summary>Official 13.1 openSUSE distribution</summary>
23
- <description>This project builds the official 13.1 openSUSE distribution.
24
-
25
- Have a look at http://en.opensuse.org/Portal:13.1 for more details.</description>
26
- <url>http://download.opensuse.org/distribution/13.1/repo/oss/</url>
27
- </repository>
28
- </repositories>
29
- <software>
30
- <item>
31
- <name>machinery</name>
32
- <summary>Systems management toolkit</summary>
33
- <description>Machinery is a systems management toolkit for Linux. It supports configuration
34
- discovery, system validation, and service migration. It's based on the idea of a
35
- universal system description.</description>
36
- </item>
37
- </software>
38
- </group>
39
-
40
- <!-- openSUSE 13.2 -->
41
- <group distversion="openSUSE 13.2">
3
+ <!-- openSUSE Leap 42.1 -->
4
+ <group distversion="openSUSE Leap 42.1">
42
5
  <repositories>
43
- <repository recommended="true">
44
- <name>systemsmanagement:machinery</name>
45
- <summary>Machinery systems management toolkit</summary>
46
- <description>Machinery is a systems management toolkit for Linux. It supports configuration
47
- discovery, system validation, and service migration. It's based on the idea of a
48
- universal system description.</description>
49
- <url>http://download.opensuse.org/repositories/systemsmanagement:/machinery/openSUSE_13.2/</url>
50
- </repository>
51
6
  <repository recommended="false">
52
- <name>openSUSE:13.2</name>
53
- <summary>Test setup for 13.2</summary>
54
- <description>This is really just a snapshot of Factory, but we need it to adapt the tools to later test and accept requests to it.</description>
55
- <url>http://download.opensuse.org/distribution/13.2/repo/oss/</url>
7
+ <name>openSUSE Leap 42.1</name>
8
+ <summary>Test setup for openSUSE Leap 42.1</summary>
9
+ <description></description>
10
+ <url>http://download.opensuse.org/distribution/leap/42.1/repo/oss/</url>
56
11
  </repository>
57
12
  </repositories>
58
13
  <software>
@@ -66,14 +21,14 @@ universal system description.</description>
66
21
  </software>
67
22
  </group>
68
23
 
69
- <!-- openSUSE Leap -->
70
- <group distversion="openSUSE Leap 42.1">
24
+ <!-- openSUSE Leap 42.2 -->
25
+ <group distversion="openSUSE Leap 42.2">
71
26
  <repositories>
72
27
  <repository recommended="false">
73
- <name>openSUSE Leap 42.1</name>
74
- <summary>Test setup for openSUSE Leap 42.1</summary>
28
+ <name>openSUSE Leap 42.2</name>
29
+ <summary>Test setup for openSUSE Leap 42.2</summary>
75
30
  <description></description>
76
- <url>http://download.opensuse.org/distribution/leap/42.1/repo/oss/</url>
31
+ <url>http://download.opensuse.org/distribution/leap/42.2/repo/oss/</url>
77
32
  </repository>
78
33
  </repositories>
79
34
  <software>
@@ -0,0 +1,7 @@
1
+ /**
2
+ * lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 0.7.0
3
+ * Copyright (C) 2016 Oliver Nightingale
4
+ * MIT Licensed
5
+ * @license
6
+ */
7
+ !function(){var t=function(e){var n=new t.Index;return n.pipeline.add(t.trimmer,t.stopWordFilter,t.stemmer),e&&e.call(n,n),n};t.version="0.7.0",t.utils={},t.utils.warn=function(t){return function(e){t.console&&console.warn&&console.warn(e)}}(this),t.utils.asString=function(t){return void 0===t||null===t?"":t.toString()},t.EventEmitter=function(){this.events={}},t.EventEmitter.prototype.addListener=function(){var t=Array.prototype.slice.call(arguments),e=t.pop(),n=t;if("function"!=typeof e)throw new TypeError("last argument must be a function");n.forEach(function(t){this.hasHandler(t)||(this.events[t]=[]),this.events[t].push(e)},this)},t.EventEmitter.prototype.removeListener=function(t,e){if(this.hasHandler(t)){var n=this.events[t].indexOf(e);this.events[t].splice(n,1),this.events[t].length||delete this.events[t]}},t.EventEmitter.prototype.emit=function(t){if(this.hasHandler(t)){var e=Array.prototype.slice.call(arguments,1);this.events[t].forEach(function(t){t.apply(void 0,e)})}},t.EventEmitter.prototype.hasHandler=function(t){return t in this.events},t.tokenizer=function(e){return arguments.length&&null!=e&&void 0!=e?Array.isArray(e)?e.map(function(e){return t.utils.asString(e).toLowerCase()}):e.toString().trim().toLowerCase().split(t.tokenizer.seperator):[]},t.tokenizer.seperator=/[\s\-]+/,t.tokenizer.load=function(t){var e=this.registeredFunctions[t];if(!e)throw new Error("Cannot load un-registered function: "+t);return e},t.tokenizer.label="default",t.tokenizer.registeredFunctions={"default":t.tokenizer},t.tokenizer.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing tokenizer: "+n),e.label=n,this.registeredFunctions[n]=e},t.Pipeline=function(){this._stack=[]},t.Pipeline.registeredFunctions={},t.Pipeline.registerFunction=function(e,n){n in this.registeredFunctions&&t.utils.warn("Overwriting existing registered function: "+n),e.label=n,t.Pipeline.registeredFunctions[e.label]=e},t.Pipeline.warnIfFunctionNotRegistered=function(e){var n=e.label&&e.label in this.registeredFunctions;n||t.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},t.Pipeline.load=function(e){var n=new t.Pipeline;return e.forEach(function(e){var i=t.Pipeline.registeredFunctions[e];if(!i)throw new Error("Cannot load un-registered function: "+e);n.add(i)}),n},t.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach(function(e){t.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)},this)},t.Pipeline.prototype.after=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");i+=1,this._stack.splice(i,0,n)},t.Pipeline.prototype.before=function(e,n){t.Pipeline.warnIfFunctionNotRegistered(n);var i=this._stack.indexOf(e);if(-1==i)throw new Error("Cannot find existingFn");this._stack.splice(i,0,n)},t.Pipeline.prototype.remove=function(t){var e=this._stack.indexOf(t);-1!=e&&this._stack.splice(e,1)},t.Pipeline.prototype.run=function(t){for(var e=[],n=t.length,i=this._stack.length,r=0;n>r;r++){for(var o=t[r],s=0;i>s&&(o=this._stack[s](o,r,t),void 0!==o&&""!==o);s++);void 0!==o&&""!==o&&e.push(o)}return e},t.Pipeline.prototype.reset=function(){this._stack=[]},t.Pipeline.prototype.toJSON=function(){return this._stack.map(function(e){return t.Pipeline.warnIfFunctionNotRegistered(e),e.label})},t.Vector=function(){this._magnitude=null,this.list=void 0,this.length=0},t.Vector.Node=function(t,e,n){this.idx=t,this.val=e,this.next=n},t.Vector.prototype.insert=function(e,n){this._magnitude=void 0;var i=this.list;if(!i)return this.list=new t.Vector.Node(e,n,i),this.length++;if(e<i.idx)return this.list=new t.Vector.Node(e,n,i),this.length++;for(var r=i,o=i.next;void 0!=o;){if(e<o.idx)return r.next=new t.Vector.Node(e,n,o),this.length++;r=o,o=o.next}return r.next=new t.Vector.Node(e,n,o),this.length++},t.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var t,e=this.list,n=0;e;)t=e.val,n+=t*t,e=e.next;return this._magnitude=Math.sqrt(n)},t.Vector.prototype.dot=function(t){for(var e=this.list,n=t.list,i=0;e&&n;)e.idx<n.idx?e=e.next:e.idx>n.idx?n=n.next:(i+=e.val*n.val,e=e.next,n=n.next);return i},t.Vector.prototype.similarity=function(t){return this.dot(t)/(this.magnitude()*t.magnitude())},t.SortedSet=function(){this.length=0,this.elements=[]},t.SortedSet.load=function(t){var e=new this;return e.elements=t,e.length=t.length,e},t.SortedSet.prototype.add=function(){var t,e;for(t=0;t<arguments.length;t++)e=arguments[t],~this.indexOf(e)||this.elements.splice(this.locationFor(e),0,e);this.length=this.elements.length},t.SortedSet.prototype.toArray=function(){return this.elements.slice()},t.SortedSet.prototype.map=function(t,e){return this.elements.map(t,e)},t.SortedSet.prototype.forEach=function(t,e){return this.elements.forEach(t,e)},t.SortedSet.prototype.indexOf=function(t){for(var e=0,n=this.elements.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;){if(o===t)return r;t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r]}return o===t?r:-1},t.SortedSet.prototype.locationFor=function(t){for(var e=0,n=this.elements.length,i=n-e,r=e+Math.floor(i/2),o=this.elements[r];i>1;)t>o&&(e=r),o>t&&(n=r),i=n-e,r=e+Math.floor(i/2),o=this.elements[r];return o>t?r:t>o?r+1:void 0},t.SortedSet.prototype.intersect=function(e){for(var n=new t.SortedSet,i=0,r=0,o=this.length,s=e.length,a=this.elements,h=e.elements;;){if(i>o-1||r>s-1)break;a[i]!==h[r]?a[i]<h[r]?i++:a[i]>h[r]&&r++:(n.add(a[i]),i++,r++)}return n},t.SortedSet.prototype.clone=function(){var e=new t.SortedSet;return e.elements=this.toArray(),e.length=e.elements.length,e},t.SortedSet.prototype.union=function(t){var e,n,i;this.length>=t.length?(e=this,n=t):(e=t,n=this),i=e.clone();for(var r=0,o=n.toArray();r<o.length;r++)i.add(o[r]);return i},t.SortedSet.prototype.toJSON=function(){return this.toArray()},t.Index=function(){this._fields=[],this._ref="id",this.pipeline=new t.Pipeline,this.documentStore=new t.Store,this.tokenStore=new t.TokenStore,this.corpusTokens=new t.SortedSet,this.eventEmitter=new t.EventEmitter,this.tokenizerFn=t.tokenizer,this._idfCache={},this.on("add","remove","update",function(){this._idfCache={}}.bind(this))},t.Index.prototype.on=function(){var t=Array.prototype.slice.call(arguments);return this.eventEmitter.addListener.apply(this.eventEmitter,t)},t.Index.prototype.off=function(t,e){return this.eventEmitter.removeListener(t,e)},t.Index.load=function(e){e.version!==t.version&&t.utils.warn("version mismatch: current "+t.version+" importing "+e.version);var n=new this;return n._fields=e.fields,n._ref=e.ref,n.tokenizer=t.tokenizer.load(e.tokenizer),n.documentStore=t.Store.load(e.documentStore),n.tokenStore=t.TokenStore.load(e.tokenStore),n.corpusTokens=t.SortedSet.load(e.corpusTokens),n.pipeline=t.Pipeline.load(e.pipeline),n},t.Index.prototype.field=function(t,e){var e=e||{},n={name:t,boost:e.boost||1};return this._fields.push(n),this},t.Index.prototype.ref=function(t){return this._ref=t,this},t.Index.prototype.tokenizer=function(e){var n=e.label&&e.label in t.tokenizer.registeredFunctions;return n||t.utils.warn("Function is not a registered tokenizer. This may cause problems when serialising the index"),this.tokenizerFn=e,this},t.Index.prototype.add=function(e,n){var i={},r=new t.SortedSet,o=e[this._ref],n=void 0===n?!0:n;this._fields.forEach(function(t){var n=this.pipeline.run(this.tokenizerFn(e[t.name]));i[t.name]=n;for(var o=0;o<n.length;o++){var s=n[o];r.add(s),this.corpusTokens.add(s)}},this),this.documentStore.set(o,r);for(var s=0;s<r.length;s++){for(var a=r.elements[s],h=0,u=0;u<this._fields.length;u++){var l=this._fields[u],c=i[l.name],f=c.length;if(f){for(var d=0,p=0;f>p;p++)c[p]===a&&d++;h+=d/f*l.boost}}this.tokenStore.add(a,{ref:o,tf:h})}n&&this.eventEmitter.emit("add",e,this)},t.Index.prototype.remove=function(t,e){var n=t[this._ref],e=void 0===e?!0:e;if(this.documentStore.has(n)){var i=this.documentStore.get(n);this.documentStore.remove(n),i.forEach(function(t){this.tokenStore.remove(t,n)},this),e&&this.eventEmitter.emit("remove",t,this)}},t.Index.prototype.update=function(t,e){var e=void 0===e?!0:e;this.remove(t,!1),this.add(t,!1),e&&this.eventEmitter.emit("update",t,this)},t.Index.prototype.idf=function(t){var e="@"+t;if(Object.prototype.hasOwnProperty.call(this._idfCache,e))return this._idfCache[e];var n=this.tokenStore.count(t),i=1;return n>0&&(i=1+Math.log(this.documentStore.length/n)),this._idfCache[e]=i},t.Index.prototype.search=function(e){var n=this.pipeline.run(this.tokenizerFn(e)),i=new t.Vector,r=[],o=this._fields.reduce(function(t,e){return t+e.boost},0),s=n.some(function(t){return this.tokenStore.has(t)},this);if(!s)return[];n.forEach(function(e,n,s){var a=1/s.length*this._fields.length*o,h=this,u=this.tokenStore.expand(e).reduce(function(n,r){var o=h.corpusTokens.indexOf(r),s=h.idf(r),u=1,l=new t.SortedSet;if(r!==e){var c=Math.max(3,r.length-e.length);u=1/Math.log(c)}o>-1&&i.insert(o,a*s*u);for(var f=h.tokenStore.get(r),d=Object.keys(f),p=d.length,v=0;p>v;v++)l.add(f[d[v]].ref);return n.union(l)},new t.SortedSet);r.push(u)},this);var a=r.reduce(function(t,e){return t.intersect(e)});return a.map(function(t){return{ref:t,score:i.similarity(this.documentVector(t))}},this).sort(function(t,e){return e.score-t.score})},t.Index.prototype.documentVector=function(e){for(var n=this.documentStore.get(e),i=n.length,r=new t.Vector,o=0;i>o;o++){var s=n.elements[o],a=this.tokenStore.get(s)[e].tf,h=this.idf(s);r.insert(this.corpusTokens.indexOf(s),a*h)}return r},t.Index.prototype.toJSON=function(){return{version:t.version,fields:this._fields,ref:this._ref,tokenizer:this.tokenizerFn.label,documentStore:this.documentStore.toJSON(),tokenStore:this.tokenStore.toJSON(),corpusTokens:this.corpusTokens.toJSON(),pipeline:this.pipeline.toJSON()}},t.Index.prototype.use=function(t){var e=Array.prototype.slice.call(arguments,1);e.unshift(this),t.apply(this,e)},t.Store=function(){this.store={},this.length=0},t.Store.load=function(e){var n=new this;return n.length=e.length,n.store=Object.keys(e.store).reduce(function(n,i){return n[i]=t.SortedSet.load(e.store[i]),n},{}),n},t.Store.prototype.set=function(t,e){this.has(t)||this.length++,this.store[t]=e},t.Store.prototype.get=function(t){return this.store[t]},t.Store.prototype.has=function(t){return t in this.store},t.Store.prototype.remove=function(t){this.has(t)&&(delete this.store[t],this.length--)},t.Store.prototype.toJSON=function(){return{store:this.store,length:this.length}},t.stemmer=function(){var t={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},e={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},n="[^aeiou]",i="[aeiouy]",r=n+"[^aeiouy]*",o=i+"[aeiou]*",s="^("+r+")?"+o+r,a="^("+r+")?"+o+r+"("+o+")?$",h="^("+r+")?"+o+r+o+r,u="^("+r+")?"+i,l=new RegExp(s),c=new RegExp(h),f=new RegExp(a),d=new RegExp(u),p=/^(.+?)(ss|i)es$/,v=/^(.+?)([^s])s$/,g=/^(.+?)eed$/,m=/^(.+?)(ed|ing)$/,y=/.$/,S=/(at|bl|iz)$/,w=new RegExp("([^aeiouylsz])\\1$"),k=new RegExp("^"+r+i+"[^aeiouwxy]$"),x=/^(.+?[^aeiou])y$/,b=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,E=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,F=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,_=/^(.+?)(s|t)(ion)$/,z=/^(.+?)e$/,O=/ll$/,P=new RegExp("^"+r+i+"[^aeiouwxy]$"),T=function(n){var i,r,o,s,a,h,u;if(n.length<3)return n;if(o=n.substr(0,1),"y"==o&&(n=o.toUpperCase()+n.substr(1)),s=p,a=v,s.test(n)?n=n.replace(s,"$1$2"):a.test(n)&&(n=n.replace(a,"$1$2")),s=g,a=m,s.test(n)){var T=s.exec(n);s=l,s.test(T[1])&&(s=y,n=n.replace(s,""))}else if(a.test(n)){var T=a.exec(n);i=T[1],a=d,a.test(i)&&(n=i,a=S,h=w,u=k,a.test(n)?n+="e":h.test(n)?(s=y,n=n.replace(s,"")):u.test(n)&&(n+="e"))}if(s=x,s.test(n)){var T=s.exec(n);i=T[1],n=i+"i"}if(s=b,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+t[r])}if(s=E,s.test(n)){var T=s.exec(n);i=T[1],r=T[2],s=l,s.test(i)&&(n=i+e[r])}if(s=F,a=_,s.test(n)){var T=s.exec(n);i=T[1],s=c,s.test(i)&&(n=i)}else if(a.test(n)){var T=a.exec(n);i=T[1]+T[2],a=c,a.test(i)&&(n=i)}if(s=z,s.test(n)){var T=s.exec(n);i=T[1],s=c,a=f,h=P,(s.test(i)||a.test(i)&&!h.test(i))&&(n=i)}return s=O,a=c,s.test(n)&&a.test(n)&&(s=y,n=n.replace(s,"")),"y"==o&&(n=o.toLowerCase()+n.substr(1)),n};return T}(),t.Pipeline.registerFunction(t.stemmer,"stemmer"),t.generateStopWordFilter=function(t){var e=t.reduce(function(t,e){return t[e]=e,t},{});return function(t){return t&&e[t]!==t?t:void 0}},t.stopWordFilter=t.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),t.Pipeline.registerFunction(t.stopWordFilter,"stopWordFilter"),t.trimmer=function(t){return t.replace(/^\W+/,"").replace(/\W+$/,"")},t.Pipeline.registerFunction(t.trimmer,"trimmer"),t.TokenStore=function(){this.root={docs:{}},this.length=0},t.TokenStore.load=function(t){var e=new this;return e.root=t.root,e.length=t.length,e},t.TokenStore.prototype.add=function(t,e,n){var n=n||this.root,i=t.charAt(0),r=t.slice(1);return i in n||(n[i]={docs:{}}),0===r.length?(n[i].docs[e.ref]=e,void(this.length+=1)):this.add(r,e,n[i])},t.TokenStore.prototype.has=function(t){if(!t)return!1;for(var e=this.root,n=0;n<t.length;n++){if(!e[t.charAt(n)])return!1;e=e[t.charAt(n)]}return!0},t.TokenStore.prototype.getNode=function(t){if(!t)return{};for(var e=this.root,n=0;n<t.length;n++){if(!e[t.charAt(n)])return{};e=e[t.charAt(n)]}return e},t.TokenStore.prototype.get=function(t,e){return this.getNode(t,e).docs||{}},t.TokenStore.prototype.count=function(t,e){return Object.keys(this.get(t,e)).length},t.TokenStore.prototype.remove=function(t,e){if(t){for(var n=this.root,i=0;i<t.length;i++){if(!(t.charAt(i)in n))return;n=n[t.charAt(i)]}delete n.docs[e]}},t.TokenStore.prototype.expand=function(t,e){var n=this.getNode(t),i=n.docs||{},e=e||[];return Object.keys(i).length&&e.push(t),Object.keys(n).forEach(function(n){"docs"!==n&&e.concat(this.expand(t+n,e))},this),e},t.TokenStore.prototype.toJSON=function(){return{root:this.root,length:this.length}},function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.lunr=e()}(this,function(){return t})}();
@@ -1,6 +1,6 @@
1
1
  require([
2
2
  base_url + '/mkdocs/js/mustache.min.js',
3
- base_url + '/mkdocs/js/lunr-0.5.7.min.js',
3
+ base_url + '/mkdocs/js/lunr.min.js',
4
4
  'text!search-results-template.mustache',
5
5
  'text!../search_index.json',
6
6
  ], function (Mustache, lunr, results_template, data) {
@@ -70,7 +70,7 @@ require([
70
70
  */
71
71
  jQuery('#mkdocs_search_modal a').click(function(){
72
72
  jQuery('#mkdocs_search_modal').modal('hide');
73
- })
73
+ });
74
74
  }
75
75
 
76
76
  };
@@ -3,40 +3,40 @@
3
3
 
4
4
 
5
5
  <url>
6
- <loc>None/docs/</loc>
7
- <lastmod>2016-11-16</lastmod>
6
+ <loc>/docs/</loc>
7
+ <lastmod>2017-06-20</lastmod>
8
8
  <changefreq>daily</changefreq>
9
9
  </url>
10
10
 
11
11
 
12
12
 
13
13
  <url>
14
- <loc>None/machinery_main_general.1/</loc>
15
- <lastmod>2016-11-16</lastmod>
14
+ <loc>/machinery_main_general.1/</loc>
15
+ <lastmod>2017-06-20</lastmod>
16
16
  <changefreq>daily</changefreq>
17
17
  </url>
18
18
 
19
19
 
20
20
 
21
21
  <url>
22
- <loc>None/machinery_main_scopes.1/</loc>
23
- <lastmod>2016-11-16</lastmod>
22
+ <loc>/machinery_main_scopes.1/</loc>
23
+ <lastmod>2017-06-20</lastmod>
24
24
  <changefreq>daily</changefreq>
25
25
  </url>
26
26
 
27
27
 
28
28
 
29
29
  <url>
30
- <loc>None/machinery_main_usecases.1/</loc>
31
- <lastmod>2016-11-16</lastmod>
30
+ <loc>/machinery_main_usecases.1/</loc>
31
+ <lastmod>2017-06-20</lastmod>
32
32
  <changefreq>daily</changefreq>
33
33
  </url>
34
34
 
35
35
 
36
36
 
37
37
  <url>
38
- <loc>None/machinery_main_security_implications.1/</loc>
39
- <lastmod>2016-11-16</lastmod>
38
+ <loc>/machinery_main_security_implications.1/</loc>
39
+ <lastmod>2017-06-20</lastmod>
40
40
  <changefreq>daily</changefreq>
41
41
  </url>
42
42
 
@@ -44,116 +44,116 @@
44
44
 
45
45
 
46
46
  <url>
47
- <loc>None/machinery-analyze.1/</loc>
48
- <lastmod>2016-11-16</lastmod>
47
+ <loc>/machinery-analyze.1/</loc>
48
+ <lastmod>2017-06-20</lastmod>
49
49
  <changefreq>daily</changefreq>
50
50
  </url>
51
51
 
52
52
  <url>
53
- <loc>None/machinery-build.1/</loc>
54
- <lastmod>2016-11-16</lastmod>
53
+ <loc>/machinery-build.1/</loc>
54
+ <lastmod>2017-06-20</lastmod>
55
55
  <changefreq>daily</changefreq>
56
56
  </url>
57
57
 
58
58
  <url>
59
- <loc>None/machinery-compare.1/</loc>
60
- <lastmod>2016-11-16</lastmod>
59
+ <loc>/machinery-compare.1/</loc>
60
+ <lastmod>2017-06-20</lastmod>
61
61
  <changefreq>daily</changefreq>
62
62
  </url>
63
63
 
64
64
  <url>
65
- <loc>None/machinery-config.1/</loc>
66
- <lastmod>2016-11-16</lastmod>
65
+ <loc>/machinery-config.1/</loc>
66
+ <lastmod>2017-06-20</lastmod>
67
67
  <changefreq>daily</changefreq>
68
68
  </url>
69
69
 
70
70
  <url>
71
- <loc>None/machinery-copy.1/</loc>
72
- <lastmod>2016-11-16</lastmod>
71
+ <loc>/machinery-copy.1/</loc>
72
+ <lastmod>2017-06-20</lastmod>
73
73
  <changefreq>daily</changefreq>
74
74
  </url>
75
75
 
76
76
  <url>
77
- <loc>None/machinery-deploy.1/</loc>
78
- <lastmod>2016-11-16</lastmod>
77
+ <loc>/machinery-deploy.1/</loc>
78
+ <lastmod>2017-06-20</lastmod>
79
79
  <changefreq>daily</changefreq>
80
80
  </url>
81
81
 
82
82
  <url>
83
- <loc>None/machinery-export-autoyast.1/</loc>
84
- <lastmod>2016-11-16</lastmod>
83
+ <loc>/machinery-export-autoyast.1/</loc>
84
+ <lastmod>2017-06-20</lastmod>
85
85
  <changefreq>daily</changefreq>
86
86
  </url>
87
87
 
88
88
  <url>
89
- <loc>None/machinery-export-kiwi.1/</loc>
90
- <lastmod>2016-11-16</lastmod>
89
+ <loc>/machinery-export-kiwi.1/</loc>
90
+ <lastmod>2017-06-20</lastmod>
91
91
  <changefreq>daily</changefreq>
92
92
  </url>
93
93
 
94
94
  <url>
95
- <loc>None/machinery-export-html.1/</loc>
96
- <lastmod>2016-11-16</lastmod>
95
+ <loc>/machinery-export-html.1/</loc>
96
+ <lastmod>2017-06-20</lastmod>
97
97
  <changefreq>daily</changefreq>
98
98
  </url>
99
99
 
100
100
  <url>
101
- <loc>None/machinery-inspect.1/</loc>
102
- <lastmod>2016-11-16</lastmod>
101
+ <loc>/machinery-inspect.1/</loc>
102
+ <lastmod>2017-06-20</lastmod>
103
103
  <changefreq>daily</changefreq>
104
104
  </url>
105
105
 
106
106
  <url>
107
- <loc>None/machinery-inspect-container.1/</loc>
108
- <lastmod>2016-11-16</lastmod>
107
+ <loc>/machinery-inspect-container.1/</loc>
108
+ <lastmod>2017-06-20</lastmod>
109
109
  <changefreq>daily</changefreq>
110
110
  </url>
111
111
 
112
112
  <url>
113
- <loc>None/machinery-list.1/</loc>
114
- <lastmod>2016-11-16</lastmod>
113
+ <loc>/machinery-list.1/</loc>
114
+ <lastmod>2017-06-20</lastmod>
115
115
  <changefreq>daily</changefreq>
116
116
  </url>
117
117
 
118
118
  <url>
119
- <loc>None/machinery-man.1/</loc>
120
- <lastmod>2016-11-16</lastmod>
119
+ <loc>/machinery-man.1/</loc>
120
+ <lastmod>2017-06-20</lastmod>
121
121
  <changefreq>daily</changefreq>
122
122
  </url>
123
123
 
124
124
  <url>
125
- <loc>None/machinery-move.1/</loc>
126
- <lastmod>2016-11-16</lastmod>
125
+ <loc>/machinery-move.1/</loc>
126
+ <lastmod>2017-06-20</lastmod>
127
127
  <changefreq>daily</changefreq>
128
128
  </url>
129
129
 
130
130
  <url>
131
- <loc>None/machinery-remove.1/</loc>
132
- <lastmod>2016-11-16</lastmod>
131
+ <loc>/machinery-remove.1/</loc>
132
+ <lastmod>2017-06-20</lastmod>
133
133
  <changefreq>daily</changefreq>
134
134
  </url>
135
135
 
136
136
  <url>
137
- <loc>None/machinery-serve.1/</loc>
138
- <lastmod>2016-11-16</lastmod>
137
+ <loc>/machinery-serve.1/</loc>
138
+ <lastmod>2017-06-20</lastmod>
139
139
  <changefreq>daily</changefreq>
140
140
  </url>
141
141
 
142
142
  <url>
143
- <loc>None/machinery-show.1/</loc>
144
- <lastmod>2016-11-16</lastmod>
143
+ <loc>/machinery-show.1/</loc>
144
+ <lastmod>2017-06-20</lastmod>
145
145
  <changefreq>daily</changefreq>
146
146
  </url>
147
147
 
148
148
  <url>
149
- <loc>None/machinery-upgrade-format.1/</loc>
150
- <lastmod>2016-11-16</lastmod>
149
+ <loc>/machinery-upgrade-format.1/</loc>
150
+ <lastmod>2017-06-20</lastmod>
151
151
  <changefreq>daily</changefreq>
152
152
  </url>
153
153
 
154
154
  <url>
155
- <loc>None/machinery-validate.1/</loc>
156
- <lastmod>2016-11-16</lastmod>
155
+ <loc>/machinery-validate.1/</loc>
156
+ <lastmod>2017-06-20</lastmod>
157
157
  <changefreq>daily</changefreq>
158
158
  </url>
159
159