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

Move flake implementation logic to lib #231

Merged
merged 5 commits into from
Apr 9, 2021
Merged

Conversation

Pacman99
Copy link
Member

@Pacman99 Pacman99 commented Apr 6, 2021

This is a simpler version of #218 that moves flake logic to lib and adds a module to evaluate devos. This DOES NOT support out of tree usage, so if you were following any of the previous PR's, the doc sections/examples to use devos as a library will not work. There is work to make a cleaner api and only then will out of tree support work. Until then, this is still useful to simplify devos and clean up a lot of the implementation logic.

Pacman99 added 3 commits April 6, 2021 12:45
general lib function - not devos specific
module describing devos flake arguments
this is where we create devos's template structure
@Pacman99
Copy link
Member Author

Pacman99 commented Apr 6, 2021

bors try

bors bot added a commit that referenced this pull request Apr 6, 2021
@bors
Copy link
Contributor

bors bot commented Apr 6, 2021

try

Build failed:

@Pacman99
Copy link
Member Author

Pacman99 commented Apr 7, 2021

bors try

bors bot added a commit that referenced this pull request Apr 7, 2021
@bors
Copy link
Contributor

bors bot commented Apr 7, 2021

try

Build failed:

@Pacman99
Copy link
Member Author

Pacman99 commented Apr 7, 2021

bors try

bors bot added a commit that referenced this pull request Apr 7, 2021
@bors
Copy link
Contributor

bors bot commented Apr 7, 2021

try

Build failed:

@Pacman99
Copy link
Member Author

Pacman99 commented Apr 7, 2021

bors try

bors bot added a commit that referenced this pull request Apr 7, 2021
@bors
Copy link
Contributor

bors bot commented Apr 7, 2021

try

Build succeeded:

@Pacman99
Copy link
Member Author

Pacman99 commented Apr 7, 2021

Future Work

Mainly dependent on #232

  • switch to use submodules for suites, extern, and overrides - no point in doing this now since api isn't properly specced
  • make it work out of tree - would be bad to expose lib function that will change very soon
  • generate docs

Copy link
Contributor

@blaggacao blaggacao left a comment

Choose a reason for hiding this comment

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

LGTM, assuming that this is #218 without docs, let's got!

@blaggacao
Copy link
Contributor

bors r+

bors bot added a commit that referenced this pull request Apr 9, 2021
231: Move flake implementation logic to lib r=blaggacao a=Pacman99

This is a simpler version of #218 that moves flake logic to lib and adds a module to evaluate devos. This DOES NOT support out of tree usage, so if you were following any of the previous PR's, the doc sections/examples to use devos as a library will not work. There is work to make a cleaner api and only then will out of tree support work. Until then, this is still useful to simplify devos and clean up a lot of the implementation logic.

Co-authored-by: Pacman99 <pachum99@gmail.com>
@bors
Copy link
Contributor

bors bot commented Apr 9, 2021

Timed out.

@nrdxp
Copy link
Collaborator

nrdxp commented Apr 9, 2021

I'll merge it. Has anyone actually tested it on their system personally though?

@nrdxp
Copy link
Collaborator

nrdxp commented Apr 9, 2021

bors r+

@bors
Copy link
Contributor

bors bot commented Apr 9, 2021

Build succeeded:

@bors bors bot merged commit 3823eb6 into divnix:core Apr 9, 2021
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