issue 1025: a context naming the module's own repository is its own build source (ADR 0420 §4)
This commit is contained in:
@@ -1267,6 +1267,8 @@ func graphOfFacts(f snapshot.Facts) ([]inventory.Entry, map[string][]inventory.R
|
||||
read[mod.Name] = append(read[mod.Name], inventory.ReadRepository{Own: true, Paths: s.Paths})
|
||||
}
|
||||
}
|
||||
// A context naming the module's own repository is its own build source (novox/hq ADR 0420 §4).
|
||||
read[mod.Name] = inventory.OwnRepositoryAsOwn(read[mod.Name], mod.Repository)
|
||||
}
|
||||
var edges []inventory.Edge
|
||||
for _, e := range f.Edges {
|
||||
|
||||
Reference in New Issue
Block a user