Commit Graph

22 Commits

Author SHA1 Message Date
Luke Kysow
3525ab3bd9 WIP 2018-06-12 14:54:38 +01:00
Luke Kysow
f21cf09417 Refactor to use VCS Host in Repo model. 2018-03-27 12:43:20 -07:00
Luke Kysow
8aca81966f Add Apache 2 license and copyright.
Add Apache 2 license and Hootsuite copyright to all golang
files. Add a disclaimer that the files have been modified
hereafter by contributors to this repo in order to abide
by the Apache 2 license requirements.
2018-03-15 17:25:02 -07:00
Luke Kysow
d9595867cd Fix gometalint errors. 2018-03-11 14:19:16 -07:00
Luke Kysow
32e0b4003e Small refactor to events_controller. Final tests. 2018-03-11 13:30:01 -07:00
Luke Kysow
31dc84853a [Draft] Add --repo-whitelist option.
- this option is now required which breaks BC
- will validate that an event is coming from a repo that we trust
- started refactoring event_controller tests to use less mocks
2018-03-08 17:49:47 -08:00
Luke Kysow
a24d940f5d Rename DetermineCommand to Parse 2018-02-28 11:04:28 -08:00
Luke Kysow
a09ad79405 Refactor comment parsing into own class. 2018-02-28 10:42:21 -08:00
Luke Kysow
ab1d36d2c8 Comment back on pull request sooner on error.
- Refactor EventParser so it returns a comment we can send to the pull
request when a bad command or help command is commented.
- Remove now unneeded HelpExecutor because we comment right from the
EventsController now
- Use pflag package to parse commands instead of doing it manually
- Comment back when user types terraform instead of atlantis
2018-02-27 17:45:05 -08:00
Luke Kysow
6c159feff4 Rename to runatlantis from atlantisnorth. 2018-02-18 21:28:18 -08:00
Luke Kysow
0299d3ee12 Move to new atlantisnorth repo 2018-02-06 13:29:36 -08:00
Luke Kysow
cc924899e5 Add documentation for server, bootstrap and server/events packages 2017-11-26 21:41:06 -08:00
Luke Kysow
fa43febf60 Gitlab (#190)
Gitlab initial implementation
2017-11-16 13:22:28 -08:00
Luke Kysow
1caaaa03f7 Test pull request closed handling 2017-10-18 07:55:23 -07:00
Luke Kysow
aadd9ce367 Test EventsController Post() 2017-10-18 07:36:43 -07:00
Luke Kysow
fa047c5435 Refactor EventParser to not take reference to ctx 2017-10-18 06:44:44 -07:00
Luke Kysow
75a71a9bbf Extract GHRequestValidator 2017-10-18 06:44:44 -07:00
Luke Kysow
c59b422949 Fmt 2017-10-18 06:44:44 -07:00
Luke Kysow
4dbe8cd0ba Move non-server packages under events 2017-10-18 06:44:44 -07:00
Luke Kysow
1c3fb84112 Move non-server code into events package 2017-10-18 06:44:44 -07:00
Luke Kysow
a20a5e7474 Run fmt 2017-10-18 06:44:44 -07:00
Luke Kysow
99e4f79f60 Refactor POST /events into its own controller 2017-10-18 06:44:44 -07:00