prm icon indicating copy to clipboard operation
prm copied to clipboard

Distribution via package managers

Open EivindArvesen opened this issue 9 years ago • 12 comments

prm should be distributed through various package managers (e.g. apt, brew, macports, pacman, yum...), though it should perhaps be postponed until there is a stable release.

Needs to include an append (alias) to a user dotfile or at least a message regarding proper use of prm (i.e. sourcing the script), e.g. via a post-install hook.

EivindArvesen avatar Sep 19 '15 19:09 EivindArvesen

npm as well!

bogas04 avatar Sep 19 '15 22:09 bogas04

npm is a package manager specifically for JavaScript modules (e.g. for use with Node.js), though.

I'm talking about OS package managers, like Homebrew for Mac OS X, and those that come bundled with various Linux distros (e.g. apt with Debian and Ubuntu).

EivindArvesen avatar Sep 19 '15 22:09 EivindArvesen

Yeah it makes sense however having it on npm would make it easy to install on any OS. I do realize it doesn't really fall under this issue, but I see npm also as a multi-platform package manager.

Maybe later at some point we can parse the sh files and provide a node module for the same too.

require('prm').projects.map((p) => console.log(p));

bogas04 avatar Sep 20 '15 09:09 bogas04

I understand what you mean, but that's not what npm is or is for, as far as I understand.

I just don't see a point in distributing prm via a JavaScript package manager when it is not written in JavaScript, and when prm has no place in the JavaScript ecosystem.

On the other hand, if there were a js-binding (and supposably a need for npm's functionality in js/Node), it could be distributed via npm, with this repo as a dependency.

EivindArvesen avatar Sep 20 '15 10:09 EivindArvesen

Cool, makes sense !

bogas04 avatar Sep 20 '15 10:09 bogas04

Hey! I implemented prm using NodeJS coz it looked like a fun exercise! I have mentioned about your project in credits.

You can have a look at it here

screen shot 2015-09-22 at 8 19 30 pm

bogas04 avatar Sep 22 '15 14:09 bogas04

@bogas04: While I appreciate your effort, I would like for you not to use the prm name in your project.

This is because, unlike @FredDeschenes' prm-fish, your project is not a port of prm, is not API-compatible, and doesn't perform the same tasks as prm does.

Since your software is very different from prm, this is likely to be very confusing for users. Please tell me if you disagree with my reasoning, and if so, why.

I'd also appreciate if anyone else would like to chime in here.

EivindArvesen avatar Sep 22 '15 16:09 EivindArvesen

Sure, no problem! Off to thinking for name

bogas04 avatar Sep 22 '15 16:09 bogas04

Great! Good luck with your project:)

EivindArvesen avatar Sep 22 '15 16:09 EivindArvesen

Thank you for being so supportive ! :)

bogas04 avatar Sep 22 '15 16:09 bogas04

Renamed @eivind88 :) npm i node-pmc -g

bogas04 avatar Sep 22 '15 16:09 bogas04

#4 might be relevant.

EivindArvesen avatar Oct 26 '15 19:10 EivindArvesen