Closed cmoesel closed 1 year ago
Dang. I remember thinking to myself that I should double-check that the links still work, and then... I totally forgot. Thanks for spotting it! I think I know how to fix it.
Thanks, @mint-thompson. I've fixed this so that now the links are proper relative links. This is an improvement over the old absolute links because now you can move the output folder around (or zip it up) and the links still work.
Thanks, @jafeltra. I accepted all of your suggestions.
Update the regression script to use FSHFinder data as the source of the repository list instead of the static
repos-all.txt
andrepos-select.txt
files. As part of this, support--count
and--lookback
options to restrict the repositories under test.This still uses the same file format for listing repositories, but now it is generated as a
repos.txt
file into the output folder first -- and then regression runs on that file. The outputrepos.txt
is generated based on the options selects:--count <number>
or--lookback <days>
are used,repos.txt
is populated w/ repos from FSHFinder--repo <repos...>
option is used, the specified repos are populated in therepos.txt
file--file <path>
option is used, the specified file is copies asrepos.txt
The CLI has been moved to a new
cli.ts
file and has the following top-level commands:The list-based commands list out the repositories that would be run as regression without running the regression. This might be useful for debugging or seeing what repos would be run for a particular set of options.
For testing, I recommend seeing what options are available for each command and trying them out. You should also confirm that the NPM scripts work as expected.