-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The `Code` plugin is used a lot and so cannot just be removed. Instead, we keep it for now and have it subclass the new `AbstractCode`. This way, the class already has the interface that it will have once the deprecated interface is removed. This will allow users to start updating their use of it in a backwards-compatible manner. The codebase is updated to replace the use of the deprecated interface with that of the new interface. No new instances of `Code` are created, only instances of the new `RemoteCode` and `LocalCode`. When the time comes to drop the legacy `Code` class, all that is needed is a data migration that will update existing instances to either an instance of `InstalledCode` or `PortableCode` depending on the attributes that the instance defines. The legacy methods and properties of `Code` plugin are deprecated.
- Loading branch information
Showing
34 changed files
with
316 additions
and
297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.