Closed ljupchokotev closed 1 month ago
@ljupchokotev You're correct that it should have been a major version change when the update was originally released. My apology on that mistake.
The reason behind use_project_repository_resource
attribute default to being true
is that the repos
attribute is not a good solution. The new project_repository
resource is a huge improvement and thus we were actively trying to discourage any new users from using repos
attribute.
We feel that the trade off of requiring the addition of use_project_repository_resource = true
was minor and acceptable to speed up adaption of project_repository
resource while allowing existing users to continue using repos
attribute until they migrate.
Describe the bug The project resource has introduced attributes like
use_project_repository_resource
which is set totrue
by default, meaning existing code will break as therepos
attribute will be ignored.This was added in a minor version change. I would expect these new attributes to be set to
false
by default, and changed totrue
only in a major version update.Requirements for and issue
project_project
resource which usesrepos
.curl
it at$host/artifactory/api/system/version
: 7.84.20Expected behavior
A minor version upgrade of a provider should not introduce breaking changes. The
repos
attribute should still be functional even though it is deprecated.Additional context