-
-
Notifications
You must be signed in to change notification settings - Fork 422
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
Unclear purpose of primary_branch setting #934
Comments
Moonraker's update manager does not switch branches. The purpose of the
Yes, the recovery API will attempt to reset the repo to the primary branch. It will only do so if the branch has already been created locally and has a remote tracking branch.
I disagree. The update manager is not intended to be a repo management tool. Its only purpose, with regard to git repos, is to pull updates on a repo that has been cloned and configured locally. Once an |
Thank you for explaining the exact functioning and purpose of this setting. While I would have appreciated seeing Moonraker include minimal repository management capabilities to bridge the gap between standard users and developers, I understand the current approach. Such a feature could have allowed non-developers to manage specific repositories through the web interface. That said, I respectfully disagree with your view that end users shouldn’t change branches. I believe certain users -particularly those enhancing their 3D printers with tools like KlipperScreen or Cartographer - may find it essential for tasks like testing beta features. Actually, the installation of Cartographer, just to give an example for many more modifications, requires to shell just for cloning into git. I would have loved to do this with Moonraker only. These activities aren’t limited to developers alone. However, I accept the situation as it is and will find a way to work around it. Thank you again for your detailed response. |
What happened
Setting primary_branch appears to have no impact on the update process; it is purely informational.
What is the purpose of this setting if it does not actually modify the repository? I would expect it to actually check for updates on the primary_branch as this would allow to simply switch branches by just changing the Moonraker.conf. If this isn't the purpose, I don't need this setting at all as I have to change the branch in terminal - or am I missing something?
I think issue #691 is related.
Client
Mainsail
Browser
Chrome
How to reproduce
git clone --filter=blob:none --sparse https://github.com/Phil1988/FreeDi
Additional information
Moonraker section:
Moonraker Log:
The text was updated successfully, but these errors were encountered: