Skip to content

RFC: configuration utilities #3652

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

Closed
wants to merge 1 commit into from

Conversation

tomerd
Copy link
Contributor

@tomerd tomerd commented Aug 9, 2021

motivation: with SE-0292 adding more configuration, refactor the configuration uttilities to their own module so they can be used consistently across the code

changes:

  • create a new Configuration module
  • refactor Collections sources storage to use the configuration module
  • refactor Mirrors to use the configuraiton module
  • refactor netrc to use the configuraiton module
  • adjust and add tests

@tomerd tomerd marked this pull request as draft August 9, 2021 04:26
@tomerd tomerd mentioned this pull request Aug 9, 2021
4 tasks
@tomerd
Copy link
Contributor Author

tomerd commented Aug 9, 2021

cc @yim-lee

Copy link
Contributor

@mattt mattt left a comment

Choose a reason for hiding this comment

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

Thanks for taking on this work, @tomerd. I'd be very happy to see the logic for configuration consolidated and refactored into a single, consistent API.

Overall, this is looking good. The only question I have is whether Configurations should be its own module, rather than part of the Workspace module. What would the benefit be of having a new module versus, for example, putting all of this in a Configuration subfolder within the Workspace module.

@tomerd tomerd force-pushed the feature/configuration branch 3 times, most recently from 38cb45e to 6310e79 Compare August 13, 2021 00:40
motivation: with SE-0292 adding more configuration, refactor the configuration uttilities to their own module so they can be used consistently across the code

changes:
* create a new Configuration module
* refactor Collections sources storage to use the configuration module
* refactor Mirrors to use the configuraiton module
* refactor netrc to use the configuraiton module
* adjust and add tests
@tomerd tomerd force-pushed the feature/configuration branch from 6310e79 to ffbaa1c Compare August 13, 2021 00:45
@tomerd tomerd changed the title configuration utilities RFC: configuration utilities Aug 19, 2021
@mattt
Copy link
Contributor

mattt commented Aug 23, 2021

@tomerd Is there anything more to be done here after #3670 and #3672? Or can we close this now?

@tomerd tomerd closed this Aug 23, 2021
@tomerd
Copy link
Contributor Author

tomerd commented Aug 23, 2021

thanks for the reminder @mattt - I think we can call this done for this phase

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

Successfully merging this pull request may close these issues.

3 participants