You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// fetch succeeded, must be an object we know about so let's do a proper listing/search
107
+
for_, entry:=ranger.Entries() {
108
+
ifapplyConstraints&&r.SkipConstraints(entry) {
109
+
continue
110
+
}
111
+
ifarchFilter&&!entry.HasArchitecture(arch) {
112
+
continue
113
+
}
114
+
115
+
iflen(r.TagEntries) ==1 {
116
+
// we can't include SharedTags here or else they'll make "bashbrew parents something:simple" show the parents of the shared tags too ("nats:scratch" leading to both "nats:alpine" *and* "nats:windowsservercore" instead of just "nats:alpine" like it should), so we have to reimplement bits of "r.Tags" to exclude them
117
+
tagRepo:=path.Join(namespace, r.RepoName)
118
+
for_, rawTag:=rangeentry.Tags {
119
+
tag:=tagRepo+":"+rawTag
120
+
tagsToConsider=append(tagsToConsider, tag)
121
+
}
122
+
} else {
123
+
// if we're doing something like "bashbrew children full-repo" (or "bashbrew children full-repo:shared-tag"), we *need* to include the SharedTags or else things that are "FROM full-repo:shared-tag" won't show up 😅 ("bashbrew children adoptopenjdk" was just "cassandra" instead of the full list)
// we can't include SharedTags here or else they'll make "bashbrew parents something:simple" show the parents of the shared tags too ("nats:scratch" leading to both "nats:alpine" *and* "nats:windowsservercore" instead of just "nats:alpine" like it should), so we have to reimplement bits of "r.Tags" to exclude them
0 commit comments