Skip to content

Remove DB conversion from index.yaml#15298

Merged
scheibelp merged 4 commits intospack:developfrom
alalazo:maintenance/remove_yaml_format_for_db
Mar 5, 2020
Merged

Remove DB conversion from index.yaml#15298
scheibelp merged 4 commits intospack:developfrom
alalazo:maintenance/remove_yaml_format_for_db

Conversation

@alalazo
Copy link
Copy Markdown
Member

@alalazo alalazo commented Mar 3, 2020

fixes #13122

Removed the code that was converting the old index.yaml format into index.json. Since the change happened in #2189 it should be considered safe to drop this (untested) code.

alalazo added 3 commits March 3, 2020 11:01
fixes spack#13122

Removed the code that was converting the old index.yaml
format into index.json. Since the change happened in
spack#2189 it should be considered safe to drop this (untested)
code.
Removed the possibility to call this function with an open
stream of a filename since it's private to the module and
is never called with a stream directly.
This highlights the cases in which we don't want to
take a lock / need to raise an error. As a result conditionals
are nested by one level less.

Also reorder imports to be in alphabetic order.
Copy link
Copy Markdown
Member

@scheibelp scheibelp left a comment

Choose a reason for hiding this comment

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

I have one request (there is a redundant check). Once that is addressed, then this will be good.

@alalazo
Copy link
Copy Markdown
Member Author

alalazo commented Mar 4, 2020

@scheibelp Ready for another review! Thanks!

@scheibelp scheibelp merged commit cf7dbbf into spack:develop Mar 5, 2020
@scheibelp
Copy link
Copy Markdown
Member

Thanks!

@alalazo alalazo deleted the maintenance/remove_yaml_format_for_db branch March 5, 2020 07:25
tgamblin pushed a commit that referenced this pull request Apr 15, 2020
Removed the code that was converting the old index.yaml format into
index.json. Since the change happened in #2189 it should be
considered safe to drop this (untested) code.
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.

Remove support for the old YAML format in the spec database

3 participants