Граф коммитов

23 Коммитов

Автор SHA1 Сообщение Дата
Anthony Yeh 38cdee23e9 Remove unused createcl script. 2015-05-05 14:37:30 -07:00
Anthony Yeh 86071decf6 Ignore third_party and Godeps in git precommit hooks. 2015-01-28 15:42:47 -08:00
Anthony Yeh 675db2eb64 Print command to install golint if it's not found. 2014-12-19 13:48:58 -08:00
Anthony Yeh ec0815e2bb Add git pre-submit hook for golint.
Golint should never be required, as per the docs:

"""
The suggestions made by golint are exactly that: suggestions.
Golint is not perfect, and has both false positives and false negatives.
Do not treat its output as a gold standard. We will not be adding
pragmas or other knobs to suppress specific warnings, so do not expect or
require code to be completely "lint-free".
"""

This hook only shows the line count of the golint output for each file
modified in a commit. That way you don't get flooded just because you
changed one line in a file with a hundred pre-existing lint issues.

However, if we just print the warnings without stopping, you'll probably
never see them because your editor comes up to let you write a commit
message. So we try to steal back the keyboard and pause to let you know
you might want to look into the lint warnings. If the stealing ends up
being buggy, we'll have to think of something else.
2014-12-19 13:10:48 -08:00
Anthony Yeh 3ebfb30a5c Simplify instructions for contributing and deprecate createcl. 2014-10-17 19:56:20 -07:00
Anthony Yeh 889a1682ff Add "go vet" as a presubmit and use goimports instead of gofmt. 2014-08-06 12:07:50 -07:00
Alain Jobart 166937eb27 Code coverage helpers. 2014-04-30 13:43:22 -07:00
Alain Jobart 22f185e349 Abbreviated commit. 2013-08-20 11:53:22 -07:00
Alain Jobart e9cb8446bb Better commit log. 2013-08-20 11:46:51 -07:00
Alain Jobart d51ac1475c And really running upload.py. 2013-08-20 10:54:04 -07:00
Alain Jobart 574b8b6c75 Now generate appspot description from git log. 2013-08-20 10:53:16 -07:00
Alain Jobart 01694baf6b Allow the user to specify a --rev to upload.py. 2013-08-20 10:30:40 -07:00
Sugu Sougoumarane 4f0d49c53e keep createcl simple for now 2013-07-25 09:55:11 -07:00
Sugu Sougoumarane 7c0452dd98 fix typo 2013-07-24 21:50:14 -07:00
Sugu Sougoumarane dc1dbf2869 script for appspot code review 2013-07-24 21:40:12 -07:00
Alain Jobart d7dfb0dcc0 Fixing typo in this script. 2013-07-23 11:04:19 -07:00
Ryszard Szopa 4bf5d66fd2 Add hooks and PS1 for Go. 2013-07-19 17:12:06 -07:00
Alain Jobart 21a4f62c61 Removing mercurial references. 2013-07-19 10:53:25 -07:00
Mike Solomon cc0e706ad6 exclude non-hg files from the gofmt check 2013-05-08 15:38:00 -07:00
Sugu Sougoumarane f05f6684f3 Add missing hook to ensure linear tree. 2012-09-04 14:27:00 -07:00
Alain Jobart 03da62013a Adding a generic command-line SQl client.
Removing the script to run al unit tests, replacing it
with a Makefile rule.
And removing an unused methoed in a test.

LGTM by Sugu.
2012-08-20 15:22:23 -07:00
Alain Jobart a623825d9c Fixing vt/client2 to be a real and working database/sql/driver/Driver.
Also adding a script to run all the unit tests that work.

LGTM by Sugu.
2012-08-17 15:32:08 -07:00
Mike Solomon cf9a0b0433 add gofmt hook 2012-08-12 00:17:47 -07:00