[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [p2-dev] flush internal data API ?

Hey!

> The API is the one on IMetadataRepositoryManager#refreshRepository and IArtifactRepositoryManager#refreshRepository

Ah, great, thanks!!!

> What could be interesting is to propose reload upon failure of the installation.

Indeed, good idea.

Also thanks for the pointer to the âreloadâ button. Will try that next timeâ :-)
Maybe that is already enough.

Thanks again, much appreciated!!!
-Martin



> 
> On 15-11-20 09:43 AM, Martin Lippert wrote:
>> Hey!
>> 
>> I have a question:
>> 
>> Sometimes people report that they get an error while trying to update features. The error says something along the lines:
>> - no repository found containing XYZ
>> 
>> (even though the repository contains the mentioned artifacts).
>> As a solution I usually tell people to remove the update site from the list of available update sites, restart Eclipse, add the update back. That solves the issue, so I guess there is some stale or corrupt internal data about the repository.
>> 
>> My question:
>> Is there p2 API that I could use to build a simple button that wipes out that cached data?
>> That would make it a lot easier for our users to deal with that situation.
>> 
>> Since I am not a p2 expert, this might be a stupid question, but I hope to find some help hereâ :-)
>> 
>> Thanks a lot!!!
>> 
>> Cheers,
>> -Martin
>> 
>> 
>> _______________________________________________
>> p2-dev mailing list
>> p2-dev@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.eclipse.org/mailman/listinfo/p2-dev
> 
> _______________________________________________
> p2-dev mailing list
> p2-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/p2-dev