Bug 560989 - Mirrors of archived repositories indexes can break maven builds
Summary: Mirrors of archived repositories indexes can break maven builds
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 560941
  Show dependency tree
 
Reported: 2020-03-10 13:17 EDT by Quentin Le Menez CLA
Modified: 2021-04-28 16:52 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Quentin Le Menez CLA 2020-03-10 13:17:14 EDT
Hello,

I encountered this problem while I was attempting a last correction on an old branch job which dependended on sources that are now archived (@see Bug 560941).

I would therefore like to know if, aside from the ignore property there can be a way to let tycho resolve the existing proxies but ignore the redirections from archived sources.

Thanks,
Quentin
Comment 1 Mickael Istria CLA 2020-04-14 10:02:27 EDT
Can you please check whether those repo work in regular Eclipse Platform when using p2 to install content from them?
If not, please move the issue to p2.
However, it seems more like the issue is a wrong management of p2 repos; not something p2 or Tycho can -nor should- implement workaround for IMO.
Comment 2 Stephan Herrmann CLA 2020-04-14 13:22:53 EDT
(In reply to Mickael Istria from comment #1)
> However, it seems more like the issue is a wrong management of p2 repos; not
> something p2 or Tycho can -nor should- implement workaround for IMO.

Have you read Bug 560941 comment 0? To me it looks like Ed W. has painstakingly followed a lot of rules of good Eclipse citizenship. Why blame him for 'wrong management of p2 repos'?
Comment 3 Mickael Istria CLA 2020-04-14 13:36:52 EDT
(In reply to Stephan Herrmann from comment #2)
> Have you read Bug 560941 comment 0? To me it looks like Ed W. has
> painstakingly followed a lot of rules of good Eclipse citizenship. Why blame
> him for 'wrong management of p2 repos'?

Surely not Tycho as a technology if it works as expected ;)
Tycho is not the entity that does the Eclipse Foundation rules, nor the entity that manages the infra, that, nor that directly maintains p2. And the error seems more on one of those 3 layers.
I'm asking for a test against p2 UI to narrow down the list and to identify whether it's a Tycho-specific issue or whether it can be reproduced in other contexts.
Comment 4 Stephan Herrmann CLA 2020-04-14 17:28:52 EDT
(In reply to Mickael Istria from comment #3)
> (In reply to Stephan Herrmann from comment #2)
> > Have you read Bug 560941 comment 0? To me it looks like Ed W. has
> > painstakingly followed a lot of rules of good Eclipse citizenship. Why blame
> > him for 'wrong management of p2 repos'?
> 
> Surely not Tycho as a technology if it works as expected ;)

Whether or not tycho works as expected will be the result, not the premise of investigation.

When saying "it seems more like the issue is a wrong management of p2 repos", do you care to share the reasons why you believe so?
Comment 5 Mickael Istria CLA 2021-04-08 18:05:30 EDT
Eclipse Tycho is moving away from this bugs.eclipse.org issue tracker to https://github.com/eclipse/tycho/issues/ instead. If this issue is relevant to you, your action is required.
0. Verify this issue is still happening with latest Tycho 2.4.0-SNAPSHOT
  if issue has disappeared, please change status of this issue to "CLOSED WORKFORME" with some details about your testing environment and how you did verify the issue; and you're done
  if issue is still present when latest release:
* Create a new issue at https://github.com/eclipse/tycho/issues/
  ** Use as title in GitHub the title of this Bugzilla ticket (may include the bug number or not, at your own convenience)
  ** In the GitHub description, start with a link to this bugzilla ticket
  ** Optionally add new content to the description if it can helps towards resolution
  ** Submit GitHub issue
* Update bugzilla ticket
  ** Add to "See also" property (up right column) the link to the newly created GitHub issue
  ** Add a comment "Migrated to <link-to-newly-created-GitHub-issue>"
  ** Set status as CLOSED MOVED
  ** Submit

All issues that remain open will be automatically closed next week or so. Then the Bugzilla component for Tycho will be archived and made read-only.