Skip to content

Bug: Dep autopatching runs even if sub-dep is already downloaded #1032

@artman41

Description

@artman41

assume you have the following Projects

Main Project

PROJECT = main
DEPS = other_lib sub

autopatch-other_lib::
	@echo "Autopatching on $(PROJECT)"

Sub Project

PROJECT = sub
DEPS = other_lib

autopatch-other_lib::
	@echo "Autopatching on $(PROJECT)"

In the scenario where you are developing main and run deps, the following will happen:

  • other_lib is downloaded
  • main's autopatch target will run for other_lib
  • sub is downloaded
  • sub's autopatch target will run for other_lib

I feel like this shouldn't really happen; autopatch targets (in my mind) should only run if they are in the main project, not if IS_DEP=1 is defined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions