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

workbench: get rid of some unnecessary complications #4694

Merged
merged 8 commits into from
Dec 9, 2022
Merged

Conversation

fmaste
Copy link
Contributor

@fmaste fmaste commented Dec 5, 2022

Clearer modules dependencies. The general idea is:

backendName -> useCabalRun -> backend
stateDir -> batchName -> profileName -> backend -> workbench -> runner

For this:

  • Moved 'services-config' back to profiles and out of the backends
  • Moved the backend dependency out from 'all-profiles' (workbench)
  • Removed 'stateDir' from the backends

Also:

  • Remove unused code and parameters (or repeated defaults)
  • Variable renames for clarity
  • Makefile fixes

Copy link
Contributor

@deepfire deepfire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is amazing work, thank you so much @fmaste !

@deepfire
Copy link
Contributor

deepfire commented Dec 5, 2022

We still need to fix the branch base & commit history.

@deepfire
Copy link
Contributor

deepfire commented Dec 5, 2022

Ok, rebase fixed -- now we need jj/update-ledger to get merged first.

@fmaste
Copy link
Contributor Author

fmaste commented Dec 7, 2022

bors merge

iohk-bors bot added a commit that referenced this pull request Dec 7, 2022
4694: workbench: get rid of some unnecessary complications r=fmaste a=fmaste

Clearer modules dependencies. The general idea is:
> backendName -> useCabalRun -> backend
> stateDir -> batchName -> profileName -> backend -> workbench -> runner

For this:
- Moved 'services-config' back to profiles and out of the backends
- Moved the backend dependency out from 'all-profiles' (workbench)
- Removed 'stateDir' from the backends

Also:
- Remove unused code and parameters (or repeated defaults)
- Variable renames for clarity
- Makefile fixes

Co-authored-by: Kosyrev Serge <serge.kosyrev@iohk.io>
Co-authored-by: Federico Mastellone <federico.pascual-mastellone@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 7, 2022

Timed out.

@fmaste
Copy link
Contributor Author

fmaste commented Dec 7, 2022

bors merge

iohk-bors bot added a commit that referenced this pull request Dec 7, 2022
4694: workbench: get rid of some unnecessary complications r=fmaste a=fmaste

Clearer modules dependencies. The general idea is:
> backendName -> useCabalRun -> backend
> stateDir -> batchName -> profileName -> backend -> workbench -> runner

For this:
- Moved 'services-config' back to profiles and out of the backends
- Moved the backend dependency out from 'all-profiles' (workbench)
- Removed 'stateDir' from the backends

Also:
- Remove unused code and parameters (or repeated defaults)
- Variable renames for clarity
- Makefile fixes

Co-authored-by: Kosyrev Serge <serge.kosyrev@iohk.io>
Co-authored-by: Federico Mastellone <federico.pascual-mastellone@iohk.io>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Dec 8, 2022

Timed out.

deepfire and others added 8 commits December 8, 2022 20:23
Co-authored-by: Federico Mastellone <federico.pascual-mastellone@iohk.io>
- Remove repeated code (services-config) from backends
- Move 'services-config' to profiles and out of the backends
- Move the backend dependency out from 'all-profiles'
- Remove unused code and parameters or its defaults
- Remove 'stateDir' from the backends
- Renames for clarity
@deepfire deepfire merged commit 05da82a into master Dec 9, 2022
@iohk-bors iohk-bors bot deleted the bench-master branch December 9, 2022 11:38
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.

2 participants