pkg-wizard 0.1.22 → 0.1.23
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.
|
@@ -36,10 +36,10 @@ module PKGWizard
|
|
|
36
36
|
|
|
37
37
|
def self.perform
|
|
38
38
|
cmd = CreateSrpm.new
|
|
39
|
-
cmd.banner = "\nUsage:
|
|
39
|
+
cmd.banner = "\nUsage: pkgwiz create-srpm (options)\n\n"
|
|
40
40
|
cmd.parse_options
|
|
41
41
|
repo = cmd.config[:gitrepo]
|
|
42
|
-
workspace = cmd.config[:workspace] || "/tmp/
|
|
42
|
+
workspace = cmd.config[:workspace] || "/tmp/pkgwiz-#{Time.now.to_i}"
|
|
43
43
|
FileUtils.mkdir_p(workspace) if not File.exist?(workspace)
|
|
44
44
|
source_dir = workspace + '/SOURCES'
|
|
45
45
|
|
|
@@ -22,7 +22,7 @@ module PKGWizard
|
|
|
22
22
|
def self.perform
|
|
23
23
|
$stdout.sync = true
|
|
24
24
|
cmd = InitEnv.new
|
|
25
|
-
cmd.banner = "\nUsage:
|
|
25
|
+
cmd.banner = "\nUsage: pkgwiz init-env\n\n"
|
|
26
26
|
cmd.parse_options
|
|
27
27
|
if `whoami`.strip.chomp != 'root'
|
|
28
28
|
$stderr.puts 'Run this command as root.'
|
|
@@ -28,12 +28,12 @@ module PKGWizard
|
|
|
28
28
|
|
|
29
29
|
option :buildbot,
|
|
30
30
|
:short => '-b URL',
|
|
31
|
-
:description => '
|
|
31
|
+
:description => 'pkg-wizard build-bot URL',
|
|
32
32
|
:long => '--buildbot URL'
|
|
33
33
|
|
|
34
34
|
option :buildbot_port,
|
|
35
35
|
:short => '-p PORT',
|
|
36
|
-
:description => '
|
|
36
|
+
:description => 'pkg-wizard build-bot PORT (default 4567)',
|
|
37
37
|
:long => '--buildbot-port PORT',
|
|
38
38
|
:default => 4567
|
|
39
39
|
|
|
@@ -49,7 +49,7 @@ module PKGWizard
|
|
|
49
49
|
|
|
50
50
|
def self.perform
|
|
51
51
|
cli = RemoteBuild.new
|
|
52
|
-
cli.banner = "\nUsage:
|
|
52
|
+
cli.banner = "\nUsage: pkgwiz remote-build (options)\n\n"
|
|
53
53
|
pkgs = cli.parse_options
|
|
54
54
|
bbot_host = cli.config[:buildbot]
|
|
55
55
|
bbot_port = cli.config[:buildbot_port]
|
data/lib/pkg-wizard.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pkg-wizard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 53
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 23
|
|
10
|
+
version: 0.1.23
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Sergio Rubio
|