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/07/04 09:28:55 UTC

[GitHub] [incubator-devlake] klesh opened a new issue, #2409: [Doc][Developer] How to generating `mocks` for Developer setup

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

   ## Documentation Scope
   Developer setup
   
   ## Describe the Change
   [mockery](http://github.com/vektra/mockery) was introduced to `main`(milestone v0.12), in order for developers to successfully fire up DevLake, the following instruction must be added to step 7:
   
   1. install [mockery](http://github.com/vektra/mockery) 
   2. generate mocking stubs by `make mock`
   
   ## Screenshots
   ![image](https://user-images.githubusercontent.com/61080/177125908-73529145-16ea-4037-8d10-3fb08dcb7180.png)
   
   


-- 
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] klesh closed issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup

Posted by GitBox <gi...@apache.org>.
klesh closed issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup
URL: https://github.com/apache/incubator-devlake/issues/2409


-- 
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] klesh commented on issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup

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

   @nicoabie No, not really. It was chosen simply because it worked :joy:. Maybe we should put a link to https://github.com/vektra/mockery#installation instead of giving the `go install` method directly.
   What do you think?


-- 
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] mappjzc closed issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup

Posted by GitBox <gi...@apache.org>.
mappjzc closed issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup
URL: https://github.com/apache/incubator-devlake/issues/2409


-- 
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] nicoabie commented on issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup

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

   Yeah, I think it would be better to do that and let the user decide which method is preferred @klesh 


-- 
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] nicoabie commented on issue #2409: [Doc][Developer] How to generating `mocks` for Developer setup

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

   @klesh the instruction to install mockery are not recommended according to their repo
   https://github.com/vektra/mockery#go-install
   
   was that considered?


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