Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] mirror behavior and p2

Hi Stephan, 

I'm a bit surprised by this behaviour. Could you please describe in a bug reports the steps you took.
Thx

PaScaL

On 2011-06-21, at 4:15 AM, Stephan Herrmann wrote:

> Hi,
> 
> from my latest tests regarding p2.mirrorsURL I observed:
> 
> p2's usage of mirrors seems to depend on the directory timestamp.
> 
> I.e., ANY change to the base directory of a p2 repository will 
> invalidate its mirrors. 
> 
> Since the value of p2.mirrorsURL is this base directory, p2 does not
> consider any mirrors if the directory has changed.
> Such changes would include: editing artifacts.xml to include or 
> modify the p2.mirrorsURL (I was just adding &protocol=http), 
> re-adding artifacts.xml to artifacts.jar, re-adding metadata to a
> repository that was kept invisible by omitting those metadata,
> even removing obsolete (backup) files.
> 
> Unless I'm interpreting wrong what I observed, for mirroring to 
> work tomorrow *everything* must be in place today and not be 
> touched in any way. It wasn't obvious to me that this includes 
> touching of the *directory*.
> 
> best,
> Stephan
> _______________________________________________
> cross-project-issues-dev mailing list
> cross-project-issues-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cross-project-issues-dev



Back to the top