On 23/11/2012, at 8:09 PM, Adam Murdoch wrote:
>
> On 23/11/2012, at 10:40 PM, Luke Daley wrote:
>
>> We use a RepositoryHandler for publishing.repositories, and
>> RepositoryHandler is a NamedDomainObjectList<ArtifactRepository>.
>>
>> This makes sense for resolving because the order of repositories is
>> important. For publishing though, this doesn't hold. For publishing, it
>> really is very much a Set.
>>
>> Not sure what to do about this. It's not _that_ bad because
>> RepositoryHandler has some logic in it to uniqueify the names of the repos,
>> which is the biggest danger in using a list for publications.
>
> A worse problem would be where the destination is duplicated, e.g. when I
> accidentally call repositories.ivy { url 'my url' } multiple times.
Not necessarily. I might publish to the same repo with different credentials,
or there's a different pattern etc.
A repository is more than just the base 'url'.
>
> Let's leave it for now and see what comes out of the upcoming publishing work.
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email