johanbrandhorst / grpc-gateway-boilerplate

All the boilerplate you need to get started with writing grpc-gateway powered REST services in Go
MIT License
474 stars 81 forks source link

Cannot use this repo as a GitHub repo template #19

Closed tnir closed 3 years ago

tnir commented 3 years ago

We cannot use this repo as a template as statik/statik.go has 13.7MB in this repo as of 2020-11-04, which was recently introduced in #17.

File size before #17 (= after #14) after #17
statik/statik.go 6.8MB 13.7MB

Anyone can reproduce this by starting with Use this template button to see the following error:

We're sorry, something went wrong. We were unable to clone johanbrandhorst/grpc-gateway-boilerplate's contents into {username,orgname}/{reponame}. The template you used includes files that are larger than 10 megabytes. Please ask johanbrandhorst to remove those files from the template and try again.

cf. https://github.com/education/classroom/issues/2521

tnir commented 3 years ago

@johanbrandhorst @dmitris Do you have any thoughts on it?

johanbrandhorst commented 3 years ago

Thanks for raising this issue, I wasn't aware it was a problem :smile:. I've opened #20 which shrinks statik.go to 2.9MB in my testing by removing the *.map files in the OpenAPI UI distribution.

tnir commented 3 years ago

Thanks for a quick hack!! 😃