Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Greasy Fork integration #74

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

YDX-2147483647
Copy link
Contributor

What kind of change does this PR introduce?

  • Bugfix
  • New Feature
  • Feature Improvement
  • Refactoring
  • Documentation
  • Other, please describe:

Description:

Greasy Fork is a site for user scripts. This PR adds integration for greasy_fork_id.

Greasy Fork provides their data in a simple and straight forward greasyfork.org/scripts/*.json (e.g. https://greasyfork.org/scripts/1.json) and no token is required.

(I've been using it for a few months, and it always works.)

Checklist:

  • I have read the CONTRIBUTING document.
  • My changes don't require a change to the documentation, or if they do, I've added all required information.

@github-actions github-actions bot added the documentation Changes to documentation label Nov 26, 2023
@YDX-2147483647
Copy link
Contributor Author

Sorry I have no idea why the CI fails and what build-pipeline does… I notice that it also fails in #72, so I guess it's not my fault?

if not project_info.homepage:
project_info.homepage = greasy_fork_info.url

if (
Copy link
Contributor Author

@YDX-2147483647 YDX-2147483647 Mar 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here metadata on GitHub takes precedence. This behaviour is the same as other integrations.

Question: Should Greasy Fork take precedence?

Some people maintain multiple scripts in a single repo, but all script can live in only one repo. Therefore, metadata on Greasy Fork might be more specific (and more suitable) than those on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Changes to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant