-
-
Notifications
You must be signed in to change notification settings - Fork 132
Open
Labels
announcementcommunity updatescommunity updatesdirectory-datachanges to basic FilterLists datachanges to basic FilterLists data
Description
(This issue report will be a carry-over of #1663 (comment) and #851, with the intention that it shall be stickied, perma-open, and linked to in the README, to help and inspire more people to contribute to the metadata.)
So you know of some lists you want to add, but you are very unsure about how to do so? Fear no more. Here's how to do it:
Add/update lists, licenses, subscription links, homepages, and similar:
- Right-click on the following link and choose "Save link": https://raw.githubusercontent.com/collinbarrett/FilterLists/master/services/Directory/data/FilterList.json
- Open the downloaded FilterList.json file in Sublime Text, Notepad++, or any similar raw-text editor who can handle large files and JSON indentations.
- Add the desired changes. For new lists, "id", "name", "syntaxId" and "viewUrl" are mandatory. "homeUrl" and "licenseId" are also important if they are applicable to the list. Other ones in active use are "description", "donateUrl", "emailAddress", "issuesUrl", "viewUrlMirror1" and "viewUrlMirror2".
- Once you've performed the changes, save the file.
- Before you can upload the changes to this repo, you must first create a branch of this repo. The easiest way to do so by far, is to take care of assigning tags to the list first (Explained below).
- Once you're on a new branch, go to
https://github.com/[Your GitHub username]/FilterLists/tree/master/services/Directory/data
(The URL may be different under many circumstances, such as if you've contributed to FilterLists.com before), click "Upload" in the upper right, and choose theFilterList.json
file that you saved. - Submit a PR, and we'll double-check it from there.
Assign tags to lists (Mandatory for new lists):
- Go to https://github.com/collinbarrett/FilterLists/edit/master/services/Directory/data/FilterListTag.json, and edit it online.
- "filterListId" is the list's ID in FilterList.json. "tagId" is one of these tags.
- If you are 100% certain that none of the existing tags are suitable for a particular list, choose tagId 15 (Topical).
- Save the file. This will create a new branch and/or fork, which will be convenient for list additions in general.
Assign languages to lists:
(This presumes you've already assigned tags to the lists.)
- Go to the branch you created after assigning tags.
- Go to
.../data/FilterListLanguage.json
and begin editing it. - "languageId" is one of a randomly numbered list of languages. For instance, German is 167, while Japanese is 141.
- Save the file.
Assign contributors to lists:
(This presumes you've already assigned tags to the lists.)
- Go to the branch you created after assigning tags.
- Go to
.../data/FilterListMaintainer.json
and begin editing it. - "maintainerId" is one of various filterlist makers. If you wish to assign someone who is not mentioned in that file, you are merrily welcome to add maintainer profiles to Maintainer.json
- Save.
Moreover, this thread can also be used to store your backlogs of things to do, and for whom help is requested to get it done faster.
liamengland1, Marek33, Mosney and iam-py-test
Metadata
Metadata
Assignees
Labels
announcementcommunity updatescommunity updatesdirectory-datachanges to basic FilterLists datachanges to basic FilterLists data