Fix migration of legacy SCMTools.

Review Request #14215 — Created Oct. 28, 2024 and submitted

Information

Review Board
release-7.x

Reviewers

When we migrate a database, we migrate legacy SCMTool entrypoints,
creating a map of their class paths to names. Unfortunately, this code
regressed when we moved to the modern importlib-based entrypoints, as we
were accessing old attribute names.

This is a simple change that switches to the modern attributes, fixing
migration.

Verified this fixed a migration of an old database that had some
entrypoint-based SCMTools.

Summary ID
Fix migration of legacy SCMTools.
When we migrate a database, we migrate legacy SCMTool entrypoints, creating a map of their class paths to names. Unfortunately, this code regressed when we moved to the modern importlib-based entrypoints, as we were accessing old attribute names. This is a simple change that switches to the modern attributes, fixing migration.
53640be77502528312bf679c00d2efc76448c02f
chipx86
david
  1. Ship It!
  2. 
      
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-7.x (1cd7041)