I’m currently in the process of moving all my pyRevit repos to a GitHub Origination now that I’m getting some contributors at my firm. I notice though that when I use the CLI to extend I get a 404 error when the CLI goes to clone the repo, i.e.:
Debug: Installing extension into "C:\pyRevit\Extensions\MyExtension.extension"
Debug: Cloning "https://github.com/MyOrganization/MyExtension.git:main" to "C:\pyRevit\Extensions\MyExtension.extension"
Error: unexpected http status code: 404 (pyRevitLabs.Common.PyRevitException)
at pyRevitLabs.Common.GitInstaller.Clone(String repoPath, String branchName, String destPath, GitInstallerCredentials creds, Boolean checkout)
at pyRevitLabs.PyRevit.PyRevitExtensions.InstallExtension(String extensionName, PyRevitExtensionTypes extensionType, String repoPath, String destPath, String branchName, GitInstallerCredentials credentials)
at pyRevitCLI.PyRevitCLI.ProcessArguments()
at pyRevitCLI.PyRevitCLI.Main(String[] args)
I’m still able to clone the repos that I have in my personal account so I’m wondering if this is an issue specific to GitHub orgs, and if anyone else has come across this.
Thanks!