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

external_ressources.py: add supported for GIT_URL in /config #34

Closed
dalf opened this issue Apr 1, 2020 · 1 comment
Closed

external_ressources.py: add supported for GIT_URL in /config #34

dalf opened this issue Apr 1, 2020 · 1 comment

Comments

@dalf
Copy link
Member

dalf commented Apr 1, 2020

The PR searx/searx#1900 brings support for searx branding.

The .../config URL adds some new fields:

  • brand
    • GIT_URL
    • DOC_URL

GIT_URL should be use to check the vanilla status.

Internal to do:

  • get_repository: the directory parameter becomes a parent directory. The real directory becomes some like os.path.join(directory, sha256(url)).
  • GIT_URL must be ready when external_ressources.py runs.
  • If the HTML column is neither V nor E, perhaps the instance doesn't comply with the AGPL license (see Bump pylint from 2.8.3 to 2.13.2 dalf/searx-instances#23 )

Extended version:

  • add a new html page (a new tab) in the output to list different forks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant