[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Why does loading a repo fail if one of the files could not be found/loaded



for Tycho I found another solution, so bug [1] is not relevant anymore.






Von: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] Im Auftrag von SCHREIBER.Martin
Gesendet: Donnerstag, 29. Oktober 2015 12:26
An: equinox-dev@xxxxxxxxxxx
Betreff: [equinox-dev] Why does loading a repo fail if one of the files could not be found/loaded


Hi all,


I filed a bug [1] a couple of weeks before which is about the fact, that if you have a index file that contains 2 values in the repo factory oder:


metadata.repository.factory.order= content.xml.xz,content.xml,!

artifact.repository.factory.order= artifacts.xml.xz,artifacts.xml,!


that the download fails if the first one (e.g. content.xml.xz) is missing or currupt.


I submitted a patch [2] today which does try to load the others and only fails if non of the specified files could be read/loaded but the build is failing because there is an explicit test which is testing that case and is expecting that the downlaod fails in such a case. This is because of an old bug [3].


I am wondering why it is bad to not try to load e.g. content.xml if loading e.g. content.xml.xz fails?






[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=475558

[2] https://git.eclipse.org/r/59192

[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=247566

[4] https://bugs.eclipse.org/bugs/show_bug.cgi?id=474885

[5] https://bugs.eclipse.org/bugs/show_bug.cgi?id=461787