tisonkun opened a new issue, #18947:
URL: https://github.com/apache/pulsar/issues/18947

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   After running:
   
   ```bash
   mvn -ntp install -Pcore-modules,swagger,-main -DskipTests 
-DskipSourceReleaseAssembly=true -Dspotbugs.skip=true -Dlicense.skip=true
   ```
   
   The swagger files are present in `pulsar-broker/target/docs/`.
   
   In the site updating logic, we [sort and split swagger 
files](https://github.com/apache/pulsar-site/blob/0908afad691ed0ee44777400947ab03ed674dc8d/tools/pytools/bin/rest-apidoc-generator.py).
   
   But it seems that the output is still unstable and cause unnecessary commits:
   
   * 
https://github.com/apache/pulsar-site/commit/ee3ae44c9ee1b1dc5cfdedf7bb6922affbd243ea
   * 
https://github.com/apache/pulsar-site/commit/feb64fe61747a94e78d4dce3c40b8b97d8cd089b
   
   
   ### Solution
   
   Find a way to make the output content stable. Since we already sort on the 
sync stage, it's about stopping 
`/persistent/{tenant}/{namespace}/{topic}/partitions` + `PUT` endpoint 
generates undeterminate result.
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   cc @nodece @merlimat @urfreespace @yuruguo 
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
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]

Reply via email to