Skip to content

Couldn't we shorten install() #37

@amr66

Description

@amr66

with get_all_dependencies we get all packages to be installed in an list, odered by dependencies, starting with basic packages and ending with those dependending on the foregoing. So we need not to distinguish between packages[] and requiered[] anymore. Also we clean the list froms doubles, so we needn't unique() twice?
just

  • check packages list
  • without loop: call get_all_dependencies with complete packages list
  • delete packages from list, which are already installed (and have the newest version)
  • loop over list to install...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions