-
Notifications
You must be signed in to change notification settings - Fork 38
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
Autoupdate: Don't fail if assumed default branch doesn't exist #1017
Comments
According to ES's RFC 0001:
This would mean the issue is not with the manifest, but with the update script assuming the default branch is |
I've updated that manifest file to refer to the main branch so it should work the next time the autoupdate job runs. |
#1004 |
You can get the default branch using github's api like this: https://api.github.com/repos/Pshy0/es-ruin-the-fun |
We should try master, then main, then (if its on github) the api. Autoupdate is supposed to be independant of git hoster, but as a workaround to minimize errors it's ok. As last resort there's still the |
What’s the status on this? |
The Autoupdate job is failing on
manifests/Cromha Expansion.yaml
.The main branch of this plugin's repository is called "main", not "master".
On the long run, I would suggest that failing to update a plugin should not cause the whole job to abort, it should instead try to update the other plugins, and only raise the errors that happened at the end. This way, if an error is limited to a plugin, maintenance of the
endless-sky-plugins
repository would not be required to keep it updating the other plugins.The text was updated successfully, but these errors were encountered: