Coder Social home page Coder Social logo

Moonraker update not working with 3rd party repo/branches correctly - wipes data and links back to main/master. about moonraker HOT 3 CLOSED

tinymachines3d avatar tinymachines3d commented on May 29, 2024
Moonraker update not working with 3rd party repo/branches correctly - wipes data and links back to main/master.

from moonraker.

Comments (3)

Arksine avatar Arksine commented on May 29, 2024

I will need you to attach log files that reproduce and show this behavior to diagnose what exactly is going on. The first image shows a repo that is marked as invalid because it is dirty, not because of a branch mismatch. A branch mismatch should not invalidate a repo, however there was a brief period of time where the newest version of Mainsail would show it as a warning. What isn't clear to me is if the repo is showing as dirty after the update or showing the aforementioned warning. It also isn't clear to me how the repo in the screenshot got modified to begin with, is there some application or script modifying this repo?

FWIW, a soft recovery should fix a dirty repo. A hard recovery re-clones the repo, you will end up on whatever the default branch of the repo is. Moonraker doesn't switch the branch after a clone, it must be done via the CLI.

from moonraker.

Arksine avatar Arksine commented on May 29, 2024

As an addendum I just did the following on the latest Moonraker commit:

  • Cloned your klipper_elements repo
  • Switched to the troodon_2.0 branch
  • Reset the HEAD back 3 commits so an available update will be detected
  • Added the following configuration to my test instance of Moonraker:
[update_manager elements]
type: git_repo
channel: dev
primary_branch: troodon_2.0
origin: https://github.com/tinymachines3d/klipper_elements.git
path: /home/eric/klipper_elements
is_system_service: False

I then used Moonraker to update the repo via mainsail and it worked as expected.

from moonraker.

Arksine avatar Arksine commented on May 29, 2024

As no one has been able to provide further feedback I'm going to close this. If you are still having issues I recommend asking for assistance on the Klipper Discourse.

from moonraker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.