mprm 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/mprm +0 -20
- data/lib/mprm/repo.rb +0 -3
- data/lib/mprm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0ab3ea9081a8ea621873be84748d748bbba0c979
|
4
|
+
data.tar.gz: 7652f68162e8a830e06515f2f47558c3be3d70c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 641abbb7903fec70eea0729dea5cb31ad370c4997eb352dd965022f29cebc9451118444394b1fd7be838e5f2fe9ab19601189622afbe5d7e155cfc84327e57ce
|
7
|
+
data.tar.gz: c6f55e7081a470808ada6b18f3423624a72f3b2bad244318cb86c9d8cbe74f6793a2f5c48d5be838ca9a520b0a264396b1ea0e4b07ad0db5128b719d06902a09
|
data/bin/mprm
CHANGED
@@ -14,7 +14,6 @@ class Main < Clamp::Command
|
|
14
14
|
option ["-o", "--origin"], "ORIGIN", "Origin for generated repository [DEB ONLY]"
|
15
15
|
option ["--nocache"], :flag, "Don't cache md5 sums [DEB ONLY]"
|
16
16
|
option ["-d", "--directory"], "DIRECTORY", "Move packages from directory to target", :default => false
|
17
|
-
option ["-e", "--recent"], :flag, "Snapshot the most recent unique packages", :default => false
|
18
17
|
option ["-k", "--gpg"], "GPG KEY", "Sign release files with this GPG key", :default => false
|
19
18
|
option ["-x", "--gpg_passphrase"], "GPG PASSPHRASE", "Passphrase for GPG key", :default => false
|
20
19
|
option ["-n", "--gpg_sign_algorithm"], "GPG SIGN ALGORITHM", "Digest algorithm to use for signing (e.g SHA1, SHA512, etc)", :default => "sha256"
|
@@ -30,10 +29,6 @@ class Main < Clamp::Command
|
|
30
29
|
exit
|
31
30
|
end
|
32
31
|
|
33
|
-
if recent? && !snapshot
|
34
|
-
raise "--snapshot is required for --recent"
|
35
|
-
end
|
36
|
-
|
37
32
|
if type == "deb" && !component
|
38
33
|
raise "--deb option required for the --component option!"
|
39
34
|
end
|
@@ -45,29 +40,14 @@ class Main < Clamp::Command
|
|
45
40
|
r.path = path
|
46
41
|
r.label = label
|
47
42
|
r.origin = origin
|
48
|
-
unless upload.nil?
|
49
|
-
r.upload = upload
|
50
|
-
end
|
51
43
|
unless gpg.nil?
|
52
44
|
r.gpg = gpg
|
53
45
|
r.gpg_passphrase = gpg_passphrase
|
54
46
|
r.gpg_sign_algorithm = gpg_sign_algorithm
|
55
47
|
end
|
56
|
-
unless accesskey.nil?
|
57
|
-
r.accesskey = accesskey
|
58
|
-
end
|
59
|
-
unless secretkey.nil?
|
60
|
-
r.secretkey = secretkey
|
61
|
-
end
|
62
|
-
unless snapshot.nil?
|
63
|
-
r.snapshot = snapshot
|
64
|
-
end
|
65
48
|
unless component.nil?
|
66
49
|
r.component = component
|
67
50
|
end
|
68
|
-
if recent?
|
69
|
-
r.recent = recent?
|
70
|
-
end
|
71
51
|
unless directory.nil?
|
72
52
|
r.directory = directory
|
73
53
|
end
|
data/lib/mprm/repo.rb
CHANGED
@@ -16,10 +16,7 @@ module MPRM
|
|
16
16
|
attr_accessor :gpg
|
17
17
|
attr_accessor :gpg_passphrase
|
18
18
|
attr_accessor :gpg_sign_algorithm
|
19
|
-
attr_accessor :secretkey
|
20
|
-
attr_accessor :accesskey
|
21
19
|
attr_accessor :directory
|
22
|
-
attr_accessor :recent
|
23
20
|
attr_accessor :nocache
|
24
21
|
|
25
22
|
def create
|
data/lib/mprm/version.rb
CHANGED