1
0
Fork 0
gitea/models
Sandro Santilli f6b58964d7 Include formatting check to the `make test` (and thus also `check`) rule (#1366)
* Include formatting check to the `make check` rule

... and give it its own standalone target too (make fmt-check)

Show diff on fmt-check failure
Do not allow running "fmt-check" with incompatible go version
Also simplify the `fmt` rule

* Forbid running "make fmt" with Go version != 1.7 or 1.8

* Ignore bindata.go for spelling and formatting checks

also remove duplicated variable assignment for GOFILES

* Run `make fmt`
2017-06-06 08:53:16 -05:00
..
fixtures Display draft releases (#1854) 2017-06-03 11:46:56 +08:00
migrations Migration to fix existing owner team units (#1873) 2017-06-05 05:40:25 -05:00
access.go Refactor and fix incorrect comment (#1247) 2017-03-15 08:51:46 +08:00
access_test.go Refactor and fix incorrect comment (#1247) 2017-03-15 08:51:46 +08:00
action.go Fix user profile activity feed (#1848) 2017-06-02 08:42:25 +08:00
action_test.go Fix user profile activity feed (#1848) 2017-06-02 08:42:25 +08:00
admin.go refactor: remove workaround after the golang 1.7 release. (#1349) 2017-03-29 10:05:23 +08:00
admin_test.go
attachment.go feat: add download count field and unit testing for attachment. (#1512) 2017-04-20 10:31:31 +08:00
attachment_test.go MySQL, Postgres integration tests in drone (#1638) 2017-04-30 14:30:12 +08:00
branches.go Do not allow commiting to protected branch from online editor (#1502) 2017-05-02 08:49:55 +08:00
consistency.go Fix activity feed (#1779) 2017-05-26 09:38:18 +08:00
error.go Rework SSH key management UI to add GPG (#1293) 2017-04-26 21:10:43 +08:00
error_oauth2.go gofmt (#1662) 2017-05-04 13:54:56 +08:00
external_login_user.go Add primary key and index to external login user table (#1656) 2017-05-02 16:41:44 +08:00
git_diff.go fixes pull request hanging indefinitely when it contains normal and LFS file pointers (#1425) 2017-04-03 10:21:09 +08:00
git_diff_test.go
gpg_key.go Rework SSH key management UI to add GPG (#1293) 2017-04-26 21:10:43 +08:00
gpg_key_test.go feat: add check misspelling (#1877) 2017-06-05 02:49:46 -05:00
graph.go fix #1189, commit messages containing a pipe (#1203) 2017-03-11 12:01:38 +08:00
graph_test.go
helper.go
issue.go Fix activity feed (#1779) 2017-05-26 09:38:18 +08:00
issue_comment.go Fix activity feed (#1779) 2017-05-26 09:38:18 +08:00
issue_indexer.go
issue_label.go
issue_label_test.go
issue_list.go Use ghost users in issues/PRs (#1831) 2017-05-30 14:08:36 +08:00
issue_list_test.go Unit tests for issue_list (#1209) 2017-03-11 16:46:23 +08:00
issue_mail.go Adding #issuecomment to the URL in E-Mail notifications (#1674) 2017-05-25 10:38:56 +08:00
issue_milestone.go
issue_milestone_test.go
issue_test.go Fix misspelled variables 2017-06-04 13:39:08 -04:00
issue_user.go
issue_user_test.go
issue_watch.go Code style fixes 2017-04-01 09:58:20 -03:00
issue_watch_test.go Improve tests a little 2017-04-01 10:05:58 -03:00
lfs.go
login_source.go fix bug not to trim space of login username (#1796) 2017-05-25 00:12:00 +08:00
mail.go xxx_active_code_live setting in printed in hours and minutes instead … (#1814) 2017-05-29 02:35:47 -05:00
main_test.go Run unused test 2017-06-04 14:28:17 -04:00
models.go Status-API (#1332) 2017-04-21 19:32:31 +08:00
models_sqlite.go
models_test.go Cleaner IMO (#1361) 2017-03-22 22:30:40 +08:00
models_tidb.go
notification.go Consider issue_watchers while sending notifications 2017-03-29 20:54:57 -03:00
notification_test.go
oauth2.go gofmt (#1662) 2017-05-04 13:54:56 +08:00
org.go Fix bug in removeOrgRepo (#1858) 2017-06-02 20:06:09 -05:00
org_team.go Add units to team (#947) 2017-05-18 22:54:24 +08:00
org_team_test.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
org_test.go
pull.go Don't ignore error in getMergeCommit (#1843) 2017-05-31 19:51:24 -05:00
pull_test.go
release.go Fix typos in models/ and modules/ (#1248) 2017-03-15 08:52:01 +08:00
repo.go Make `LocalCopyPath` a setting instead of a hard-coded path (#1881) 2017-06-06 04:09:54 -05:00
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_editor.go Update code.gitea.io/git (#1824) 2017-05-30 04:32:01 -05:00
repo_list.go Improve dashboard repo search (#1652) 2017-05-09 08:31:30 +08:00
repo_list_test.go refactor: move SearchRepositoryByName testing. (#1083) 2017-02-28 17:58:50 +08:00
repo_mirror.go Fix status table race condition (#1835) 2017-05-31 16:57:17 +08:00
repo_redirect.go
repo_redirect_test.go
repo_test.go Include formatting check to the `make test` (and thus also `check`) rule (#1366) 2017-06-06 08:53:16 -05:00
repo_unit.go Add units to team (#947) 2017-05-18 22:54:24 +08:00
repo_watch.go
repo_watch_test.go
ssh_key.go use writeTmpKeyFile in calcFingerprint (#1828) 2017-05-29 19:51:16 +08:00
ssh_key_test.go
star.go
star_test.go
status.go Show commit status icon in commits table (#1688) 2017-05-07 22:40:31 +08:00
status_test.go Status-API (#1332) 2017-04-21 19:32:31 +08:00
test_fixtures.go Integration test framework (#1290) 2017-04-25 15:24:51 +08:00
token.go
token_test.go
twofactor.go
unit.go Add units to team (#947) 2017-05-18 22:54:24 +08:00
unit_tests.go Run unused test 2017-06-04 14:28:17 -04:00
update.go Remove env user salt since no need to use (#1515) 2017-05-06 21:21:22 +08:00
update_test.go
user.go Fix status table race condition (#1835) 2017-05-31 16:57:17 +08:00
user_follow.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_follow_test.go Move user_follow to separate file (#1210) 2017-03-11 16:46:53 +08:00
user_mail.go
user_mail_test.go
user_openid.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_openid_test.go Run "make fmt" with go-1.6 (#1333) 2017-03-21 08:55:00 +08:00
user_test.go Fix and test for delete user (#1713) 2017-05-20 16:48:22 +08:00
webhook.go Add Gitea Webhook (#1755) 2017-05-29 02:17:15 -05:00
webhook_slack.go
webhook_test.go Add Gitea Webhook (#1755) 2017-05-29 02:17:15 -05:00
wiki.go Update code.gitea.io/git (#1824) 2017-05-30 04:32:01 -05:00
wiki_test.go