Open demyte opened 10 years ago
:+1:
skipping installed packages would be nice!
+1
:+1:
Re: Ignore installed packages. Something like pacman's --needed would be cool.
Brilliant idea!
:+1:
sadly that thing is still "broken"... :(
If anyone can give any pointers as to where to implement this functionality, I'd be happy to give it a go and write a PR.
https://github.com/atom/apm/pull/330 is the PR I started but never finished.
I support @dsandstrom's approach. The 'needed' flag approach is broader in scope - per pacman docs: 'Do not reinstall the targets that are already up-to-date.'
So, install it if it does not exist, update it if it already is installed and is stale, or do nothing.
For those landing on this page from search engines:
As a workaround I'm checking directory existence: https://github.com/zamicol/dotfiles/blob/6fd1d4ac80ff0bff158ed4cb373b497aa3cc7ba7/install.sh#L300
I am finding the apm star(s) commands great for helping keep my package usage in sync between machines, but I find it very slow when running apm stars --install.
It seems to re-install all my starred packages every time.
It would be great if the behavior was able to be controlled so that the following was possible as a single and/or individual set of switches to the command line:
Thanks
James