News for hackers. Stuff that matters.
Re:It’s OK for your open source library to be a bit shitty (... by sgillen on Sunday May 17, 2020 @12:58AM (#23209707)
I like that a lot! could work for personal python packages too.
Re:It’s OK for your open source library to be a bit shitty (... by DangitBobby on Sunday May 17, 2020 @02:00AM (#23209921)
You can install directly from GitHub, bitbucket, etc. with pip, BTW. My point was that if I want to have packages for private use installable over the internet with package management tools for various languages, I have to put them on the public internet, or jump through some hoops.
Re:It’s OK for your open source library to be a bit shitty (... by harikb on Sunday May 17, 2020 @02:23AM (#23210000)
Package management tools for both Rust and Go and JS do support direct github urls with minimal boilerplate. You have no reason to make something public unless you want to.
Re:It’s OK for your open source library to be a bit shitty (... by DangitBobby on Sunday May 17, 2020 @02:39AM (#23210076)
Oh you can use those tools with private repos?
Re:It’s OK for your open source library to be a bit shitty (... by BurpyDave on Sunday May 17, 2020 @04:17AM (#23210534)
You can for sure with go
Re:It’s OK for your open source library to be a bit shitty (... by steveklabnik on Sunday May 17, 2020 @09:16AM (#23211752)
You can with Rust as well.
Re:It’s OK for your open source library to be a bit shitty (... by sgillen on Wednesday May 27, 2020 @05:51PM (#23330518)
Totally, I already do that. Would be interesting to be able to install sgillen.package separately from package, with just a flag passed to pip.
Re:It’s OK for your open source library to be a bit shitty (... by acka on Sunday May 17, 2020 @08:46AM (#23211589)
Using pip, and possibly other tools, you can try using a .netrc[0] file to manage login credentials for private repositories. Although it is a cleartext file (so you may need to manage access to it, for instance when using it in CI), at least your credentials will not show up in log files.

[0] https://www.gnu.org/software/inetutils/manual/html_node/The-...