michaeljmarshall opened a new pull request, #17752:
URL: https://github.com/apache/pulsar/pull/17752

   ### Motivation
   
   The current `bin/pulsar version` script only prints out the version string. 
When running custom builds of Pulsar, this is sometimes not enough to know 
which version you have. Since the `PulsarVersion` class already has more 
information, I propose we print out all of its information in the same format 
that the broker logs the information.
   
   Here is a sample output for this specific PR:
   
   ```shell
   $ bin/pulsar version
   Current version of pulsar is: 2.11.0-SNAPSHOT
   Git Revision 4414e3d76c27e821e75f30eae853862b04e63200
   Git Branch print-more-version-info
   Built by Michael Marshall <[email protected]> on mmarshall-rmbp16 at 
2020-01-22T09:10:15-0600
   ```
   
   ### Modifications
   
   * Add more output to the `bin/pulsar version` command.
   
   ### Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ### Documentation
   
   - [x] `doc-not-needed` 
   (Please explain why)
   
   ### Matching PR in forked repository
   
   PR in forked repository: https://github.com/michaeljmarshall/pulsar/pull/3
   


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