Skip to content

Commit b83b656

Browse files
authored
Merge pull request #352 from Ducasse/patch-8
Update ExportFormats.md
2 parents b4a5b1d + f57225c commit b83b656

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

General/ExportFormats.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ Tonel got multiple versions over the years, each tweaking the export format:
9494
- version 3.0: this version has the changes of the 2.0 but it also adds the properties `package` and `tag` to replace the `category` property for class definitions. This is to remove same ambiguity in the class definitions. The `category` property is kept by default for backward compatibility, but the TonelWriter can be configured to not export this property. This format can also be improved to export more metadata. For example, it is planned to export a property `deprecatedAliases` to manage some class deprecations in the future.
9595

9696
If you want to change your export format and convert all the files of a repository at once to avoid to have multiple PR with format changes you can use the following script.
97-
98-
**NOTE: you must ensure all your project packages are loaded in the image (check in the Repository | Packages window, and right click load any that aren't).**
97+
Take a Pharo 12 or Pharo 13 images and run the following script. It will convert all the loaded packages in your image so you may load extra packages to prepare such operation.
9998

10099
```st
101100
| projectName repository |
@@ -105,6 +104,8 @@ repository workingCopy packages do: [ :pkg |
105104
IceLibgitTonelWriter forInternalStoreFileOut: pkg latestVersion mcVersion on: repository ]
106105
```
107106

107+
**NOTE: you must ensure all your project packages are loaded in the image (check in the Repository | Packages window, and right click load any that aren't).**
108+
108109
Once you have run this script, use the "Repository, Project | Extra | Open in native file browser" menu option to open an OS terminal and then run:
109110
```
110111
git commit -a -m "Update tonel formal to V3"

0 commit comments

Comments
 (0)