ivy-user  

Re: branch usage

Luke Renn
Thu, 04 Feb 2010 10:51:36 -0800

On Thu, Feb 4, 2010 at 12:38 PM, Matt Benson <gudnabr...@gmail.com> wrote:
> All:  Does any documentation exist of any depth concerning the use of branch
> attributes among Ivy files?

There's not much to them.  One thing (iirc) is that you need to change
the repository patterns if you're using branches.

ivy.<whatever>.default.artifact.pattern=[organisation]/[module]/([branch]/)[revision]/[type]s/[artifact].[ext]
ivy.<whatever>.default.ivy.pattern=[organisation]/[module]/([branch]/)[revision]/[type]s/[artifact].[ext]

Otherwise a publish of two versions on different branches will blow
the other one away.

The branch is just one more qualifier for the resolve, and one more
attribute available in the ModuleRevisionId.  Did you have anything
specific in mind?

Luke