nailed 0.0.4 → 0.0.5
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 +4 -4
- data/Gemfile +0 -1
- data/README.md +9 -11
- data/README.rdoc +7 -7
- data/bin/nailed +1 -2
- data/config/products.yml +36 -9
- data/log/nailed.log +2 -0
- data/nailed.gemspec +1 -2
- metadata +1 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c7ba183aa36387c99f5d443feb1a350c245a427
|
|
4
|
+
data.tar.gz: c7baa3f4eb61333265f4e2d21d5af7e75d4e50b9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6de276d29cd697b764319631808565043a703713aabbc28054afc8cc27dea35b6ad75dce512b1420e3950f2509fbd215a69fe2be7efe5a1e374682819facb34f
|
|
7
|
+
data.tar.gz: 81215135a07552f033152a01728d35d39531bf19afd4f61303a5719568385b66d968af788b2ae83c3929b1688512ff8779a5607a55f56928fdb964fb3cc2a905
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -38,17 +38,6 @@ machine api.github.com
|
|
|
38
38
|
```
|
|
39
39
|
nailed --migrate
|
|
40
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
|
|
52
41
|
|
|
53
42
|
## Configuration
|
|
54
43
|
|
|
@@ -72,10 +61,19 @@ products:
|
|
|
72
61
|
|
|
73
62
|
```
|
|
74
63
|
|
|
64
|
+
## Changes in production
|
|
65
|
+
|
|
75
66
|
* in production, after adding products/changes, to upgrade the database with the new changes run
|
|
76
67
|
```
|
|
77
68
|
nailed --upgrade
|
|
78
69
|
```
|
|
70
|
+
* make sure to fetch new data with
|
|
71
|
+
```
|
|
72
|
+
nailed --bugzilla
|
|
73
|
+
nailed --github
|
|
74
|
+
nailed --l3
|
|
75
|
+
```
|
|
76
|
+
* restart the webserver
|
|
79
77
|
|
|
80
78
|
## Run
|
|
81
79
|
|
data/README.rdoc
CHANGED
|
@@ -35,13 +35,6 @@ e.g. it relies on bugs being tagged as L3. The plan is to make it optional in th
|
|
|
35
35
|
* configure your +products.yml+
|
|
36
36
|
* to setup the database run
|
|
37
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
|
|
45
38
|
|
|
46
39
|
== Configuration
|
|
47
40
|
|
|
@@ -62,8 +55,15 @@ All configuration is read from +config/products.yml+
|
|
|
62
55
|
# If there are no associated repos for the product, just leave it blank
|
|
63
56
|
# continue adding more products here
|
|
64
57
|
|
|
58
|
+
== Changes in production
|
|
59
|
+
|
|
65
60
|
* in production, after adding products/changes, to upgrade the database with the new changes run
|
|
66
61
|
nailed --upgrade
|
|
62
|
+
* make sure to fetch new data with
|
|
63
|
+
nailed --bugzilla
|
|
64
|
+
nailed --github
|
|
65
|
+
nailed --l3
|
|
66
|
+
* restart the webserver
|
|
67
67
|
|
|
68
68
|
== Run
|
|
69
69
|
|
data/bin/nailed
CHANGED
|
@@ -19,12 +19,11 @@ end
|
|
|
19
19
|
abort("try nailed -h") if opts.all?{|k,v| v.is_a?(FalseClass)}
|
|
20
20
|
|
|
21
21
|
if opts[:server_given]
|
|
22
|
-
watch_dir = File.join(File.expand_path("..", File.dirname(__FILE__)),"config")
|
|
23
22
|
if Nailed::PRODUCTS["products"].nil?
|
|
24
23
|
abort("Add some data, there is nothing to be shown")
|
|
25
24
|
else
|
|
26
25
|
begin
|
|
27
|
-
`#{File.join(
|
|
26
|
+
`#{File.join(File.expand_path("..", File.dirname(__FILE__)),"bin","app")}`
|
|
28
27
|
rescue Interrupt
|
|
29
28
|
sleep 2
|
|
30
29
|
exit
|
data/config/products.yml
CHANGED
|
@@ -1,14 +1,41 @@
|
|
|
1
1
|
---
|
|
2
2
|
bugzilla:
|
|
3
|
-
url:
|
|
3
|
+
url: https://bugzilla.novell.com
|
|
4
4
|
products:
|
|
5
|
-
|
|
5
|
+
cloud:
|
|
6
6
|
versions:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
- SUSE Cloud 3
|
|
8
|
+
- SUSE Cloud 4
|
|
9
|
+
- SUSE Cloud 5
|
|
10
|
+
organization: crowbar
|
|
11
11
|
repos:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
- crowbar
|
|
13
|
+
- barclamp-crowbar
|
|
14
|
+
- barclamp-deployer
|
|
15
|
+
- barclamp-dns
|
|
16
|
+
- barclamp-ganglia
|
|
17
|
+
- barclamp-ipmi
|
|
18
|
+
- barclamp-logging
|
|
19
|
+
- barclamp-nagios
|
|
20
|
+
- barclamp-network
|
|
21
|
+
- barclamp-ntp
|
|
22
|
+
- barclamp-provisioner
|
|
23
|
+
- barclamp-redhat-install
|
|
24
|
+
- barclamp-test
|
|
25
|
+
- barclamp-ubuntu-install
|
|
26
|
+
- barclamp-glance
|
|
27
|
+
- barclamp-nova
|
|
28
|
+
- barclamp-swift
|
|
29
|
+
- barclamp-keystone
|
|
30
|
+
- barclamp-mysql
|
|
31
|
+
- barclamp-kong
|
|
32
|
+
- barclamp-nova_dashboard
|
|
33
|
+
- barclamp-openstack
|
|
34
|
+
- barclamp-hadoop
|
|
35
|
+
- barclamp-hive
|
|
36
|
+
- barclamp-pig
|
|
37
|
+
- barclamp-zookeeper
|
|
38
|
+
- barclamp-sqoop
|
|
39
|
+
- barclamp-quantum
|
|
40
|
+
- barclamp-clouderamanager
|
|
41
|
+
- barclamp-ApacheHadoop
|
data/log/nailed.log
CHANGED
|
@@ -18,3 +18,5 @@ 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
19
|
I, [2014-12-31T10:30:48.046995 #2420] INFO -- : Database migrated
|
|
20
20
|
I, [2014-12-31T10:52:19.297754 #3508] INFO -- : Database migrated
|
|
21
|
+
I, [2014-12-31T14:28:46.717211 #5175] INFO -- : Database migrated
|
|
22
|
+
I, [2014-12-31T14:29:26.856323 #5513] INFO -- : Database upgraded
|
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
|
+
s.version = "0.0.5"
|
|
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"
|
|
@@ -21,5 +21,4 @@ Gem::Specification.new do |s|
|
|
|
21
21
|
s.add_dependency("sinatra-base", ["1.4.0"])
|
|
22
22
|
s.add_dependency("sinatra-assetpack", ["0.3.3"])
|
|
23
23
|
s.add_dependency("haml", ["4.0.6"])
|
|
24
|
-
s.add_dependency("rerun", ["0.10.0"])
|
|
25
24
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nailed
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maximilian Meister
|
|
@@ -136,20 +136,6 @@ dependencies:
|
|
|
136
136
|
- - '='
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: 4.0.6
|
|
139
|
-
- !ruby/object:Gem::Dependency
|
|
140
|
-
name: rerun
|
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
|
142
|
-
requirements:
|
|
143
|
-
- - '='
|
|
144
|
-
- !ruby/object:Gem::Version
|
|
145
|
-
version: 0.10.0
|
|
146
|
-
type: :runtime
|
|
147
|
-
prerelease: false
|
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
-
requirements:
|
|
150
|
-
- - '='
|
|
151
|
-
- !ruby/object:Gem::Version
|
|
152
|
-
version: 0.10.0
|
|
153
139
|
description: Collect and visualize Product related data from Bugzilla and Github
|
|
154
140
|
email: mmeister@suse.de
|
|
155
141
|
executables:
|