[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Versioning and plugins

I don't think we've worked out a best solution, but here's what I'm doing:

For the plugins I maintain, I reserve 'master' for the bleeding edge (only guaranteed to work against Orion master). When I'm about to introduce a breaking change, I archive the old version at some other URL, and link it to the plugin catalog [1]. This is nice because my master branch doesn't get filled up with old junk, and previous versions are still available on the web for people running older Orions.

With that in mind, you could use a 'gh-pages' branch to host your various versions:
# On branch gh-pages
./0.4/NonymousPlugin.html
./0.5/NonymousPlugin.html
...

This gives each version a distinct, stable URL that you can link to. Up until now I've been carelessly passing out bleeding-edge URLs to users, but this is a bad idea that can lead to all kinds of breakage, so I'm trying to move the catalog to version-stable URLs instead.

Mark

[1] http://mamacdon.github.com/

On Fri, Apr 13, 2012 at 4:38 PM, John J Barton <johnjbarton@xxxxxxxxxxxxxxx> wrote:
Mark created a patch for Nonymous (thanks Mark!) but if I make the change then it will fail in any pre 0.5m2 orion.

I guess I can save it in a file named NonymousFor0.5.html Is that the best solution?

jjb

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/orion-dev