atom / apm

Atom Package Manager
https://atom.io/packages
MIT License
1.27k stars 298 forks source link

apm stars --install is very slow #170

Open demyte opened 10 years ago

demyte commented 10 years ago

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

JTarasovic commented 10 years ago

:+1:

m1ga commented 10 years ago

skipping installed packages would be nice!

konpa commented 9 years ago

+1

despairblue commented 9 years ago

:+1:

dsandstrom commented 9 years ago

Re: Ignore installed packages. Something like pacman's --needed would be cool.

despairblue commented 9 years ago

Brilliant idea!

varemenos commented 9 years ago

:+1:

0x1ad1b88 commented 8 years ago

sadly that thing is still "broken"... :(

drawveloper commented 8 years ago

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.

AsaAyers commented 8 years ago

https://github.com/atom/apm/pull/330 is the PR I started but never finished.

thoughtchad commented 8 years ago

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.

zamicol commented 7 years ago

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