pulp-gem 0.6.2__tar.gz → 0.7.0__tar.gz
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.
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/CHANGES.md +19 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/MANIFEST.in +2 -2
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/PKG-INFO +8 -18
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/__init__.py +1 -1
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0001_initial.py +7 -7
- pulp_gem-0.7.0/pulp_gem/app/migrations/0001_initial_squashed_0011_alter_gemcontent_platform.py +141 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0002_gemrepository.py +2 -3
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0003_move_data_to_new_master_distribution_model.py +33 -24
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/tasks/synchronizing.py +3 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/specs.py +5 -1
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_replicate.py +1 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem.egg-info/PKG-INFO +8 -18
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem.egg-info/SOURCES.txt +1 -2
- pulp_gem-0.7.0/pulp_gem.egg-info/top_level.txt +4 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pyproject.toml +85 -46
- pulp_gem-0.6.2/pulp_gem.egg-info/top_level.txt +0 -1
- pulp_gem-0.6.2/requirements.txt +0 -3
- pulp_gem-0.6.2/setup.py +0 -38
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/COMMITMENT +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/COPYRIGHT +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/LICENSE +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/README.md +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/functest_requirements.txt +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0004_alter_gemcontent_content_ptr_and_more.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0005_rename_gemcontent_shallowgemcontent.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0006_gemremote_excludes_gemremote_includes_and_more.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0007_DATA_fix_prerelease.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0008_gemcontent_platform.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0009_check_datarepair.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0010_delete_shallowgemcontent.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0011_alter_gemcontent_platform.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/0012_alter_gemdistribution_options_and_more.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/migrations/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/models.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/replica.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/serializers.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/settings.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/tasks/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/tasks/publishing.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/app/viewsets.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_crud_content_unit.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_crud_remotes.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_domain.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_download_content.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_publish.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_pull_through.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/api/test_sync.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/conftest.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/functional/constants.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/unit/__init__.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/unit/test_serializers.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem/tests/unit/test_spec.py +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem.egg-info/dependency_links.txt +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem.egg-info/entry_points.txt +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/pulp_gem.egg-info/requires.txt +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/setup.cfg +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/test_requirements.txt +0 -0
- {pulp_gem-0.6.2 → pulp_gem-0.7.0}/unittest_requirements.txt +0 -0
|
@@ -8,6 +8,25 @@
|
|
|
8
8
|
|
|
9
9
|
[//]: # (towncrier release notes start)
|
|
10
10
|
|
|
11
|
+
## 0.7.0 (2025-03-18) {: #0.7.0 }
|
|
12
|
+
|
|
13
|
+
#### Bugfixes {: #0.7.0-bugfix }
|
|
14
|
+
|
|
15
|
+
- Fixed handling somewhat inconsistent metadata on rubygems.org where an md5 checksum is missing in the versions file.
|
|
16
|
+
[#313](https://github.com/pulp/pulp_gem/issues/313)
|
|
17
|
+
- Allowed pulp-glue-gem version 0.5.* to be installed.
|
|
18
|
+
|
|
19
|
+
#### Deprecations and Removals {: #0.7.0-removal }
|
|
20
|
+
|
|
21
|
+
- Squashed and rebased old migrations (before the 0.4 release) to prepare for pulpcore 3.70 compatibility.
|
|
22
|
+
[#334](https://github.com/pulp/pulp_gem/issues/334)
|
|
23
|
+
|
|
24
|
+
#### Misc {: #0.7.0-misc }
|
|
25
|
+
|
|
26
|
+
- [#339](https://github.com/pulp/pulp_gem/issues/339)
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
11
30
|
## 0.6.2 (2025-02-10) {: #0.6.2 }
|
|
12
31
|
|
|
13
32
|
#### Misc {: #0.6.2-misc }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
include CHANGES.md
|
|
2
|
+
exclude CONTRIBUTING.md
|
|
2
3
|
include COMMITMENT
|
|
3
4
|
include COPYRIGHT
|
|
5
|
+
include LICENSE
|
|
4
6
|
include README.md
|
|
5
7
|
include functest_requirements.txt
|
|
6
|
-
include LICENSE
|
|
7
|
-
include requirements.txt
|
|
8
8
|
include test_requirements.txt
|
|
9
9
|
include unittest_requirements.txt
|
|
10
10
|
include pyproject.toml
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pulp-gem
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Gemfile plugin for the Pulp Project
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Project-URL:
|
|
10
|
-
Project-URL:
|
|
11
|
-
Project-URL: Tracker, https://github.com/pulp/pulp_gem/issues
|
|
5
|
+
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
6
|
+
Project-URL: Homepage, https://pulpproject.org
|
|
7
|
+
Project-URL: Documentation, https://pulpproject.org/pulp_gem/
|
|
8
|
+
Project-URL: Repository, https://github.com/pulp/pulp_gem
|
|
9
|
+
Project-URL: Bug Tracker, https://github.com/pulp/pulp_gem/issues
|
|
10
|
+
Project-URL: Changelog, https://pulpproject.org/pulp_gem/changes/
|
|
12
11
|
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
|
13
12
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -16,20 +15,11 @@ Classifier: Framework :: Django
|
|
|
16
15
|
Classifier: Programming Language :: Python
|
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
|
18
17
|
Requires-Python: >=3.9
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
20
|
Requires-Dist: pulpcore<3.85,>=3.49.0
|
|
21
21
|
Requires-Dist: pulp_glue_gem<0.6,>=0.3.0
|
|
22
22
|
Requires-Dist: rubymarshal<1.3,>=1.2.7
|
|
23
|
-
Dynamic: author
|
|
24
|
-
Dynamic: author-email
|
|
25
|
-
Dynamic: classifier
|
|
26
|
-
Dynamic: description
|
|
27
|
-
Dynamic: home-page
|
|
28
|
-
Dynamic: license
|
|
29
|
-
Dynamic: project-url
|
|
30
|
-
Dynamic: requires-dist
|
|
31
|
-
Dynamic: requires-python
|
|
32
|
-
Dynamic: summary
|
|
33
23
|
|
|
34
24
|
# pulp-gem
|
|
35
25
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by Django
|
|
1
|
+
# Generated by Django 4.2.16 on 2024-12-05 16:05
|
|
2
2
|
|
|
3
3
|
from django.db import migrations, models
|
|
4
4
|
import django.db.models.deletion
|
|
@@ -9,14 +9,14 @@ class Migration(migrations.Migration):
|
|
|
9
9
|
initial = True
|
|
10
10
|
|
|
11
11
|
dependencies = [
|
|
12
|
-
('core', '
|
|
12
|
+
('core', '0091_systemid'),
|
|
13
13
|
]
|
|
14
14
|
|
|
15
15
|
operations = [
|
|
16
16
|
migrations.CreateModel(
|
|
17
17
|
name='GemPublication',
|
|
18
18
|
fields=[
|
|
19
|
-
('publication_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gempublication', serialize=False, to='core.
|
|
19
|
+
('publication_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gempublication', serialize=False, to='core.publication')),
|
|
20
20
|
],
|
|
21
21
|
options={
|
|
22
22
|
'default_related_name': '%(app_label)s_%(model_name)s',
|
|
@@ -26,7 +26,7 @@ class Migration(migrations.Migration):
|
|
|
26
26
|
migrations.CreateModel(
|
|
27
27
|
name='GemRemote',
|
|
28
28
|
fields=[
|
|
29
|
-
('remote_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemremote', serialize=False, to='core.
|
|
29
|
+
('remote_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemremote', serialize=False, to='core.remote')),
|
|
30
30
|
],
|
|
31
31
|
options={
|
|
32
32
|
'default_related_name': '%(app_label)s_%(model_name)s',
|
|
@@ -36,8 +36,8 @@ class Migration(migrations.Migration):
|
|
|
36
36
|
migrations.CreateModel(
|
|
37
37
|
name='GemDistribution',
|
|
38
38
|
fields=[
|
|
39
|
-
('basedistribution_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemdistribution', serialize=False, to='core.
|
|
40
|
-
('publication', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='gem_gemdistribution', to='core.
|
|
39
|
+
('basedistribution_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemdistribution', serialize=False, to='core.basedistribution')),
|
|
40
|
+
('publication', models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='gem_gemdistribution', to='core.publication')),
|
|
41
41
|
],
|
|
42
42
|
options={
|
|
43
43
|
'default_related_name': '%(app_label)s_%(model_name)s',
|
|
@@ -47,7 +47,7 @@ class Migration(migrations.Migration):
|
|
|
47
47
|
migrations.CreateModel(
|
|
48
48
|
name='GemContent',
|
|
49
49
|
fields=[
|
|
50
|
-
('content_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemcontent', serialize=False, to='core.
|
|
50
|
+
('content_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemcontent', serialize=False, to='core.content')),
|
|
51
51
|
('name', models.TextField()),
|
|
52
52
|
('version', models.TextField()),
|
|
53
53
|
],
|
pulp_gem-0.7.0/pulp_gem/app/migrations/0001_initial_squashed_0011_alter_gemcontent_platform.py
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
# Generated by Django 4.2.16 on 2024-12-06 13:29
|
|
2
|
+
|
|
3
|
+
import django.contrib.postgres.fields.hstore
|
|
4
|
+
from django.db import migrations, models
|
|
5
|
+
import django.db.models.deletion
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class Migration(migrations.Migration):
|
|
9
|
+
|
|
10
|
+
replaces = [
|
|
11
|
+
("gem", "0001_initial"),
|
|
12
|
+
("gem", "0002_gemrepository"),
|
|
13
|
+
("gem", "0003_move_data_to_new_master_distribution_model"),
|
|
14
|
+
("gem", "0004_alter_gemcontent_content_ptr_and_more"),
|
|
15
|
+
("gem", "0005_rename_gemcontent_shallowgemcontent"),
|
|
16
|
+
("gem", "0006_gemremote_excludes_gemremote_includes_and_more"),
|
|
17
|
+
("gem", "0007_DATA_fix_prerelease"),
|
|
18
|
+
("gem", "0008_gemcontent_platform"),
|
|
19
|
+
("gem", "0009_check_datarepair"),
|
|
20
|
+
("gem", "0010_delete_shallowgemcontent"),
|
|
21
|
+
("gem", "0011_alter_gemcontent_platform"),
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
dependencies = [
|
|
25
|
+
("core", "0106_alter_artifactdistribution_distribution_ptr_and_more"),
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
operations = [
|
|
29
|
+
migrations.CreateModel(
|
|
30
|
+
name="GemDistribution",
|
|
31
|
+
fields=[
|
|
32
|
+
(
|
|
33
|
+
"distribution_ptr",
|
|
34
|
+
models.OneToOneField(
|
|
35
|
+
auto_created=True,
|
|
36
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
37
|
+
parent_link=True,
|
|
38
|
+
primary_key=True,
|
|
39
|
+
serialize=False,
|
|
40
|
+
to="core.distribution",
|
|
41
|
+
),
|
|
42
|
+
),
|
|
43
|
+
],
|
|
44
|
+
options={
|
|
45
|
+
"default_related_name": "%(app_label)s_%(model_name)s",
|
|
46
|
+
},
|
|
47
|
+
bases=("core.distribution",),
|
|
48
|
+
),
|
|
49
|
+
migrations.CreateModel(
|
|
50
|
+
name="GemRemote",
|
|
51
|
+
fields=[
|
|
52
|
+
(
|
|
53
|
+
"remote_ptr",
|
|
54
|
+
models.OneToOneField(
|
|
55
|
+
auto_created=True,
|
|
56
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
57
|
+
parent_link=True,
|
|
58
|
+
primary_key=True,
|
|
59
|
+
serialize=False,
|
|
60
|
+
to="core.remote",
|
|
61
|
+
),
|
|
62
|
+
),
|
|
63
|
+
("excludes", django.contrib.postgres.fields.hstore.HStoreField(null=True)),
|
|
64
|
+
("includes", django.contrib.postgres.fields.hstore.HStoreField(null=True)),
|
|
65
|
+
("prereleases", models.BooleanField(default=False)),
|
|
66
|
+
],
|
|
67
|
+
options={
|
|
68
|
+
"default_related_name": "%(app_label)s_%(model_name)s",
|
|
69
|
+
},
|
|
70
|
+
bases=("core.remote",),
|
|
71
|
+
),
|
|
72
|
+
migrations.CreateModel(
|
|
73
|
+
name="GemPublication",
|
|
74
|
+
fields=[
|
|
75
|
+
(
|
|
76
|
+
"publication_ptr",
|
|
77
|
+
models.OneToOneField(
|
|
78
|
+
auto_created=True,
|
|
79
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
80
|
+
parent_link=True,
|
|
81
|
+
primary_key=True,
|
|
82
|
+
serialize=False,
|
|
83
|
+
to="core.publication",
|
|
84
|
+
),
|
|
85
|
+
),
|
|
86
|
+
],
|
|
87
|
+
options={
|
|
88
|
+
"default_related_name": "%(app_label)s_%(model_name)s",
|
|
89
|
+
},
|
|
90
|
+
bases=("core.publication",),
|
|
91
|
+
),
|
|
92
|
+
migrations.CreateModel(
|
|
93
|
+
name="GemContent",
|
|
94
|
+
fields=[
|
|
95
|
+
(
|
|
96
|
+
"content_ptr",
|
|
97
|
+
models.OneToOneField(
|
|
98
|
+
auto_created=True,
|
|
99
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
100
|
+
parent_link=True,
|
|
101
|
+
primary_key=True,
|
|
102
|
+
serialize=False,
|
|
103
|
+
to="core.content",
|
|
104
|
+
),
|
|
105
|
+
),
|
|
106
|
+
("name", models.TextField()),
|
|
107
|
+
("version", models.TextField()),
|
|
108
|
+
("checksum", models.CharField(db_index=True, max_length=64)),
|
|
109
|
+
("dependencies", django.contrib.postgres.fields.hstore.HStoreField(default=dict)),
|
|
110
|
+
("required_ruby_version", models.TextField(null=True)),
|
|
111
|
+
("required_rubygems_version", models.TextField(null=True)),
|
|
112
|
+
("prerelease", models.BooleanField(default=False)),
|
|
113
|
+
("platform", models.TextField()),
|
|
114
|
+
],
|
|
115
|
+
options={
|
|
116
|
+
"default_related_name": "%(app_label)s_%(model_name)s",
|
|
117
|
+
"unique_together": {("checksum",)},
|
|
118
|
+
},
|
|
119
|
+
bases=("core.content",),
|
|
120
|
+
),
|
|
121
|
+
migrations.CreateModel(
|
|
122
|
+
name="GemRepository",
|
|
123
|
+
fields=[
|
|
124
|
+
(
|
|
125
|
+
"repository_ptr",
|
|
126
|
+
models.OneToOneField(
|
|
127
|
+
auto_created=True,
|
|
128
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
129
|
+
parent_link=True,
|
|
130
|
+
primary_key=True,
|
|
131
|
+
serialize=False,
|
|
132
|
+
to="core.repository",
|
|
133
|
+
),
|
|
134
|
+
),
|
|
135
|
+
],
|
|
136
|
+
options={
|
|
137
|
+
"default_related_name": "%(app_label)s_%(model_name)s",
|
|
138
|
+
},
|
|
139
|
+
bases=("core.repository",),
|
|
140
|
+
),
|
|
141
|
+
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Generated by Django
|
|
1
|
+
# Generated by Django 4.2.16 on 2024-12-05 16:05
|
|
2
2
|
|
|
3
3
|
from django.db import migrations, models
|
|
4
4
|
import django.db.models.deletion
|
|
@@ -7,7 +7,6 @@ import django.db.models.deletion
|
|
|
7
7
|
class Migration(migrations.Migration):
|
|
8
8
|
|
|
9
9
|
dependencies = [
|
|
10
|
-
('core', '0033_increase_remote_artifact_size_field'),
|
|
11
10
|
('gem', '0001_initial'),
|
|
12
11
|
]
|
|
13
12
|
|
|
@@ -15,7 +14,7 @@ class Migration(migrations.Migration):
|
|
|
15
14
|
migrations.CreateModel(
|
|
16
15
|
name='GemRepository',
|
|
17
16
|
fields=[
|
|
18
|
-
('repository_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemrepository', serialize=False, to='core.
|
|
17
|
+
('repository_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, related_name='gem_gemrepository', serialize=False, to='core.repository')),
|
|
19
18
|
],
|
|
20
19
|
options={
|
|
21
20
|
'default_related_name': '%(app_label)s_%(model_name)s',
|
|
@@ -6,8 +6,8 @@ pks_to_delete = []
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
def migrate_data_from_old_master_model_to_new_master_model(apps, schema_editor):
|
|
9
|
-
GemDistribution = apps.get_model(
|
|
10
|
-
CoreDistribution = apps.get_model(
|
|
9
|
+
GemDistribution = apps.get_model("gem", "GemDistribution")
|
|
10
|
+
CoreDistribution = apps.get_model("core", "Distribution")
|
|
11
11
|
for old_gem_distribution in GemDistribution.objects.all():
|
|
12
12
|
with transaction.atomic():
|
|
13
13
|
new_master_model_entry = CoreDistribution(
|
|
@@ -36,39 +36,48 @@ def delete_remaining_old_master_model_entries(apps, schema_editor):
|
|
|
36
36
|
class Migration(migrations.Migration):
|
|
37
37
|
|
|
38
38
|
dependencies = [
|
|
39
|
-
(
|
|
40
|
-
('gem', '0002_gemrepository'),
|
|
39
|
+
("gem", "0002_gemrepository"),
|
|
41
40
|
]
|
|
42
41
|
|
|
43
42
|
operations = [
|
|
44
43
|
migrations.AddField(
|
|
45
|
-
model_name=
|
|
46
|
-
name=
|
|
47
|
-
field=models.OneToOneField(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
44
|
+
model_name="GemDistribution",
|
|
45
|
+
name="distribution_ptr",
|
|
46
|
+
field=models.OneToOneField(
|
|
47
|
+
auto_created=True,
|
|
48
|
+
null=True,
|
|
49
|
+
default=None,
|
|
50
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
51
|
+
parent_link=True,
|
|
52
|
+
primary_key=False,
|
|
53
|
+
related_name="gem_gemdistribution",
|
|
54
|
+
serialize=False,
|
|
55
|
+
to="core.Distribution",
|
|
56
|
+
),
|
|
52
57
|
preserve_default=False,
|
|
53
58
|
),
|
|
54
|
-
migrations.RunPython(migrate_data_from_old_master_model_to_new_master_model),
|
|
59
|
+
migrations.RunPython(migrate_data_from_old_master_model_to_new_master_model, elidable=True),
|
|
55
60
|
migrations.RemoveField(
|
|
56
|
-
model_name=
|
|
57
|
-
name=
|
|
61
|
+
model_name="GemDistribution",
|
|
62
|
+
name="basedistribution_ptr",
|
|
58
63
|
),
|
|
59
64
|
migrations.AlterField(
|
|
60
|
-
model_name=
|
|
61
|
-
name=
|
|
62
|
-
field=models.OneToOneField(
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
model_name="GemDistribution",
|
|
66
|
+
name="distribution_ptr",
|
|
67
|
+
field=models.OneToOneField(
|
|
68
|
+
auto_created=True,
|
|
69
|
+
on_delete=django.db.models.deletion.CASCADE,
|
|
70
|
+
parent_link=True,
|
|
71
|
+
primary_key=True,
|
|
72
|
+
related_name="gem_gemdistribution",
|
|
73
|
+
serialize=False,
|
|
74
|
+
to="core.distribution",
|
|
75
|
+
),
|
|
67
76
|
preserve_default=False,
|
|
68
77
|
),
|
|
69
78
|
migrations.RemoveField(
|
|
70
|
-
model_name=
|
|
71
|
-
name=
|
|
79
|
+
model_name="GemDistribution",
|
|
80
|
+
name="publication",
|
|
72
81
|
),
|
|
73
|
-
migrations.RunPython(delete_remaining_old_master_model_entries),
|
|
82
|
+
migrations.RunPython(delete_remaining_old_master_model_entries, elidable=True),
|
|
74
83
|
]
|
|
@@ -188,6 +188,9 @@ class GemFirstStage(Stage):
|
|
|
188
188
|
info_url = urljoin(urljoin(self.remote.url, "info/"), name)
|
|
189
189
|
if "md5" in settings.ALLOWED_CONTENT_CHECKSUMS:
|
|
190
190
|
extra_kwargs = {"expected_digests": {"md5": md5_sum}}
|
|
191
|
+
elif md5_sum is None:
|
|
192
|
+
extra_kwargs = {}
|
|
193
|
+
log.warn(f"Checksum of info file for '{name}' was not provided.")
|
|
191
194
|
else:
|
|
192
195
|
extra_kwargs = {}
|
|
193
196
|
log.warn(f"Checksum of info file for '{name}' could not be validated.")
|
|
@@ -108,7 +108,11 @@ async def read_versions(relative_path):
|
|
|
108
108
|
continue
|
|
109
109
|
if preamble:
|
|
110
110
|
continue
|
|
111
|
-
|
|
111
|
+
# Dirty trick to make the md5sum default to None
|
|
112
|
+
split_line = line.split(" ", maxsplit=2) + [None]
|
|
113
|
+
name = split_line[0]
|
|
114
|
+
versions_str = split_line[1]
|
|
115
|
+
md5_sum = split_line[2]
|
|
112
116
|
ext_versions = versions_str.split(",")
|
|
113
117
|
entry = results.get(name) or ([], "")
|
|
114
118
|
results[name] = (entry[0] + ext_versions, md5_sum)
|
|
@@ -48,6 +48,7 @@ def test_replication(
|
|
|
48
48
|
"domain": source_domain.name,
|
|
49
49
|
"username": bindings_cfg.username,
|
|
50
50
|
"password": bindings_cfg.password,
|
|
51
|
+
"tls_validation": False,
|
|
51
52
|
}
|
|
52
53
|
upstream_pulp = gen_object_with_cleanup(
|
|
53
54
|
pulpcore_bindings.UpstreamPulpsApi, upstream_pulp_body, pulp_domain=replica_domain.name
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: pulp-gem
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.7.0
|
|
4
4
|
Summary: Gemfile plugin for the Pulp Project
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
Project-URL:
|
|
10
|
-
Project-URL:
|
|
11
|
-
Project-URL: Tracker, https://github.com/pulp/pulp_gem/issues
|
|
5
|
+
Author-email: Pulp Team <pulp-list@redhat.com>
|
|
6
|
+
Project-URL: Homepage, https://pulpproject.org
|
|
7
|
+
Project-URL: Documentation, https://pulpproject.org/pulp_gem/
|
|
8
|
+
Project-URL: Repository, https://github.com/pulp/pulp_gem
|
|
9
|
+
Project-URL: Bug Tracker, https://github.com/pulp/pulp_gem/issues
|
|
10
|
+
Project-URL: Changelog, https://pulpproject.org/pulp_gem/changes/
|
|
12
11
|
Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)
|
|
13
12
|
Classifier: Operating System :: POSIX :: Linux
|
|
14
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -16,20 +15,11 @@ Classifier: Framework :: Django
|
|
|
16
15
|
Classifier: Programming Language :: Python
|
|
17
16
|
Classifier: Programming Language :: Python :: 3
|
|
18
17
|
Requires-Python: >=3.9
|
|
18
|
+
Description-Content-Type: text/markdown
|
|
19
19
|
License-File: LICENSE
|
|
20
20
|
Requires-Dist: pulpcore<3.85,>=3.49.0
|
|
21
21
|
Requires-Dist: pulp_glue_gem<0.6,>=0.3.0
|
|
22
22
|
Requires-Dist: rubymarshal<1.3,>=1.2.7
|
|
23
|
-
Dynamic: author
|
|
24
|
-
Dynamic: author-email
|
|
25
|
-
Dynamic: classifier
|
|
26
|
-
Dynamic: description
|
|
27
|
-
Dynamic: home-page
|
|
28
|
-
Dynamic: license
|
|
29
|
-
Dynamic: project-url
|
|
30
|
-
Dynamic: requires-dist
|
|
31
|
-
Dynamic: requires-python
|
|
32
|
-
Dynamic: summary
|
|
33
23
|
|
|
34
24
|
# pulp-gem
|
|
35
25
|
|
|
@@ -6,8 +6,6 @@ MANIFEST.in
|
|
|
6
6
|
README.md
|
|
7
7
|
functest_requirements.txt
|
|
8
8
|
pyproject.toml
|
|
9
|
-
requirements.txt
|
|
10
|
-
setup.py
|
|
11
9
|
test_requirements.txt
|
|
12
10
|
unittest_requirements.txt
|
|
13
11
|
pulp_gem/__init__.py
|
|
@@ -25,6 +23,7 @@ pulp_gem/app/serializers.py
|
|
|
25
23
|
pulp_gem/app/settings.py
|
|
26
24
|
pulp_gem/app/viewsets.py
|
|
27
25
|
pulp_gem/app/migrations/0001_initial.py
|
|
26
|
+
pulp_gem/app/migrations/0001_initial_squashed_0011_alter_gemcontent_platform.py
|
|
28
27
|
pulp_gem/app/migrations/0002_gemrepository.py
|
|
29
28
|
pulp_gem/app/migrations/0003_move_data_to_new_master_distribution_model.py
|
|
30
29
|
pulp_gem/app/migrations/0004_alter_gemcontent_content_ptr_and_more.py
|
|
@@ -1,56 +1,50 @@
|
|
|
1
|
-
[
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
issue_format = "[#{issue}](https://github.com/pulp/pulp_gem/issues/{issue})"
|
|
8
|
-
start_string = "[//]: # (towncrier release notes start)\n"
|
|
9
|
-
underlines = ["", "", ""]
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = [
|
|
3
|
+
"setuptools >= 40.8.0",
|
|
4
|
+
"wheel >= 0.29.0",
|
|
5
|
+
]
|
|
6
|
+
build-backend = 'setuptools.build_meta'
|
|
10
7
|
|
|
8
|
+
[project]
|
|
9
|
+
name = "pulp-gem"
|
|
10
|
+
version = "0.7.0"
|
|
11
|
+
description = "Gemfile plugin for the Pulp Project"
|
|
12
|
+
readme = "README.md"
|
|
13
|
+
authors = [
|
|
14
|
+
{name="Pulp Team", email="pulp-list@redhat.com"},
|
|
15
|
+
]
|
|
16
|
+
classifiers=[
|
|
17
|
+
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
|
18
|
+
"Operating System :: POSIX :: Linux",
|
|
19
|
+
"Development Status :: 5 - Production/Stable",
|
|
20
|
+
"Framework :: Django",
|
|
21
|
+
"Programming Language :: Python",
|
|
22
|
+
"Programming Language :: Python :: 3",
|
|
23
|
+
]
|
|
24
|
+
requires-python = ">=3.9"
|
|
25
|
+
dependencies = [
|
|
26
|
+
"pulpcore>=3.49.0,<3.85",
|
|
27
|
+
"pulp_glue_gem>=0.3.0,<0.6",
|
|
28
|
+
"rubymarshal>=1.2.7,<1.3",
|
|
29
|
+
]
|
|
11
30
|
|
|
12
|
-
[
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/
|
|
17
|
-
|
|
18
|
-
| \.git
|
|
19
|
-
| \.venv
|
|
20
|
-
| _build
|
|
21
|
-
| build
|
|
22
|
-
| dist
|
|
23
|
-
| migrations
|
|
24
|
-
| docs
|
|
25
|
-
)/
|
|
26
|
-
'''
|
|
31
|
+
[project.urls]
|
|
32
|
+
Homepage = "https://pulpproject.org"
|
|
33
|
+
Documentation = "https://pulpproject.org/pulp_gem/"
|
|
34
|
+
Repository = "https://github.com/pulp/pulp_gem"
|
|
35
|
+
"Bug Tracker" = "https://github.com/pulp/pulp_gem/issues"
|
|
36
|
+
Changelog = "https://pulpproject.org/pulp_gem/changes/"
|
|
27
37
|
|
|
38
|
+
[project.entry-points."pulpcore.plugin"]
|
|
39
|
+
pulp_gem = "pulp_gem:default_app_config"
|
|
28
40
|
|
|
29
|
-
[tool.
|
|
30
|
-
|
|
31
|
-
".bumpversion.cfg",
|
|
32
|
-
"CHANGES/**",
|
|
33
|
-
"CONTRIBUTING.rst",
|
|
34
|
-
"CODEOWNERS",
|
|
35
|
-
"HISTORY.rst",
|
|
36
|
-
"dev_requirements.txt",
|
|
37
|
-
"doc_requirements.txt",
|
|
38
|
-
"docs/**",
|
|
39
|
-
"staging_docs/**",
|
|
40
|
-
"template_config.yml",
|
|
41
|
-
".travis/**",
|
|
42
|
-
".travis.yml",
|
|
43
|
-
".pep8speaks.yml",
|
|
44
|
-
".ci/**",
|
|
45
|
-
".github/**",
|
|
46
|
-
"lint_requirements.txt",
|
|
47
|
-
".flake8",
|
|
48
|
-
]
|
|
41
|
+
[tool.setuptools.packages.find]
|
|
42
|
+
where = ["."]
|
|
49
43
|
|
|
50
44
|
[tool.bumpversion]
|
|
51
45
|
# This section is managed by the plugin template. Do not edit manually.
|
|
52
46
|
|
|
53
|
-
current_version = "0.
|
|
47
|
+
current_version = "0.7.0"
|
|
54
48
|
commit = false
|
|
55
49
|
tag = false
|
|
56
50
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<alpha>0a)?(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?"
|
|
@@ -90,4 +84,49 @@ search = "version = \"{current_version}\""
|
|
|
90
84
|
replace = "version = \"{new_version}\""
|
|
91
85
|
|
|
92
86
|
[[tool.bumpversion.files]]
|
|
93
|
-
|
|
87
|
+
# This section is managed by the plugin template. Do not edit manually.
|
|
88
|
+
|
|
89
|
+
filename = "./pyproject.toml"
|
|
90
|
+
search = "version = \"{current_version}\""
|
|
91
|
+
replace = "version = \"{new_version}\""
|
|
92
|
+
[tool.towncrier]
|
|
93
|
+
package = "pulp_gem"
|
|
94
|
+
filename = "CHANGES.md"
|
|
95
|
+
directory = "CHANGES/"
|
|
96
|
+
title_format = "## {version} ({project_date}) {{: #{version} }}"
|
|
97
|
+
template = "CHANGES/.TEMPLATE.md"
|
|
98
|
+
issue_format = "[#{issue}](https://github.com/pulp/pulp_gem/issues/{issue})"
|
|
99
|
+
start_string = "[//]: # (towncrier release notes start)\n"
|
|
100
|
+
underlines = ["", "", ""]
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
[tool.black]
|
|
104
|
+
line-length = 100
|
|
105
|
+
target-version = ["py39"]
|
|
106
|
+
exclude = '''
|
|
107
|
+
/(
|
|
108
|
+
\.eggs
|
|
109
|
+
| \.git
|
|
110
|
+
| \.venv
|
|
111
|
+
| _build
|
|
112
|
+
| build
|
|
113
|
+
| dist
|
|
114
|
+
| migrations
|
|
115
|
+
| docs
|
|
116
|
+
)/
|
|
117
|
+
'''
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
[tool.check-manifest]
|
|
121
|
+
ignore = [
|
|
122
|
+
"CHANGES/**",
|
|
123
|
+
"dev_requirements.txt",
|
|
124
|
+
"doc_requirements.txt",
|
|
125
|
+
"docs/**",
|
|
126
|
+
"template_config.yml",
|
|
127
|
+
".pep8speaks.yml",
|
|
128
|
+
".ci/**",
|
|
129
|
+
".github/**",
|
|
130
|
+
"lint_requirements.txt",
|
|
131
|
+
".flake8",
|
|
132
|
+
]
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
pulp_gem
|
pulp_gem-0.6.2/requirements.txt
DELETED
pulp_gem-0.6.2/setup.py
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env python3
|
|
2
|
-
|
|
3
|
-
from setuptools import find_packages, setup
|
|
4
|
-
|
|
5
|
-
with open("requirements.txt") as requirements:
|
|
6
|
-
requirements = requirements.readlines()
|
|
7
|
-
|
|
8
|
-
with open("README.md") as f:
|
|
9
|
-
long_description = f.read()
|
|
10
|
-
|
|
11
|
-
setup(
|
|
12
|
-
name="pulp-gem",
|
|
13
|
-
version="0.6.2",
|
|
14
|
-
description="Gemfile plugin for the Pulp Project",
|
|
15
|
-
long_description=long_description,
|
|
16
|
-
license="GPLv2+",
|
|
17
|
-
author="Pulp Project Developers",
|
|
18
|
-
author_email="pulp-dev@redhat.com",
|
|
19
|
-
url="https://pulpproject.org/",
|
|
20
|
-
python_requires=">=3.9",
|
|
21
|
-
install_requires=requirements,
|
|
22
|
-
include_package_data=True,
|
|
23
|
-
packages=find_packages(exclude=["tests", "tests.*"]),
|
|
24
|
-
classifiers=(
|
|
25
|
-
"License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)",
|
|
26
|
-
"Operating System :: POSIX :: Linux",
|
|
27
|
-
"Development Status :: 5 - Production/Stable",
|
|
28
|
-
"Framework :: Django",
|
|
29
|
-
"Programming Language :: Python",
|
|
30
|
-
"Programming Language :: Python :: 3",
|
|
31
|
-
),
|
|
32
|
-
entry_points={"pulpcore.plugin": ["pulp_gem = pulp_gem:default_app_config"]},
|
|
33
|
-
project_urls={
|
|
34
|
-
"Documentation": "https://docs.pulpproject.org/pulp_gem/",
|
|
35
|
-
"Source": "https://github.com/pulp/pulp_gem",
|
|
36
|
-
"Tracker": "https://github.com/pulp/pulp_gem/issues",
|
|
37
|
-
},
|
|
38
|
-
)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|