[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
|
[cross-project-issues-dev] mirror behavior and p2
|
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