Handle v0.1 imported associated meta
This commit is contained in:
parent
c76a1d68e5
commit
670d7b22ab
2 changed files with 8 additions and 2 deletions
|
|
@ -349,7 +349,7 @@ def artifactimport(meta, parentmeta, String parentmetapath, String childproduct,
|
|||
echo "Finding meta associated with child: Product: ${childproduct} Sub-component: ${childsubcomponent}"
|
||||
def findresults = parentmeta.findAssociatedMeta(parentmetapath, childproduct, childsubcomponent)
|
||||
if (findresults.matchfound) {
|
||||
childmeta = findresults.matchedmeta
|
||||
childmeta = findresults.matchedmetaitem.metainfo
|
||||
if (childmeta.releaseinfo.released) {
|
||||
importoptions.releaserepo(childmeta.releaseinfo.releaserepoURL, childmeta.releasetag())
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -1018,7 +1018,13 @@ class MetaInfo extends GISJsonSerialised {
|
|||
}
|
||||
} else if (!relatedmetainfo.format || relatedmetainfo.format == '0.1') {
|
||||
def MetaInfo othermeta = relatedmetainfo.meta
|
||||
results = othermeta.walkrelated_v0_1(results.metacollection, results.comment, level + 1, gatheredpath, gatheredmetapath, limiteddepth, maxdepth - 1)
|
||||
results = othermeta.walkrelated_v0_1(results.metacollection,
|
||||
results.comment,
|
||||
level + 1,
|
||||
gatheredpath,
|
||||
gatheredmetapath,
|
||||
limiteddepth,
|
||||
maxdepth - 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue