Bug 391581 - Regression: path order is ignored, breaking dependency resolution
Summary: Regression: path order is ignored, breaking dependency resolution
Status: RESOLVED DUPLICATE of bug 366831
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other openSUSE 10.3
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-16 19:45 UTC by Michael Hutchinson
Modified: 2008-05-19 14:52 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Hutchinson 2008-05-16 19:45:12 UTC
Editing project mata files with
osc meta prj "home:MJHutchinson:mdvanilla" -e

I have specified multiple paths for each repository:
  <repository name="openSUSE_Factory">
    <path repository="openSUSE_Factory" project="Mono"/>
    <path repository="standard" project="openSUSE:Factory"/>
    <arch>i586</arch>
    <arch>x86_64</arch>
  </repository>

However, when I upload the change, the paths are RE-ORDERED when they reach the server, so that the "standard" repository is first (this can be seen in the web UI), and it becomes
    <path repository="standard" project="openSUSE:Factory"/>
    <path repository="openSUSE_Factory" project="Mono"/>

The problem with this, is that packages seem to be resolved from the second path only when the first path does not contain them. However, the packages from the "Mono" project SUPERSEDE the ones in the standard path, and I need these newer versions.

This is a regression, because the correctly ordered paths used to be accepted in the order I uploaded them (other projects of mine still use the order I originally uploaded, but I dare not touch them because of this bug). 

N.B. For some reason the paths used to be re-ordered when I *downloaded* the meta file, but this was only a minor issue, as it did not break functionality.
Comment 1 Marcus Hüwe 2008-05-16 21:24:54 UTC

*** This bug has been marked as a duplicate of bug 366831 ***
Comment 2 Adrian Schröter 2008-05-17 06:33:04 UTC
Yes, it is a bug. But in this case you do not need to add openSUSE:Factory repo, because it gets automatically added via Mono project building against it.
Comment 3 Michael Hutchinson 2008-05-19 14:52:01 UTC
Adrian: I would have expected so, yes, and I did try that, but it didn't work. It seems that it can't find packages that are in the openSUSE:Factory repo.