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

some ideas extensions index #138

Open
w-e-w opened this issue Jul 16, 2023 · 4 comments
Open

some ideas extensions index #138

w-e-w opened this issue Jul 16, 2023 · 4 comments

Comments

@w-e-w
Copy link
Collaborator

w-e-w commented Jul 16, 2023

I have some ideas about extensions index

  1. as we started to collect metadata of extensions, it is possible that we can Implement a opt-in feature that can automatically check for updates without fetching from individual repo
  2. we can add an extra field in the extension entry that allows extension author to specify a specific branch to install
  3. we should use repo username as a prefix or suffix by default for the clone path
    this would prevent any potential conflict for extensions that have the same name, and allow fork to be installed
    there is extension in particular bad name https://github.com/catppuccin/stable-diffusion-webui.git
  4. add a new tag fork used by fork of extensions to differentiate, the name branch is not maintaining in the fork has taken over you it can have the fork tag removed
@ClashSAN
Copy link
Collaborator

  1. Only show extension with tag option in webui
  2. Remove Dropbar tag, too much to check them all, they are already the script

what is meant by 1 ?
2, 3, 4 all sound very good

@w-e-w
Copy link
Collaborator Author

w-e-w commented Jul 24, 2023

fot (1.) see the master branch, it has last commit time of the master branch of the ext repo

@w-e-w
Copy link
Collaborator Author

w-e-w commented Jul 25, 2023

if an ext is listed on the index webui doesn't need to fetch the ext repository individually
instead it can just query this index,json and compare the update time and hash all at once
they might be a 24-hour delay because matadata is only updated once every day
but I think in this use case it's acceptable

the idea is to have maybe an option to automatically check this index on launch
or when loading index.json

@light-and-ray
Copy link
Contributor

  1. Add field special_branch_for_gradio_4. If it's empty, use the regular branch. If it's not empty, use it for gradio 4 further release

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

No branches or pull requests

3 participants