atom / apm

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

Bundle #90

Closed bahlo closed 10 years ago

bahlo commented 10 years ago

What do you think about a command like apm bundle which installs all packages listed in an Atomfile?

I'm willing to implement this, I just wanted to check if that's what you want or if you have other plans.

Here's my current workaround: apm_bundle.sh.

kevinsawicki commented 10 years ago

This sounds good, although I could see apm install supporting this file as an argument, does that sound reasonable?

bahlo commented 10 years ago

Yes, sounds perfectly reasonable.

Or maybe make it the default and re-route the current (npm install)?

jonathanwiesel commented 10 years ago

+1

thedaniel commented 10 years ago

Rather than following the Bundler-like Atomfile convention (which i suspect implies a simplified package and version DSL) , I think we should probably just expect something formatted more like the dependencies section of a package.json. Perhaps even CSON since other Atom config files are in that format.

'packages':
  'bahlo-theme': '0.1.0',
  'thedaniel-package': '*',
jonathanwiesel commented 10 years ago

Well with the recent announcement of stars management I think we could use that for bundle installing.

thedaniel commented 10 years ago

File-based 'bundles' are still appealing though, because a set of stars is tied to a single user account. Yes, it would be super cool if there was a user out there that wanted to maintain their stars as e.g. the best setup for Go development, but it might be easier to collaborate / more stable if a community could just provide a file listing dependencies that describes their blessed Atom setup.

bahlo commented 10 years ago

I agree with @thedaniel, people would add them to their dotfiles and you'll have everything at one place (incl. .atom-folder, for example). It also feels better (at least for me) to have it checked into a CVS.