Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

build_component.py should not write over populated target directories #10

@aaaaalbert

Description

@aaaaalbert

Currently, build_component.py removes the contents of the build target directory before copying over files anew. This can hurt if you happen to specify the wrong target dir, or have files you created / edited in the target dir but did not commit them yet.

Since it's trivial to clean / recreate the target dir before you build yourself, I think a good thing to do is to require the person starting the build perform these steps consciously. build_component should only complain if the target dir is not empty, but not attempt to clean it.

@XuefengHuang provided a patch to the (outdated) preparetest script providing that functionality, see SeattleTestbed/dist#143.

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