exceptionfactory opened a new pull request, #4: URL: https://github.com/apache/nifi-api/pull/4
# Summary [NIFI-14374](https://issues.apache.org/jira/browse/NIFI-14374) Sets deterministic ordering for several unordered elements in the Extension Manifest XML Documentation. Changes to the `XmlDocumentWriter` include adding sorting to the following unordered collections: - Sorted Relationship documentation elements based on `name` field - Sorted Resource Type documentation elements based on enumeration `name` method - Sorted Property Dependencies based on dependent Property Name - Sorted Dependent Values based on natural String ordering These changes retain compatibility with current output formatting, but provide deterministic behavior for the ordered elements. Deterministic ordering is a requirement for [reproducible builds](https://reproducible-builds.org/) and these changes address issues related to `extension-manifest.xml` identified in with a comparison of [Apache NiFi 2.3.0](https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/nifi/nifi/nifi-2.3.0.buildcompare). Changes include a new unit test for the `XmlDocumentWriter` that verifies expected ordering. # Tracking Please complete the following tracking steps prior to pull request creation. ### Issue Tracking - [X] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created ### Pull Request Tracking - [X] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000` - [X] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000` ### Pull Request Formatting - [X] Pull Request based on current revision of the `main` branch - [X] Pull Request refers to a feature branch with one commit containing changes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
