-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update policy for updating ComfyUI
#1552 fixed: comfyui versions should be based on commit date #1566 fixed: invalid identifying of nightly node packs which has `[email protected]:...` url fixed: switch comfyui should be based on `master` branch instead of `main` branch fixed: switch_to_default_branch - more robust switching refactor: endpoints for policies
- Loading branch information
Showing
7 changed files
with
186 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,14 @@ def git_url(fullpath): | |
def normalize_url(url) -> str: | ||
if 'github' in url or (GITHUB_ENDPOINT is not None and GITHUB_ENDPOINT in url): | ||
author = os.path.basename(os.path.dirname(url)) | ||
|
||
if author.startswith('[email protected]:'): | ||
author = author.split(':')[1] | ||
|
||
repo_name = os.path.basename(url) | ||
if repo_name.endswith('.git'): | ||
repo_name = repo_name[:-4] | ||
|
||
url = f"https://github.com/{author}/{repo_name}" | ||
|
||
return url | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.