getsparks.org icon indicating copy to clipboard operation
getsparks.org copied to clipboard

More usage of spark.info for versioning

Open Militis opened this issue 13 years ago • 2 comments

Perhaps instead of installing sparks into spark/version, make more use of the 'version' setting in spark.info so sparks could be easily upgraded. Could be toggleable, for those that want to install more than one version of a spark (and the default could still be to install into a version directory).

Perhaps there is already an option for this, and I am just not seeing it?

Militis avatar Nov 25 '11 04:11 Militis

Hm, can you elaborate?

You can install multiple spark versions currently. The idea behind that was better handling of dependencies and more flexibility from teh developer perspective in terms of upgrades. Ie, maybe using using version x.x.1 is ideal on one page, but we'd stick with 0.0.2 on the call site.

Maybe I'm misunderstanding?

Kenny Katzgrau Web: http://codefury.net Twitter: @kennyk Skype: kenny.katzgrau

On Thursday, November 24, 2011 at 11:22 PM, Militis wrote:

Perhaps instead of installing sparks into spark/version, make more use of the 'version' setting in spark.info (http://spark.info) so sparks could be easily upgraded. Could be toggleable, for those that want to install more than one version of a spark (and the default could still be to install into a version directory).

Perhaps there is already an option for this, and I am just not seeing it?


Reply to this email directly or view it on GitHub: https://github.com/katzgrau/getsparks.org/issues/11

katzgrau avatar Nov 25 '11 04:11 katzgrau

I tend to thoroughly test any new version of a spark I use in my dev environment. When it comes time to go live, I'd rather only need to push/ftp (depending on the setup) the new changes rather than add an entirely new directory that I need to copy configs to and change controllers to use the new version. Most sparks are alright to autoload (you still have to change the version directory if you upgrade - but at least it's in one central location), but there are a few that are only designed to be used by loading it directly when you need it (FireLog springs to mind here).

I sometimes oversimplify things, so maybe this isn't something anyone else would use. Just a random thought I had while upgrading a pair of sparks today.

Militis avatar Nov 25 '11 05:11 Militis