suyash-thakur / js-good-first-issues-finder

Javascript repositories with good first issues for newcomers to open source.
https://suyash-thakur.github.io/js-good-first-issues-finder/
MIT License
21 stars 15 forks source link

Create a way to exclude few repositories. #6

Open suyash-thakur opened 9 months ago

suyash-thakur commented 9 months ago

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

saksham-jain177 commented 8 months ago

How about adding a specific tag to the repos that need be excluded, to filter out repos with that tag

suyash-thakur commented 8 months ago

@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.

Ishpreet01 commented 7 months ago

@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?

suyash-thakur commented 7 months ago

@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.

abishek1740P commented 1 month ago

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.

suyash-thakur commented 1 month ago

@abishek1740P Yup. That's the only solution that I can think of now. Can you create a PR for it ?