-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19d62f8
commit 9ef3dc7
Showing
27 changed files
with
1,584 additions
and
648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added support for Domains. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
# Generated by Django 3.2.18 on 2023-04-19 00:43 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import pulpcore.app.util | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('core', '0102_add_domain_relations'), | ||
('rpm', '0050_alter_addon_pulp_id_alter_checksum_pulp_id_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='distributiontree', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_distributiontree', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='modulemd', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_modulemd', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='modulemddefaults', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_modulemddefaults', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='modulemdobsolete', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_modulemdobsolete', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='package', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_package', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='packagecategory', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_packagecategory', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='packageenvironment', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_packageenvironment', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='packagegroup', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_packagegroup', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='packagelangpacks', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_packagelangpacks', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='repometadatafile', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_repometadatafile', to='core.domain'), | ||
), | ||
migrations.AddField( | ||
model_name='updaterecord', | ||
name='_pulp_domain', | ||
field=models.ForeignKey(default=pulpcore.app.util.get_domain_pk, on_delete=django.db.models.deletion.PROTECT, related_name='rpm_updaterecord', to='core.domain'), | ||
), | ||
migrations.AlterField( | ||
model_name='modulemddefaults', | ||
name='digest', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterField( | ||
model_name='package', | ||
name='pkgId', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterField( | ||
model_name='packagecategory', | ||
name='digest', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterField( | ||
model_name='packageenvironment', | ||
name='digest', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterField( | ||
model_name='packagegroup', | ||
name='digest', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterField( | ||
model_name='packagelangpacks', | ||
name='digest', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterField( | ||
model_name='updaterecord', | ||
name='digest', | ||
field=models.TextField(db_index=True), | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='distributiontree', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='modulemd', | ||
unique_together={('_pulp_domain', 'name', 'stream', 'version', 'context', 'arch')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='modulemddefaults', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='modulemdobsolete', | ||
unique_together={('_pulp_domain', 'modified', 'module_name', 'module_stream')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='package', | ||
unique_together={('_pulp_domain', 'name', 'epoch', 'version', 'release', 'arch', 'checksum_type', 'pkgId')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='packagecategory', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='packageenvironment', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='packagegroup', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='packagelangpacks', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='repometadatafile', | ||
unique_together={('_pulp_domain', 'data_type', 'checksum', 'relative_path')}, | ||
), | ||
migrations.AlterUniqueTogether( | ||
name='updaterecord', | ||
unique_together={('_pulp_domain', 'digest')}, | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.