question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:open
  • Created 4 years ago
  • Reactions:20
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

6reactions
alkasmcommented, Dec 15, 2020

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.

6reactions
sloevcommented, Mar 16, 2020

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found