Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » P2 updates seems to merge two URLs
P2 updates seems to merge two URLs [message #113278] Thu, 03 July 2008 19:10 Go to next message
annoynimouse is currently offline annoynimouseFriend
Messages: 5
Registered: July 2009
Junior Member
I open Software updates, Available Software
Then i add http://gted.sourceforge.net/update/
Then i add http://erlIDE.sf.net/update/

All those URLs worked fine with Ecipse 3.1, 3.2, 3.3 - so i _expect_ them
to work ereasonably in Eclipse 3.4

But then strange thing happens - i see 1st URL duplicated instead of two
different URLs.

That seems to me like if P2 Updater had a number of bugs:
1) It goes crazy about HTTP redirection. It should work ok with it. Maybe
it should automagically change URL. At least it can cry "Error! i am not
compatible" and fail and do nothing. Instead it goes crazy.
2) Soft Update windows uses auto-generated site titles as a unique IDs.
While Manage Sites dialog shows that they have different URLs and same
name (same as URL #1) - i.e. it does tell them from each other, the Soft
Update dialog does not. So it shows the same set of software for both of
them (hence soft from 2nd site becomes unavailable)
This is bad. Imagine 2 different 3rd-party update sites by an accident
have the same title (for example generic name like 'update', or for
example some stub from some template that they forgot to change).
Since - 2.1) - Eclipse 3.4 no more gives user the power to customise name
at his own wish, user is stuck. He has no power upon remote 3rd-arty sites
and Eclipse Update gives him no way to insist those are different sites.

I am not talking of particular work-around, i want to make clear if
described above are bugs, if they are new bugs, if they are (and how, with
which details) to be inserted into bugzilla.

PS: bug #3, minor ?
If to add URL like http://update.aptana.com/update/ - Eclipse will cry 'it
is not update site!" but still will add it to the list. IMHO if Eclipse is
so sure to make such a strng statement, it is not add not-update-site to
the list. Maybe it is not to be added at all, maybe only after user prompt
'i don't think it is an update site and it would do any good to put it in
the list. Do you insist to keep it the the list? yes|no" Current behavious
seems to me inconsistent - we claim site is of no use, then we add it to
the list nonetheless.
Re: P2 updates seems to merge two URLs [message #113610 is a reply to message #113278] Wed, 09 July 2008 03:02 Go to previous messageGo to next message
Pascal Rapicault is currently offline Pascal RapicaultFriend
Messages: 333
Registered: July 2009
Location: Ottawa
Senior Member
All the things you raise are valid problems.
- The first one wrt the sites needs to be entered agains the p2 component
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Equinox
- For the second one there is something that exists wrt to the naming of
repos (https://bugs.eclipse.org/bugs/show_bug.cgi?id=194224) but I'm not
sure there is one about the pb of redirects. You may still want to open one.
- The third one has to do with workflows and needs to be opened.

For every bug, please make sure to include the relevant details (e.g. URLs
and steps) to reproduce.

Thx


"Arioch" <the_Arioch@nm.ru> wrote in message
news:op.udqcsqcvd5jclk@d_burov...
>I open Software updates, Available Software
> Then i add http://gted.sourceforge.net/update/
> Then i add http://erlIDE.sf.net/update/
>
> All those URLs worked fine with Ecipse 3.1, 3.2, 3.3 - so i _expect_ them
> to work ereasonably in Eclipse 3.4
>
> But then strange thing happens - i see 1st URL duplicated instead of two
> different URLs.
>
> That seems to me like if P2 Updater had a number of bugs:
> 1) It goes crazy about HTTP redirection. It should work ok with it. Maybe
> it should automagically change URL. At least it can cry "Error! i am not
> compatible" and fail and do nothing. Instead it goes crazy.
> 2) Soft Update windows uses auto-generated site titles as a unique IDs.
> While Manage Sites dialog shows that they have different URLs and same
> name (same as URL #1) - i.e. it does tell them from each other, the Soft
> Update dialog does not. So it shows the same set of software for both of
> them (hence soft from 2nd site becomes unavailable)
> This is bad. Imagine 2 different 3rd-party update sites by an accident
> have the same title (for example generic name like 'update', or for
> example some stub from some template that they forgot to change).
> Since - 2.1) - Eclipse 3.4 no more gives user the power to customise name
> at his own wish, user is stuck. He has no power upon remote 3rd-arty sites
> and Eclipse Update gives him no way to insist those are different sites.
>
> I am not talking of particular work-around, i want to make clear if
> described above are bugs, if they are new bugs, if they are (and how, with
> which details) to be inserted into bugzilla.
>
> PS: bug #3, minor ?
> If to add URL like http://update.aptana.com/update/ - Eclipse will cry 'it
> is not update site!" but still will add it to the list. IMHO if Eclipse is
> so sure to make such a strng statement, it is not add not-update-site to
> the list. Maybe it is not to be added at all, maybe only after user prompt
> 'i don't think it is an update site and it would do any good to put it in
> the list. Do you insist to keep it the the list? yes|no" Current behavious
> seems to me inconsistent - we claim site is of no use, then we add it to
> the list nonetheless.
Re: P2 updates seems to merge two URLs [message #114352 is a reply to message #113610] Thu, 17 July 2008 18:48 Go to previous message
annoynimouse is currently offline annoynimouseFriend
Messages: 5
Registered: July 2009
Junior Member
> All the things you raise are valid problems.

For the record, if someone would like to query bugzilla, stumbled upon
this thread:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=241300 & 241302 & 241304
Previous Topic:Fetching Bundles from outside Equinox
Next Topic:Programmatically setting an update site
Goto Forum:
  


Current Time: Fri Apr 19 22:52:19 GMT 2024

Powered by FUDForum. Page generated in 0.02720 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top