-
Notifications
You must be signed in to change notification settings - Fork 112
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
Reuse existing artifact and content units in case the user provided proof that they have the bits #3081
Labels
Comments
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 16, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 16, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 16, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 16, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 23, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 23, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 23, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 23, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 24, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 24, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Aug 26, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 5, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 5, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 6, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 6, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 8, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 9, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 9, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 9, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
MichalPysik
added a commit
to MichalPysik/pulpcore
that referenced
this issue
Sep 9, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes pulp#3081
bmbouter
pushed a commit
that referenced
this issue
Sep 9, 2022
Attempting to upload existing content now returns the href of the existing unit instead of raising an exception, possibly also adding the content into a specified repository if it was not there already. To make this work for a specific plugin, the retrieve() function has to be implemented in the content serializer specific for the given plugin. This commit does not break the behavior of plugins not containing this implementation yet in any way. closes #3081
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On content upload, pulp should not reject the request for any uniqueness constraint violation, but realize that the user was able to provide the bits and therefor grant using the existing records, which means not throwing an exception and returning the href of the existing object, possibly also adding it into a repository if it was specified.
This is a generalization of https://github.com/pulp/pulp_file/issues/774
The text was updated successfully, but these errors were encountered: