Skip to content

poly diff --short reports project folder name, and project name from the pyproject.toml #68

@DavidVujic

Description

@DavidVujic

Describe the bug
The poetry poly diff --short command wrongfully lists two projects changed, when there is only one.

This happens when the actual folder name and the project name in the toml file is different. This can be reproduced in the actual python-polylith repo.

To Reproduce
Steps to reproduce the behavior:

  1. Change code in one or more components of this repo.
  2. run poetry poly diff --short
  3. reported changes are for poetry_polylith_plugin,poetry-polylith-plugin

Expected behavior
Only one project should be reported. Preferably the project folder name, and not the name that can be found in the pyproject.toml file.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions