Open suyash-thakur opened 9 months ago
How about adding a specific tag to the repos that need be excluded, to filter out repos with that tag
@saksham-jain177 The issue is there is no unique way to identify the repos with tags. Most of the issues in these repos are tagged good-first-issue
. The only way I can think of is to maintain a manual black list so that we don't end up excluding repos that actually belongs to the list.
I also didn't understand the "adding tags to repos" part. These repos are maintained by different people and we can't add tags to them from our end.
@suyash-thakur Does this mean that there is only a fixed set of repositories that needs to be excluded? Or else we cannot specify them in a json file to exclude them while fetching the other repositories. And also what will be the criteria to decide if a repository is to be included or excluded?
@Ishpreet01 The repository that needed to be excluded is a manual process. There are some repos which are for people to learn basic of git (creating PR and stuff). There is no unique identifier for these repos. A json file for listing these repos will be good enough. We will keep adding the similar kind of repos to the list as we keep encountering them.
To achieve the goal of excluding specific repositories while fetching and listing them, you can create a JSON file containing the names of the repositories to be excluded. Then, you can modify your script to skip these repositories when generating the README.md file.
@abishek1740P Yup. That's the only solution that I can think of now. Can you create a PR for it ?
A list of repositories that needed to be excluded from the list. There are few repositories that are intended to learn git and open-source. Although these repos are actually usefully but I think doesn't belong to this list.
Describe the solution you'd like We can have a json file containing the repo name needed to be excluded and while fetching the repos if we encounter any of these repos we can skip it, instead of adding it to the
README.md
Describe alternatives you've considered I am open to any alternative solution here.
Additional context Add any other context or screenshots about the feature request here. As an example repo that needs to be excluded is -: https://github.com/fork-commit-merge/fork-commit-merge