Skip to content

Complex dependency deduping #45

@bitprophet

Description

@bitprophet

Re #41

I didn't tackle this right off so as not to overcomplicate v1.0, but I could see some additional tweaks/options/flavors to how we handle deduplication:

  • Right now we basically build a list of all to-be-invoked tasks and naively dedupe. No fuss no muss.
  • However, task source could matter: invoked due to pre/post is not necessarily the same "priority level" as invoked directly by hand. Users might expect pre/post "dependencies" to get deduped but for directly-invoked things to always run.
    • For example, $ invoke foo foo being deduped might be confusing.
    • Make itself, however, does do this level of deduping; make foo foo will run foo once and then say foo is up to date.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions