hammer_cli_foreman_scc_manager 0.2.1 → 0.4.0

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
  SHA256:
3
- metadata.gz: 0a1a935db102a3e3488430dd3dfe3e9aaf3d0262f3fc327170da5be2fd8b8640
4
- data.tar.gz: 436c0d8fad5a613892508774dccd9ce41a2c67eec7336b0d83f73d732081013c
3
+ metadata.gz: 62f84b8ad105d6619e70199de5a4d10e3ab8bfe9d5093a9c7fec018bd4ffc76d
4
+ data.tar.gz: 9563045a8d4713871766a6765271dd580e9d4a81b7877d341240e4c194f4817b
5
5
  SHA512:
6
- metadata.gz: 26525c38ef9588f4f3b4adc25a53b9036f142ccfd93ccb642d7fba701efbc5b8fed8f92e1ca98ec06b1a60f114df2d49c5b926cb05fd918c1269f65796ebef6b
7
- data.tar.gz: 68ad842105fe5b214506dd6588fab9a36e88a3ae1ebd877000f33e4838281b5884569e8db6b017e4aaeb0efcebbeb5a9a99f3fc45447241db28313a2c3043098
6
+ metadata.gz: d78d17835f938917fb4c189c60927dcf6bfeffdc82c6e6ecf8bbd962fe9a7d78e2a77a51f7949ca1509a497b83ee5deb9a829b9c230d177e8af53f4eb8c8eda9
7
+ data.tar.gz: 62b38f4ce283879c4a448499e56353e550c651f23268b311a45ebc0f4a8cdcab4b0fbc0909e1b544c6b81ad40f66607fa0a7ff5583ce4f4966e12116b2d234c6
@@ -15,12 +15,21 @@ module HammerCLIForemanSCCManager
15
15
  field :description, _('Product description')
16
16
  end
17
17
 
18
- build_options
18
+ option '--scc-account-id', 'SCC account id', _('Id of associated scc account')
19
+
20
+ build_options do |o|
21
+ o.without('scc_account_id')
22
+ end
19
23
  end
20
24
 
21
25
  class InfoCommand < HammerCLIForeman::InfoCommand
22
26
  output SCCProductsCommand::ListCommand.output_definition
23
- build_options
27
+
28
+ option '--scc-account-id', 'SCC account id', _('Id of associated scc account')
29
+
30
+ build_options do |o|
31
+ o.without('scc_account_id')
32
+ end
24
33
  end
25
34
 
26
35
  class SubscribeProductCommand < HammerCLIForeman::Command
@@ -2,6 +2,6 @@
2
2
 
3
3
  module HammerCLIForemanSCCManager
4
4
  def self.version
5
- @version ||= Gem::Version.new '0.2.1'
5
+ @version ||= Gem::Version.new '0.4.0'
6
6
  end
7
7
  end
@@ -0,0 +1,111 @@
1
+ # English translations for hammer_cli_foreman_scc_manager package.
2
+ # Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer_cli_foreman_scc_manager package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2023.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hammer_cli_foreman_scc_manager 0.1.0\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "PO-Revision-Date: 2023-07-12 16:25+0000\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: English\n"
13
+ "Language: en\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=; plural=;\n"
18
+ "\n"
19
+
20
+ msgid "SCC account name"
21
+ msgstr ""
22
+
23
+ msgid "SCC account id"
24
+ msgstr ""
25
+
26
+ msgid "Organization name"
27
+ msgstr ""
28
+
29
+ msgid "Base URL"
30
+ msgstr ""
31
+
32
+ msgid "Sync interval"
33
+ msgstr ""
34
+
35
+ msgid "Sync date"
36
+ msgstr ""
37
+
38
+ msgid "SCC account created."
39
+ msgstr ""
40
+
41
+ msgid "Could not create SCC account"
42
+ msgstr ""
43
+
44
+ msgid "SCC account [%{name}] was deleted."
45
+ msgstr ""
46
+
47
+ msgid "Could not delete the account"
48
+ msgstr ""
49
+
50
+ msgid "SCC account [%{name}] updated."
51
+ msgstr ""
52
+
53
+ msgid "Could not update the SCC account"
54
+ msgstr ""
55
+
56
+ msgid "Could not sync SCC account [%{name}]"
57
+ msgstr ""
58
+
59
+ msgid "Started at: %{param}"
60
+ msgstr ""
61
+
62
+ msgid "State: %{param}"
63
+ msgstr ""
64
+
65
+ msgid "State updated at: %{param}"
66
+ msgstr ""
67
+
68
+ msgid "Task ID: %{param}"
69
+ msgstr ""
70
+
71
+ msgid "Sync process failed, error: %{param}"
72
+ msgstr ""
73
+
74
+ msgid "Testing connection for SCC account succeeded."
75
+ msgstr ""
76
+
77
+ msgid "Testing connection for SCC account failed"
78
+ msgstr ""
79
+
80
+ msgid "Bulk subscribing successfully started."
81
+ msgstr ""
82
+
83
+ msgid "Bulk subscription failed"
84
+ msgstr ""
85
+
86
+ msgid "Manage SCC accounts"
87
+ msgstr ""
88
+
89
+ msgid "Id"
90
+ msgstr ""
91
+
92
+ msgid "Product name"
93
+ msgstr ""
94
+
95
+ msgid "Friendly product name"
96
+ msgstr ""
97
+
98
+ msgid "Architecture"
99
+ msgstr ""
100
+
101
+ msgid "Katello product id"
102
+ msgstr ""
103
+
104
+ msgid "Product description"
105
+ msgstr ""
106
+
107
+ msgid "Subscribing to product succeeded."
108
+ msgstr ""
109
+
110
+ msgid "Subscribing to product failed"
111
+ msgstr ""
@@ -0,0 +1,144 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer_cli_foreman_scc_manager package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ #, fuzzy
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hammer_cli_foreman_scc_manager 0.1.0\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2023-07-12 16:25+0000\n"
12
+ "PO-Revision-Date: 2023-07-12 16:25+0000\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "Language: \n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
+
21
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:17
22
+ msgid "SCC account name"
23
+ msgstr ""
24
+
25
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:18
26
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:12
27
+ msgid "SCC account id"
28
+ msgstr ""
29
+
30
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:19
31
+ msgid "Organization name"
32
+ msgstr ""
33
+
34
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:20
35
+ msgid "Base URL"
36
+ msgstr ""
37
+
38
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:21
39
+ msgid "Sync interval"
40
+ msgstr ""
41
+
42
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:22
43
+ msgid "Sync date"
44
+ msgstr ""
45
+
46
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:33
47
+ msgid "SCC account created."
48
+ msgstr ""
49
+
50
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:34
51
+ msgid "Could not create SCC account"
52
+ msgstr ""
53
+
54
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:40
55
+ msgid "SCC account [%{name}] was deleted."
56
+ msgstr ""
57
+
58
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:41
59
+ msgid "Could not delete the account"
60
+ msgstr ""
61
+
62
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:47
63
+ msgid "SCC account [%{name}] updated."
64
+ msgstr ""
65
+
66
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:48
67
+ msgid "Could not update the SCC account"
68
+ msgstr ""
69
+
70
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:57
71
+ msgid "Could not sync SCC account [%{name}]"
72
+ msgstr ""
73
+
74
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:62
75
+ msgid "Started at: %{param}"
76
+ msgstr ""
77
+
78
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:63
79
+ msgid "State: %{param}"
80
+ msgstr ""
81
+
82
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:64
83
+ msgid "State updated at: %{param}"
84
+ msgstr ""
85
+
86
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:65
87
+ msgid "Task ID: %{param}"
88
+ msgstr ""
89
+
90
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:69
91
+ msgid "Sync process failed, error: %{param}"
92
+ msgstr ""
93
+
94
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:80
95
+ msgid "Testing connection for SCC account succeeded."
96
+ msgstr ""
97
+
98
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:81
99
+ msgid "Testing connection for SCC account failed"
100
+ msgstr ""
101
+
102
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:90
103
+ msgid "Bulk subscribing successfully started."
104
+ msgstr ""
105
+
106
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_account.rb:91
107
+ msgid "Bulk subscription failed"
108
+ msgstr ""
109
+
110
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_manager.rb:7
111
+ msgid "Manage SCC accounts"
112
+ msgstr ""
113
+
114
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:9
115
+ msgid "Id"
116
+ msgstr ""
117
+
118
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:10
119
+ msgid "Product name"
120
+ msgstr ""
121
+
122
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:11
123
+ msgid "Friendly product name"
124
+ msgstr ""
125
+
126
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:13
127
+ msgid "Architecture"
128
+ msgstr ""
129
+
130
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:14
131
+ msgid "Katello product id"
132
+ msgstr ""
133
+
134
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:15
135
+ msgid "Product description"
136
+ msgstr ""
137
+
138
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:30
139
+ msgid "Subscribing to product succeeded."
140
+ msgstr ""
141
+
142
+ #: ../lib/hammer_cli_foreman_scc_manager/scc_product.rb:31
143
+ msgid "Subscribing to product failed"
144
+ msgstr ""
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_foreman_scc_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nadja Heitmann
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-08-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: hammer_cli_foreman
@@ -16,28 +15,14 @@ dependencies:
16
15
  requirements:
17
16
  - - "~>"
18
17
  - !ruby/object:Gem::Version
19
- version: 3.10.0
18
+ version: '3.10'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
23
  - - "~>"
25
24
  - !ruby/object:Gem::Version
26
- version: 3.10.0
27
- - !ruby/object:Gem::Dependency
28
- name: bundler
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "<"
32
- - !ruby/object:Gem::Version
33
- version: '2.5'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "<"
39
- - !ruby/object:Gem::Version
40
- version: '2.5'
25
+ version: '3.10'
41
26
  - !ruby/object:Gem::Dependency
42
27
  name: minitest
43
28
  requirement: !ruby/object:Gem::Requirement
@@ -81,20 +66,19 @@ dependencies:
81
66
  - !ruby/object:Gem::Version
82
67
  version: '4'
83
68
  - !ruby/object:Gem::Dependency
84
- name: rubocop
69
+ name: theforeman-rubocop
85
70
  requirement: !ruby/object:Gem::Requirement
86
71
  requirements:
87
72
  - - "~>"
88
73
  - !ruby/object:Gem::Version
89
- version: 1.6.1
74
+ version: 0.1.2
90
75
  type: :development
91
76
  prerelease: false
92
77
  version_requirements: !ruby/object:Gem::Requirement
93
78
  requirements:
94
79
  - - "~>"
95
80
  - !ruby/object:Gem::Version
96
- version: 1.6.1
97
- description:
81
+ version: 0.1.2
98
82
  email:
99
83
  - heitmann@atix.de
100
84
  executables: []
@@ -110,12 +94,13 @@ files:
110
94
  - lib/hammer_cli_foreman_scc_manager/scc_manager.rb
111
95
  - lib/hammer_cli_foreman_scc_manager/scc_product.rb
112
96
  - lib/hammer_cli_foreman_scc_manager/version.rb
97
+ - locale/en/hammer_cli_foreman_scc_manager.po
98
+ - locale/hammer_cli_foreman_scc_manager.pot
113
99
  - test/test_helper.rb
114
100
  homepage: https://github.com/ATIX-AG/hammer-cli-foreman-scc-manager
115
101
  licenses:
116
- - GPL-3.0
102
+ - GPL-3.0-only
117
103
  metadata: {}
118
- post_install_message:
119
104
  rdoc_options: []
120
105
  require_paths:
121
106
  - lib
@@ -133,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
118
  - !ruby/object:Gem::Version
134
119
  version: '0'
135
120
  requirements: []
136
- rubygems_version: 3.3.27
137
- signing_key:
121
+ rubygems_version: 3.6.9
138
122
  specification_version: 4
139
123
  summary: Foreman SCC Manager plugin for Hammer CLI
140
124
  test_files: