nailed 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a4c55d859f8482367000e42658d95e29b719a74b
4
- data.tar.gz: a5e2c71830070186fadaf821cdd6bdc927e1c37f
3
+ metadata.gz: 34d28176ad2e2d44b57d184f1eae40bc9f3b4849
4
+ data.tar.gz: b2572d2be0abedec21072a899321c26cbf110b94
5
5
  SHA512:
6
- metadata.gz: a7a277fd9c9f64f1d6657bcc4e855e5e0e67029f140141975c170cc254bc096eed2d5ac5ca784a0c44bbaa364a2d589c915888bf764c0212a118467e9e5c5efc
7
- data.tar.gz: 5592d161d09ff7707d06032c30662c1683049e4f7bf84eaba4cd7c220829b314583fd582fcbf6c68a464e40c738a3592c07d27d7ea55f9868d05c41f988c2beb
6
+ metadata.gz: 08fe09b1763837c6ab8025929ed52cecd389664292e6d254a74fd676b12d063c59295240faa653349e5b8e12870b7ed2fd312a4944b1d0c2253eff5a6c25d9b6
7
+ data.tar.gz: f55fd8a8d8c059703d1a17fa5b7597927c5c9f18eddbcdc2eb1eea048bf4e991838b53d86a8ffcb0704597cca29a6b14a74370b7c6517446c1400f64eb94ebb0
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  e.g. it relies on bugs being tagged as L3. The plan is to make it optional in the future.
7
7
 
8
8
  ## Installation
9
- gem install 'nailed'
9
+ `gem install 'nailed'`
10
10
 
11
11
  ## Usage
12
12
 
@@ -33,10 +33,22 @@ machine api.github.com
33
33
  login MaximilianMeister
34
34
  password <your OAuth Token>
35
35
  ```
36
+ * configure your `products.yml`
36
37
  * to setup the database run
37
38
  ```
38
39
  nailed --migrate
39
40
  ```
41
+ * it is recommended to increase the amount of inotify watchers by executing
42
+ ```
43
+ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
44
+ ```
45
+ This is necessary for automatic restart of the sinatra app, after certain changes in the fs (`rerun` gem is used to watch modifications in the configuration file `products.yml`).
46
+
47
+ Otherwise you will have to restart the webui manually with
48
+ ```
49
+ nailed --server
50
+ ```
51
+ For technical details see https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
40
52
 
41
53
  ## Configuration
42
54
 
data/README.rdoc CHANGED
@@ -32,8 +32,16 @@ e.g. it relies on bugs being tagged as L3. The plan is to make it optional in th
32
32
  login MaximilianMeister
33
33
  password <your OAuth Token>
34
34
 
35
+ * configure your +products.yml+
35
36
  * to setup the database run
36
37
  nailed --migrate
38
+ * it is recommended to increase the amount of inotify watchers by executing
39
+ echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
40
+ This is necessary for automatic restart of the sinatra app, after certain changes in the fs (+rerun+ gem is used to watch modifications in the configuration file +products.yml+).
41
+
42
+ Otherwise you will have to restart the webui manually with
43
+ nailed --server
44
+ For technical details see https://github.com/guard/listen/wiki/Increasing-the-amount-of-inotify-watchers
37
45
 
38
46
  == Configuration
39
47
 
data/bin/nailed CHANGED
@@ -16,16 +16,15 @@ opts = Trollop::options do
16
16
  opt :server, "Start a dashboard webinterface", :short => 's'
17
17
  end
18
18
 
19
- if opts.map{|k,v| v == false}
20
- puts "try nailed -h"
21
- end
19
+ abort("try nailed -h") if opts.all?{|k,v| v.is_a?(FalseClass)}
22
20
 
23
21
  if opts[:server_given]
22
+ watch_dir = File.join(File.expand_path("..", File.dirname(__FILE__)),"config")
24
23
  if Nailed::PRODUCTS["products"].nil?
25
24
  abort("Add some data, there is nothing to be shown")
26
25
  else
27
26
  begin
28
- `#{File.join("rerun ",File.expand_path("..", File.dirname(__FILE__)),"bin","app")}`
27
+ `#{File.join("rerun --dir #{watch_dir} ",File.expand_path("..", File.dirname(__FILE__)),"bin","app")}`
29
28
  rescue Interrupt
30
29
  sleep 2
31
30
  exit
@@ -39,19 +39,6 @@ products:
39
39
  - barclamp-quantum
40
40
  - barclamp-clouderamanager
41
41
  - barclamp-ApacheHadoop
42
- susemanager:
43
- versions:
44
- - SUSE Manager 2.1 Server
45
- - SUSE Manager 2.1 Proxy
46
- organization: SUSE
47
- repos:
48
- - spacewalk
49
- scc:
50
- versions:
51
- - SUSE Customer Center
52
- organization: SUSE
53
- repos:
54
- - happy-customer
55
42
  sles:
56
43
  versions:
57
44
  - SUSE Linux Enterprise Server 12 (SLES 12)
data/log/nailed.log CHANGED
@@ -16,3 +16,5 @@ I, [2014-12-27T11:20:26.744399 #2329] INFO -- : Database migrated
16
16
  I, [2014-12-27T13:03:00.951952 #1752] INFO -- : Database migrated
17
17
  I, [2014-12-29T15:37:45.322611 #5160] INFO -- : Database upgraded
18
18
  I, [2014-12-29T15:40:17.109444 #5496] INFO -- : Database upgraded
19
+ I, [2014-12-31T10:30:48.046995 #2420] INFO -- : Database migrated
20
+ I, [2014-12-31T10:52:19.297754 #3508] INFO -- : Database migrated
data/nailed.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "nailed"
3
- s.version = "0.0.3"
3
+ s.version = "0.0.4"
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
  s.summary = "Nailed CLI and WebUI"
6
6
  s.description = "Collect and visualize Product related data from Bugzilla and Github"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nailed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximilian Meister
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-30 00:00:00.000000000 Z
11
+ date: 2014-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octokit