jfrog / jfrog-cli-core

Apache License 2.0
32 stars 55 forks source link

Allow `jf poetry publish` to use the -r/--repository option to set the deploy repo #1148

Open gangefors opened 4 months ago

gangefors commented 4 months ago

Is your feature request related to a problem? Please describe. Currently a user can't use a virtual pypi repository as a resolver while specifying a different repo for publishing the built artifact.

Describe the solution you'd like to see jf poetry publish should not use the resolving repository as a deploy repository if the -r/--repository option is present. A user should be able to have one resolving repository, such as a virtual pypi repo without a default deploy repo configured, and instead use a repo configured in poetry.

Describe alternatives you've considered Not using jf cli and instead using poetry directly.

Additional context Many jf poetry commands is unusable as a build/publish helper in CI. See #835 for additional issues.