release-plz icon indicating copy to clipboard operation
release-plz copied to clipboard

Change the flag `--project-manifest` to `--manifest-path`

Open marcoieni opened this issue 11 months ago • 3 comments

This is because the --manifest-path flag also exists in cargo.

Keep the old flag for cli retro-compatibility, but hide it from the help menu.

  • [ ] also update the github action input parameter
  • [ ] also update any occurrence of --project-manifest in the codebase (e.g. in error messages)

marcoieni avatar Mar 10 '24 14:03 marcoieni

Hi @MarcoIeni, I would like to implement this, and I have started working on it.

I have a questions to clarify -

  • I am assuming you do not want any refactoring of functions to follow the --manifest-path name, right? for eg. fn optional_project_manifest(&self) -> Option<&Utf8Path> should remain the same and not be changed to fn optional_manifest_path(&self) -> Option<&Utf8Path> . Am I correct to assume this?

amartyadav avatar Apr 08 '24 16:04 amartyadav

Addressed this issue in PR #1390. @MarcoIeni , please have a look whenever you can. Cheers! 😇

amartyadav avatar Apr 09 '24 14:04 amartyadav

Am I correct to assume this?

I don't think it's needed to refactor the functions, yes 👍

marcoieni avatar Apr 09 '24 21:04 marcoieni