[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] Talk'n Lock'n


Ian Bull wrote:
> 4. Don't use .lock files, but instead use the artifacts.jar as the lock
> file.  This seems like the best solution and I've spent some time this
> weekend prototyping it. There are a few challenges with this approach that
> may be show stoppers (we allow users to change the 'shape' of the
> repository -- from .jar to .xml.  This means that the .lock file will
> suddenly change; how do we deal with this? Also, what comes first, the
> repository or the lock?).

What is the use case of changing the shape? I can't imagine why you'd want to do that. Locking is a very useful feature, and if mutable shape is blocking a good solution, just drop that "feature".

Best regards
Tobias