Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move CommandContext and CommandResult to models (#193) #2093

Merged
merged 8 commits into from
Mar 21, 2022

Conversation

msarvar
Copy link
Contributor

@msarvar msarvar commented Mar 1, 2022

Moving models.Command* into command package. And dropped Command from its name. Now PlanCommand can be referenced as command.Plan.

@msarvar msarvar requested a review from a team as a code owner March 1, 2022 22:09
@msarvar msarvar requested a review from nishkrishnan March 1, 2022 23:49
@chenrui333 chenrui333 changed the title Moved CommandContext and CommandResult to models (#193) chore: move CommandContext and CommandResult to models (#193) Mar 3, 2022
@chenrui333
Copy link
Member

@msarvar there are some conflicts need to be resolved before the merge. :)

msarvar added 8 commits March 21, 2022 10:12
* Moved CommandContext and CommandResult to models

* move from models to command

rename CommandContext -> Context
rename CommandResult -> Result

* moved command related helpers into command package

* move ProjectCommandContext and ProjectResult to command/project package

* move project command context and project result

* revert unrelated code

* move tests
@msarvar msarvar force-pushed the move-command-context-to-command-pkg branch from c5194b4 to cba3107 Compare March 21, 2022 17:20
@msarvar msarvar merged commit 90e92e3 into runatlantis:master Mar 21, 2022
@msarvar msarvar deleted the move-command-context-to-command-pkg branch March 21, 2022 17:36
krrrr38 pushed a commit to krrrr38/atlantis that referenced this pull request Dec 16, 2022
…) (runatlantis#2093)

* Moved CommandContext and CommandResult to models (runatlantis#193)

* Moved CommandContext and CommandResult to models

* move from models to command

rename CommandContext -> Context
rename CommandResult -> Result

* moved command related helpers into command package

* move ProjectCommandContext and ProjectResult to command/project package

* move project command context and project result

* revert unrelated code

* move tests

* fix left over

* fix linting

* fix tests

* remove unused import

* fix project context dependencies

* fix depenedecies

* fix typo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants