rdallasgray / pallet

A package management tool for Emacs, built on Cask.
279 stars 15 forks source link

Add pallet-prune and pallet-sync commands #50

Open DarwinAwardWinner opened 8 years ago

DarwinAwardWinner commented 8 years ago

It turns out cask already seems to have a recursive dependency walker, so I just used that instead. This should fix #49.

DarwinAwardWinner commented 8 years ago

FYI it looks like the Cask devs might want to merge this into Cask, so we should probably hold off until they make a decision: https://github.com/cask/cask/issues/320#issuecomment-158998212

rdallasgray commented 8 years ago

OK, sure. I think there might still be a use case for a pallet-sync command, though, which could use the Cask (or Pallet) functionality to both install missing packages and uninstall surplus ones. But I'll leave this for now.

DarwinAwardWinner commented 8 years ago

It turns out pallet-sync is just 2 lines.

rdallasgray commented 8 years ago

Ryan, given https://github.com/cask/cask/issues/320#issuecomment-160002038, are we parking this for now?

DarwinAwardWinner commented 8 years ago

Well, if you want to, you could merge it for now with a note to update it later to use the cask functionality when it becomes available, but otherwise, yes, I'd say shelve it.

rdallasgray commented 6 years ago

Hey I'm finally getting some time to look at Pallet issues ... are you still interested in this functionality? If so would you be happy to write tests and document the feature?

DarwinAwardWinner commented 6 years ago

My current Emacs config isn't using Pallet any more, so I no longer have a personal stake in this. But I'm willing to do at least some work to properly test and document it if you think it's a useful feature.

DarwinAwardWinner commented 6 years ago

It might still be worth the effort of getting this functionality into Cask itself, as I suggested in the linked issue. But I don't know if I'll have the time to do that. And I haven't kept up with recent Cask development, so maybe something similar has already been implemented since then.