-
Notifications
You must be signed in to change notification settings - Fork 96
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
Add info on migrating to v2.x #29
Comments
I documented one issue for migration to 2.1 in my fork in branch "issue29." Obviously there are more issues, and more versions, but it's a small start. |
I just began migrating some PDF plug-ins to work with DITA-OT 2.2, and am getting messages that the insertVariable template has been deprecated. Searched the docs; did not get any hits other than a topic on "Migrating to Release 1.8'> |
For migrating PDF plugins, I'd recommend in the docs to generate a new plugin using the DITA generator and then migrate template by template and test everything. |
@xephon2 Jarno's generator is great -- and very useful -- but if you have existing plug-ins with extensive comments (not to mention customizations!) that you want and need to retain, using it to generate a brand-new plug-in is not realistic. |
Kris, I've drafted info about the issue you saw in my fork. |
Although I'm not ready to open a pull request, if anyone is interested in the info about the |
@xephon2 The docs will link to the DITA generator per your suggestion in #57, though I'd recommend it as a starting point for new customizations, rather than as a means of migrating existing customizations. The generator makes extensive use of the Many appreciate the latter approach, as it facilitates comparisons of custom plugin content with |
The OT source code contains comments where code has been deprecated. These code comments serve as a starting point for the migration topics. As a bare minimum, we should provide a list of the templates, modes, etc. that have been deprecated in each OT version. These lists can then be augmented with additional recommendations on the new constructs with which the deprecated calls should be replaced, as @shaneataylor has done for the I'd be happy to pull those changes in when you feel they're ready, even if there are other changes which still need to be documented — those can be addressed later in subsequent pull requests. |
@keberlein I remember I had many errors when trying to use my heavy customized 1.8.5 plugin with a 2.x toolkit. The errors did not help me to figure out to find the errors in my code. Therefore I migrated step-by-step. What I do now (and I hope someone could explain me a more efficient way) is:
git diff 5678d8c806e30154dba14cf75ec0f4350a590f13 HEAD tables.xsl
|
* release/2.3: Add section on documentation updates Update contributor list Implement review feedback Update Gradle build per @eerohele feedback Promote release highlights in short description Extend descriptions for recently resolved issues Simplify deprecated variable list Add recently resolved issues to 2.3 Release Notes Use 2-digit 'maintenance-version' key for 2.3 Remove obsolete “Tested tools” topic (Closes #59) Add info on switched order of 'chunk' & 'move-meta' Edit additional issue descriptions, highlight i18n Draft info on Release Highlights Add info on BEM-style CSS classes Add initial info on migrating to v2.3 (Fixes #29) Format & indent per project conventions First draft of issue descriptions (#100) Add Release Notes stub w/ list of v2.3 issues Bump 'release' & 'maintenance-version' keys for 2.3
* release/2.3: (250 commits) Add section on documentation updates Update contributor list Implement review feedback Update Gradle build per @eerohele feedback Promote release highlights in short description Extend descriptions for recently resolved issues Simplify deprecated variable list Add recently resolved issues to 2.3 Release Notes Use 2-digit 'maintenance-version' key for 2.3 Remove obsolete “Tested tools” topic (Closes #59) Add info on switched order of 'chunk' & 'move-meta' Edit additional issue descriptions, highlight i18n Draft info on Release Highlights Add info on BEM-style CSS classes Add initial info on migrating to v2.3 (Fixes #29) Format & indent per project conventions Split Migration section into submap Implement additional review feedback First draft of issue descriptions (#100) Refactor nested <simpletable> in <dl> ...
To assist users in migrating from OT v1.x to v2.x, the documentation should include an overview of the types of changes required to update existing projects for use with v2.0.
Topics may include:
Separate topics should be created with migration info for each 2.x release:
The text was updated successfully, but these errors were encountered: