EivindArvesen / prm

A minimal project manager for the terminal.
BSD 3-Clause "New" or "Revised" License
443 stars 18 forks source link

Distribution via package managers #5

Open EivindArvesen opened 8 years ago

EivindArvesen commented 8 years ago

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.

bogas04 commented 8 years ago

npm as well!

EivindArvesen commented 8 years ago

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).

bogas04 commented 8 years ago

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));
EivindArvesen commented 8 years ago

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.

bogas04 commented 8 years ago

Cool, makes sense !

bogas04 commented 8 years ago

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

EivindArvesen commented 8 years ago

@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.

bogas04 commented 8 years ago

Sure, no problem! Off to thinking for name

EivindArvesen commented 8 years ago

Great! Good luck with your project:)

bogas04 commented 8 years ago

Thank you for being so supportive ! :)

bogas04 commented 8 years ago

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

EivindArvesen commented 8 years ago

4 might be relevant.