Skip to content

Comments on windows health script #74

@zerothi

Description

@zerothi


would it make sense to create this table dynamically?
I.e. right now it is hard-coded, but some function that auto-adds an entry with default tables.
This would enable easier additions of new tests for packages without so much editing:

function add_python_package {
   headCheckResults[$1] = @{...}
}

?

if ($condaInstallPath -match "miniconda") {
:

Perhaps we should add miniforge? We might end up using this, or knowledgeable students might have used that for some reason.

I think the script needs to be split a bit, it is hard to follow, and even harder for non-bash/pwsh users to extend.

So each check should be minimal, and propely described what it does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions