Skip to content

Commit 8ffe5a3

Browse files
committed
cmdlib: add excludepkgs for repos from fast-tracks.yaml
For some reason I was seeing behavior where more packages were getting pulled from a repo generated with fast-tracks.yaml [1] than just what was in the includepkgs line. I found that adding `excludepkgs=*` worked but according to the docs that shouldn't be needed. Life is too short, so let's just add it here. [1] #4058
1 parent 4901a76 commit 8ffe5a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cmdlib.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ for (repo, spec) in fast_tracks.items():
551551
break
552552
if passthrough:
553553
f.write(line + '\n')
554+
f.write('excludepkgs=*\n')
554555
f.write('includepkgs=' + ','.join(spec['packages']) + '\n')
555556
"
556557
rm "${tmp_overridesdir}/all.repo"

0 commit comments

Comments
 (0)