Collection of API commands.xml of Apache CloudStack versions. used to generate Apache CloudStack Release Notes.
How To Generate CloudStack API Documentation
$ cd /tmp $ git clone https://github.com/rhtyd/cloudstack-nonoss.git nonoss $ cd nonoss && bash -x install-non-oss.sh
$ cd /path/to/cloudstack $ git fetch <upstream> $ git checkout main $ git checkout <release_commit> $ mvn -Pdeveloper -Dnoredist clean install -DskipTests=true $ mvn -Pdeveloper -Dnoredist clean install -pl :cloud-apidoc
$ cd /path/to/cloudstack $ export COMMANDS=/path/to/tools/apidoc-versions-diff $ export OLD_RELEASE=4.13 $ export NEW_RELEASE=4.14 $ cp tools/apidoc/target/commands.xml $COMMANDS/${NEW_RELEASE}_commands.xml $ mkdir $COMMANDS/diff-${OLD_RELEASE//.}-${NEW_RELEASE//.} $ java -cp $HOME/.m2/repository/com/thoughtworks/xstream/xstream/1.4.11.1/xstream-1.4.11.1.jar:$HOME/.m2/repository/com/google/code/gson/gson/1.7.2/gson-1.7.2.jar:server/target/classes com.cloud.api.doc.ApiXmlDocReader -old $COMMANDS/${OLD_RELEASE}_commands.xml -new $COMMANDS/${NEW_RELEASE}_commands.xml -d $COMMANDS/diff-${OLD_RELEASE//.}-${NEW_RELEASE//.}
In order to generate .rst version based on the diffs generated here, as well as for the generating a list of PRs/changes/fixed issues in the new release, please see https://github.com/swill/generate_acs_rn