Bug 535906 - versioned links to non versioned links ...
Summary: versioned links to non versioned links ...
Status: CONFIRMED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-01 10:56 UTC by Michael Meeks
Modified: 2009-09-11 09:40 UTC (History)
0 users

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 Meeks 2009-09-01 10:56:48 UTC
We had a nasty situation in Moblin recently where we created a versioned link in Moblin:Factory to a package in openSUSE:Factory - which seemed safe.

Unfortunately, the package in openSUSE:Factory was itself a non-versioned link to another package in openSUSE:Factory.

When the latter was updated, we got a new version - which was sadly inconsistent and unexpected.

So - what is the solution - presumably not some hyper-complicated linking magic.

Instead - I would love to see 'osc linkpac -c' check that what is being linked to is either:

    a) a versioned link itself
or
    b) a vanilla package.

And warn / fail if something dumb is being attempted - that would be most helpful.

Thanks.
Comment 1 Adrian Schröter 2009-09-01 12:08:02 UTC
when you use the md5sum of the merged sources as source link revision number, you get a link which exactly refers to all used revision, no matter if and how many source links are used below.

We can maybe support this better in osc linkpac call later.