f-f / gogolica

Auto-generated Google APIs for Clojure
Eclipse Public License 1.0
2 stars 0 forks source link

Establish a procedure for commiting generated code into the repo #31

Open zudov opened 7 years ago

zudov commented 7 years ago

Checking in the kilolines of generated code can get quite messy, but this can be mitigated by establishing and documenting some sensible rules.

A couple of ideas to get started:

f-f commented 7 years ago

Great points, I agree.

Expanding/clarifying on your points:

  1. Since we're checking into the repo the json models, we don't need to include their version/hashes: their state is the state of the repo at commit time.
  2. We should have a separate author also for the commits that update the json models from the google repo. Actually, google went all the way to create a github user that automatically does all of this stuff.