foreman_scc_manager 1.8.7 → 1.8.8
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d51eed6c2336237f44aa0fad512060a43f4bc0dae6fd9a93daa2baa555f915a
|
|
4
|
+
data.tar.gz: 876ebdd4e76443deec6016c657b44ddcb1e60dcc2c8a81631e5f87cccafcc9b1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ef379e703604fc444d312969f4dd389c952b03dc3f3d5ba98d95989941c9b397b7879bef97d309ae54270f70ffb5b1ef50ee1ba214571800dc82f2ea7d301bd7
|
|
7
|
+
data.tar.gz: 70c8ddeef5a5ad620dfb6fe1ed3b2296e56cef24be9fc3b07223bc2978b5fb0f116d996bddea4e0bc50db1accef6a82ed263183d13fad7d23a56a9c15da077fc
|
|
@@ -1,4 +1,15 @@
|
|
|
1
1
|
class ConnectKatelloRootRepositoryToSccRepository < ActiveRecord::Migration[5.2]
|
|
2
|
+
# add SccRepository class, because original one triggers the token_changed_callback
|
|
3
|
+
# which tried to update Katello root repositories
|
|
4
|
+
class SccRepository < ApplicationRecord
|
|
5
|
+
belongs_to :katello_root_repository, class_name: 'Katello::RootRepository'
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
class SccProduct < ApplicationRecord
|
|
9
|
+
belongs_to :product, class_name: 'Katello::Product'
|
|
10
|
+
has_and_belongs_to_many :scc_repositories
|
|
11
|
+
end
|
|
12
|
+
|
|
2
13
|
def up
|
|
3
14
|
SccProduct.where.not(product_id: nil).each do |scc_p|
|
|
4
15
|
# extract all katello root repository ids from subscribed products
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_scc_manager
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ATIX AG
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-03-
|
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rdoc
|