I marked this RFC because it lacks tests. I don't have the time at the moment to create proper tests, so perhaps someone else can add those.
I don't think there are any tests for clone --branches or this would have been found when da320b4 ("Ignore files in a cloned repository", 2019-04-15) was added. So ideally there would be a basic test for the branches option and then potentially another test to ensure that the excludes file is added to each branch dir.
(Tangentially, I think the excludes patterns in fedpkg should be tightened up a bit, adding a leading / to anchor most of them at the root dir and a trailing / to results_* to make it clear it's a directory.)
I marked this RFC because it lacks tests. I don't have the time at the moment to create proper tests, so perhaps someone else can add those.
I don't think there are any tests for
clone --branchesor this would have been found when da320b4 ("Ignore files in a cloned repository", 2019-04-15) was added. So ideally there would be a basic test for the branches option and then potentially another test to ensure that the excludes file is added to each branch dir.(Tangentially, I think the excludes patterns in fedpkg should be tightened up a bit, adding a leading
/to anchor most of them at the root dir and a trailing/toresults_*to make it clear it's a directory.)