Bug 960187

Summary: Tycho should include system local p2 repo for eclipserun-plugin
Product: [Fedora] Fedora Reporter: Roland Grunberg <rgrunber>
Component: tycho-extrasAssignee: Roland Grunberg <rgrunber>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: rawhideCC: orion, rgrunber
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: tycho-extras-0.17.0-2.fc19 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-24 20:19:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roland Grunberg 2013-05-06 16:19:51 UTC
Looking at http://wiki.eclipse.org/Tycho/Release_Notes/0.17 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281) we should automatically include the local system p2 repository for dependency resolution in local mode.

Comment 1 Roland Grunberg 2013-05-06 16:35:31 UTC
As a workaround, builds would currently have to add the system local p2 repository to their tycho-eclipserun-plugin configuration.

Eg.

LOCALREPO="file://`pwd`/.m2/p2/repo"
find eclipse.platform.common/bundles -name pom.xml -exec sed -i -e "s@http://download.eclipse.org/eclipse/updates/4.2@${LOCALREPO}@g" {} \;

assuming that some remote repository is already specified.

Comment 2 Roland Grunberg 2013-05-07 21:36:40 UTC
I've pushed a fix as tycho-extras-0.17.0-2 for rawhide. If this resolves your issue, I can push too f19 as well.

To test, simply remove the 'sed' line in your specfile that replaces the upstream repo, with the system's local repo, and rebuild.

Comment 3 Orion Poplawski 2013-05-07 22:05:31 UTC
That does appear to fix the issue, thanks.

Comment 4 Fedora Update System 2013-05-08 18:22:44 UTC
tycho-extras-0.17.0-2.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/tycho-extras-0.17.0-2.fc19

Comment 5 Fedora Update System 2013-05-09 17:56:15 UTC
Package tycho-extras-0.17.0-2.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tycho-extras-0.17.0-2.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-7757/tycho-extras-0.17.0-2.fc19
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2013-05-24 20:19:10 UTC
tycho-extras-0.17.0-2.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.