This has always been a question with giter8 and other projects that have
a corresponding plugin: should the plugin version number match the
projects? Often they have different development cycles, and for good reasons
Complicating this is the fact that I am not set up to publish to the new
plugins repository and will not have time to do that before nescala. So,
I can't publish an 0.4.x giter8-plugin the normal way. We are in limbo.
Since source dependencies seem to work well enough for plugins (e.g.,
Mads and pamflet-plugin) I'm inclined to switch over to that for giter8.
This will allow it to have more fluid releases. Like, right now.
We could update the readme pretty easily, and the g8 template. ls will
still have the wrong information. Perhaps Doug would be interested in
adding an option to say that a plugin is distributed as a source
dependency only, so that he can provide appropriate sample code.
Nathan
Yeah. Conscript needs to do something to make it easy to answer version
correctly. I am the worst offender for not actually reporting a version.
I've never implemented it!
> The plugin users on the other hand need to be aware since they
> manually type in the version number.
> Normally I'd expect some implied relationship when a pulgin is named
> after a project,
> like pamflet-plugin 0.4.0 will make a pamflet using 0.4.0 engine.
> But giter8-plugin doesn't share anything, so it might not matter much
> as long as it's documented.
Yeah. It sucks to publish new binaries that are exactly the same just to
keep the versions in sync, but it is confusing. Another nice thing about
tags is we can push many tags for exactly the same HEAD.
> I have access to the sbt community plugins repo, if that's where you
> want to
> publish the plugin. I'm ok with source dep too in this case.
> I like using plugins as library to make another plugin, so generally I
> prefer having the jar.
Right, and if this plugin is a source dependency then yours has to be
one too, which you don't want.
How about this: giter8-plugin changes its documentation to recommend use
as a source dependency, and I'll make an effort to push tags that
correspond to the giter8 versions. However, you can take over publishing
the artifacts that you want to use as a library from other plugins. You
can publish them however and whenever you want. And if the community
repo won't let you publish them under the net.databinder groupId (I
wouldn't mind, obviously) you can use a different one. I don't think it
matters that much what the groupId is, as long as it's documented.
Nathan
How about this: giter8-plugin changes its documentation to recommend use
as a source dependency, and I'll make an effort to push tags that
correspond to the giter8 versions.
However, you can take over publishing
the artifacts that you want to use as a library from other plugins. You
can publish them however and whenever you want.