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
75e90c1917
Quote extra comment args.
...
To avoid an attacker prepending something like
atlantis plan -- ; cat /etc/passwd
2018-02-27 12:55:26 -08:00
Luke Kysow
0fd503da8a
Update README for new flags.
2018-02-26 15:10:04 -08:00
Luke Kysow
6dd82c6de1
Validate directory flag. Unlock on preexecute err.
...
Ensure -d flag uses relative dirs and doesn't allow for
directory traversal.
Fix bug where if there was an error in PreExecute, we
wouldn't unlock, leaving a possibly abandoned lock.
2018-02-26 14:32:06 -08:00
Luke Kysow
0d1f50a7a8
Implement parsing for -w and -d flags.
2018-02-22 17:31:24 -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
7c1220a655
Rename from environment to workspace
2017-12-17 16:46:49 -08:00
Luke Kysow
cc924899e5
Add documentation for server, bootstrap and server/events packages
2017-11-26 21:41:06 -08:00
Luke Kysow
acdf771ce7
Switch to newest pegomock library ( #205 )
2017-11-19 22:41:43 -08:00
Luke Kysow
fa43febf60
Gitlab ( #190 )
...
Gitlab initial implementation
2017-11-16 13:22:28 -08:00
Luke Kysow
73d04fb89a
Add gometalint. Fix errors ( #176 )
2017-10-31 20:07:41 -07:00
Luke Kysow
f21331a0f9
Remove now unnecessary sed calls when generating mocks.
...
Don't need it since https://github.com/petergtz/pegomock/pull/50
was merged.
2017-10-26 06:42:25 -07:00
Luke Kysow
fa047c5435
Refactor EventParser to not take reference to ctx
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