Bug 1226251

Summary: RFE: xmvn-subst does not support symlinking the current reactor artifacts
Product: [Fedora] Fedora Reporter: Severin Gehwolf <sgehwolf>
Component: xmvnAssignee: Mikolaj Izdebski <mizdebsk>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: java-sig-commits, mat.booth, mizdebsk, msimacek, msrb, omajid
Target Milestone: ---Keywords: FutureFeature, Upstream, VerifiedUpstream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 2.5.0-1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-28 18:03:05 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:
Bug Depends On:    
Bug Blocks: 1227205    

Description Severin Gehwolf 2015-05-29 10:01:42 UTC
Description of problem:
The thermostat package needs to symlink some of its own artifacts (com.redhat.thermostat:*) during a build. However, xmvn-subst only works if artifacts are actually installed. It would be ideal if xmvn-subst could be used for symlinking external deps as well as reactor artifacts.

We currently work around this problem by adding a self-BR. However this is cumbersome for version upgrades since we need to:
- remove the self BR (or disable it via some global spec variable)
- build
- re-add self BR
- rebuild

It's especially a problem for building RPMs via CI.

Comment 1 Mikolaj Izdebski 2015-06-02 06:51:22 UTC
Implemented upstream in commit dbf0e17.
https://github.com/mizdebsk/xmvn/commit/dbf0e17

Comment 2 Mikolaj Izdebski 2015-06-02 07:17:20 UTC
Verified upstream using xmvn-subst-2.5.0-0.57.gitecfe4f5.noarch

Comment 3 Mikolaj Izdebski 2015-10-28 17:35:29 UTC
Fixed in xmvn-2.5.0-1

Comment 4 Mikolaj Izdebski 2015-10-28 18:03:05 UTC
I believe that this feature is included in xmvn-2.5.0-1,
which is available in Fedora Rawhide, so I am closing this bug now.

The build which includes the feature can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=694810