Implement private projects
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
Currently poetry doesn’t support disabling publishing of package to remote repository. Add publish
key similar to publish
key present over cargo manifest for rust crates. publish
key can have two types of value either bool or list of repository name. The publish
field can be used to prevent a package from being published to a remote repository (like PYPI) by mistake, for instance to keep a package private in a company. If bool is present and is false then package cannot be published to any remote repository. Similarly if list of remote repository name is present then package can only be published to those remote repository.
[tool.poetry]
#....
publish=false
[tool.poetry]
#....
publish=["some-remote-repository-name"]
Issue Analytics
- State:
- Created 4 years ago
- Reactions:20
- Comments:9 (4 by maintainers)
Top Results From Across the Web
5 Examples of Public-Private Partnerships in Implementation
This is a great example of how public-private partnerships not only produce better use of resources in projects but also provide unique ...
Read more >How to Create Open Source Projects and Get Private ...
How to Create Open Source Projects and Get Private Companies to Pay ... and once something is built, any other city can use...
Read more >Space Tips & Tricks - Private projects - YouTube
Create private projects when it makes sense!Need a temporary project for yourself? Want to share some code with just one or several ...
Read more >Make your private project public - Azure DevOps Services ...
Change your project visibility from private to public and learn about access levels and feature restrictions for public projects.
Read more >Public-Private Partnerships (PPPs): Definition, How They ...
Public-private partnerships allow large-scale government projects, ... implementing, and funding the project, while the public partner focuses on defining ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Bumping this issue. Can we get any guidance or suggestions from the poetry team? Would be happy to work on this but again, I don’t know the right UX vision for poetry’s behavior here.
its really dangerous i cant disable this cuz’ 👇
if i have pypi configured globally then if i accidently run
poetry publish
in a repo it will publish my package to PYPI WTF!please disable the publish command by default or let it recide in scripts, then we can also overwrite it if needed!!!
EDIT: i may have sounded very alarmist, but i still think its an issue