You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/06/21 07:35:19 UTC

[GitHub] [incubator-devlake] narrowizard opened a new issue, #2283: [Feature][core api] add version api for devlake

narrowizard opened a new issue, #2283:
URL: https://github.com/apache/incubator-devlake/issues/2283

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   As more and more releases publishing, we want a convient way to known which version of devlake we're using.  
   - Firstly, we need a version api that return current version of devlake.
   - Then, maybe we can display the version in user interfaces(config-ui, grafana, etc...)
   ```json
   {
     "version": "600ca116ce2323faac8a9410ab655066ebde1ff3", // a global unique id,common use commit hash, or something else
     "semver": "2.19.0" // a readable version number
   }
   ```
   
   ### Use case
   
   We need to known version of devlake:
   - For bug report
   - For debugging
   - etc...
   
   ### Related issues
   
   No
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] narrowizard commented on issue #2283: [Feature][core api] add version api for devlake

Posted by GitBox <gi...@apache.org>.
narrowizard commented on issue #2283:
URL: https://github.com/apache/incubator-devlake/issues/2283#issuecomment-1162692555

   Closed as it is already existed.  
   https://github.com/apache/incubator-devlake/blob/19f8a3d20cc70888b2c2ceb4a880955f817b9657/api/version/version.go#L35-L39


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] narrowizard closed issue #2283: [Feature][core api] add version api for devlake

Posted by GitBox <gi...@apache.org>.
narrowizard closed issue #2283: [Feature][core api] add version api for devlake
URL: https://github.com/apache/incubator-devlake/issues/2283


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org