dotnet / issue-labeler

An issue labeler bot for use in dotnet repositories.
MIT License
22 stars 20 forks source link

Why limit projects only to repo.json #32

Closed kant2002 closed 2 years ago

kant2002 commented 2 years ago

I try to run project using

dotnet run --project src/CreateMikLabelModel/CreateMikLabelModel.csproj -- dotnet/wpf

and I receiving CreateMikLabelModel Error: 0 : The repo 'dotnet/wpf' was not found in repos.json. I know that dotnet/wpf does not collected as part of this project, but why do limit dataset creation to repositories only in repos.json?

Eilon commented 2 years ago

@kant2002 the tool is cobbled together from random code that a few people wrote, so it's written to support only what a few of us needed at the time it was written 😁 .

We could certainly change it so that if a repo is in repos.json then it uses the metadata stored there, and that otherwise it assumes it's a random other repo, and operates with default settings. We do still need repos.json because some repos have special requirements (such as using additional repos for training data).