Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to using PublishedMetada.create_from_file() #278

Merged
merged 1 commit into from Sep 25, 2019

Conversation

dkliban
Copy link
Member

@dkliban dkliban commented Sep 19, 2019

dkliban added a commit to dkliban/pulpcore that referenced this pull request Sep 19, 2019
This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: pulp/pulp_file#278

closes: #5304
https://pulp.plan.io/issues/5304
@dkliban dkliban force-pushed the publishedmetadata branch 2 times, most recently from fcc2aa5 to b474284 Compare September 19, 2019 17:31
dkliban added a commit to dkliban/pulpcore that referenced this pull request Sep 19, 2019
This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: pulp/pulp_file#278

closes: #5304
https://pulp.plan.io/issues/5304
dkliban added a commit to dkliban/pulpcore that referenced this pull request Sep 19, 2019
This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: pulp/pulp_file#278

closes: #5304
https://pulp.plan.io/issues/5304
dkliban added a commit to dkliban/pulpcore that referenced this pull request Sep 23, 2019
This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: pulp/pulp_file#278

closes: #5304
https://pulp.plan.io/issues/5304
dkliban added a commit to dkliban/pulpcore that referenced this pull request Sep 23, 2019
This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: pulp/pulp_file#278

closes: #5304
https://pulp.plan.io/issues/5304
dkliban added a commit to dkliban/pulpcore that referenced this pull request Sep 24, 2019
This patch changes PublishedMetadata into Content. This requires migrating the database.
The migration that comes with this change will only work on an empty database. It will
fail to migrate any existing PublishedMetadata. This is a backwards incompatible change.

The PublishedArtifact now has a classmethod called 'create_from_file'. This method creates
PublishedMetadata along with an Artifact, ContentArtifact, and PublishedArtifact.

Required PR: pulp/pulp_file#278

closes: #5304
https://pulp.plan.io/issues/5304
@dkliban dkliban merged commit 36f4b95 into pulp:master Sep 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants