Deprecating old generic repos #384
-
Hello community. This is where we will hold a discussion about fully deprecating all non-repo specific resources. previously, you had something like: artifactory_local_repository 'foo' {
type = 'npm'
} There were several problems with the legacy model
That repo resource has been in deprecation for months and now there are replacements for local/remote/virtual for all repo types. Meaning: There is no need at all for the old repo resource. We understand that totally removing this will effect our users. However, we can't just hang out forever and wait indefinitely. So, we do have to set a firm commit date. This is your opportunity to chime in, but total removal is already on the books and the code is ready |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Personally, any timeline is fine with me, as long as it comes with a major version change. haha ;) That said, there is currently no great migration path to move from the old style to the new. I seem to remember someone saying they tried it and ended up nuking a whole repo on accident because of lack of error checking in artifactory (or something like that). I wish I could find the issue I was reading on that. We've got >100 repos in this state that need to be migrated and our team will likely be writing a script that does refactoring/terraform state store surgery to do the migration. It will likely do the following:
Then, assuming At least, I think that's what needs to happen. We might end up doing something else entirely and just importing everything fresh, if that's possible. I don't know. If there's a better way to migrate ... please help us out. |
Beta Was this translation helpful? Give feedback.
-
I spent a while trying to figure this out. The simplest i can think of is to create a new repo as a replication of the old until it's copied. You'd have better luck opening a support ticket and asking them how to rename or move a repo. I simply don't know |
Beta Was this translation helpful? Give feedback.
-
Ok all, we are going to pin a date on the calendar:
|
Beta Was this translation helpful? Give feedback.
Ok all, we are going to pin a date on the calendar:
APR-18-2022
This should see all immediate password changes released and a new major version bump@danielmkn @alexhung