- Copy
TEMPLATE.user.jsto<hosting name>-copy-commit-reference.user.js - Implement the userscript:
- Replace all instances of
Exampleandexamplewith corresponding words for the new hosting. Pay close attention to the metadata section. - Use script
./maintenance/migrate-lib.shto migrate the new userscript to a fresh version of the library. - Implement the new subclass of
GitHostingusing instructions in the library filecopy-commit-reference-lib.js. See existing subclasses of classGitHostingfor how various methods of classGitHostingcan be overridden.
- Replace all instances of
- Test the userscript on the new hosting.
- Insert new tests at the end of file
tests.htmlusing your browser. Follow format of the existing entries. - Create a screenshot of the userscript in action. Use existing screenshots in
directory
Documentation/as an example.
- Merge the new userscript to branch
main - Import the userscript on Greasy Fork: https://greasyfork.org/en/import
using raw URL from GitHub for branch
main - Set up userscript description on Greasy Fork:
- Go to "Admin" tab on Greasy Fork
- Paste
https://github.com/rybak/copy-commit-reference-userscript/raw/main/Documentation/Greasy%20Fork.mdinto field "Default additional info" - Click "Update and sync now"
- Add the userscript to the set on Greasy Fork:
- Go to https://greasyfork.org/en/users/951503-andrybak/sets/588773/edit
- Paste the userscript's URL into field "Add scripts (URLs or IDs, separated by whitespace)"
- Click "Include" just under the field
- Click "Save" at the bottom of the page
- Upload the screenshot to Greasy Fork
- Add a new row to the table in README.md