Record the import path of meta data

This commit is contained in:
Dan Hawkins 2021-12-11 16:02:22 +00:00
commit dfcbbf1fa6

View file

@ -593,14 +593,14 @@ class MetaInfo extends GISJsonSerialised {
class RelatedMetaInfo extends GISJsonSerialised {
private String format
private String fullpath
private String importpath
private String offsetpath
private MetaInfo meta
RelatedMetaInfo(script, fullpath = "", offsetpath = "", MetaInfo meta = null) {
RelatedMetaInfo(script, importpath = "", offsetpath = "", MetaInfo meta = null) {
super(script)
this.format = '0.2'
this.fullpath = fullpath
this.importpath = importpath
this.offsetpath = offsetpath
this.meta = meta
}
@ -788,7 +788,7 @@ class MetaInfo extends GISJsonSerialised {
mi.addConfigurationInfo('', givenRepo, givenRevision, givenSHA)
}
RelatedMetaInfo rmi = new RelatedMetaInfo(script, adjustedpath, adjustedpath, mi)
RelatedMetaInfo rmi = new RelatedMetaInfo(script, importedmetafile, adjustedpath, mi)
if (appendtoparentmeta) {
associatedmeta.add(rmi)
}