Forum
    • Categories
    • Register
    • Login

    Move HISE project to another computer

    Scheduled Pinned Locked Moved General Questions
    20 Posts 3 Posters 55 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • David HealeyD
      David Healey @dannytaurus
      last edited by

      @dannytaurus said in Move HISE project to another computer:

      If your laptop blows up and you've excluded .hips then they're gone forever.

      I have a separate backup, git is for version control, not for backup.

      I avoid binary files in git as much as possible. Probably the exception is images and impulse responses.

      @dannytaurus said in Move HISE project to another computer:

      Trying to commit a bunch of work, especially different tasks, is really hard to do cleanly because all of the different work mostly likely ends up mixed together in the module tree and UI XMLs.

      Use a separate branch for each task you're working on, then merge them back to the main branch.

      Free HISE Bootcamp Full Course for beginners.
      YouTube Channel - Public HISE tutorials
      My Patreon - HISE tutorials

      dannytaurusD 1 Reply Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @David Healey
        last edited by

        @David-Healey said in Move HISE project to another computer:

        I have a separate backup

        Yes, same here. But I know not everyone does.

        Use a separate branch for each task you're working on, then merge them back to the main branch.

        It's the hopping between the terminal/code editor and HISE that usually breaks this flow for me. I'm still trying to decide whether I want to edit scripts in HISE, or to do it all in a code editor, then keep hopping over to HISE to F5.

        I wonder if there's any future possibility of using git within HISE, like through a full terminal in HISE. That would be dreamy.

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        David HealeyD 1 Reply Last reply Reply Quote 0
        • David HealeyD
          David Healey @dannytaurus
          last edited by

          @dannytaurus said in Move HISE project to another computer:

          I wonder if there's any future possibility of using git within HISE, like through a full terminal in HISE. That would be dreamy.

          Oh turning the Console into a terminal would be cool. But beyond git I'm not sure there is much benefit to it within HISE.

          I edit all my scripts in HISE. The only time I use an external editor is if I make a mistake that causes HISE to crash when loading my project 😁

          I usually open a terminal, switch to a branch. Close the terminal and work on whatever I'm working on before opening another terminal and making my commits. If I'm working on something more complicated that I want to split into several commits I'll use Pulsar's git management instead because having a GUI can be easier when you only want to commit specific parts or solve merge conflicts.

          Free HISE Bootcamp Full Course for beginners.
          YouTube Channel - Public HISE tutorials
          My Patreon - HISE tutorials

          dannytaurusD 2 Replies Last reply Reply Quote 0
          • dannytaurusD
            dannytaurus @David Healey
            last edited by

            @David-Healey Yeah, it would probably just be for git. And I suppose running tests, if that ever became a thing in HISE projects. No idea how that would work though - unit tests for script functions maybe, and system tests for UI stuff 🤷

            Interactive staging (-p flag) in the terminal is really easy but for merging conflicts, yeah I do use the Cursor UI.

            I guess I need to get used to hopping between the two. I just feel like there's an amazing solution out there but I can't quite see it!

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

            1 Reply Last reply Reply Quote 0
            • dannytaurusD
              dannytaurus @David Healey
              last edited by

              @David-Healey

              I edit all my scripts in HISE

              I'd be happier doing that if the HISE script editor worked anything like ANY other text editor I've ever used! So many weird things throw me off all the time. 😂

              Meat Beats: https://meatbeats.com
              Klippr Video: https://klippr.video

              David HealeyD ustkU 2 Replies Last reply Reply Quote 0
              • David HealeyD
                David Healey @dannytaurus
                last edited by

                @dannytaurus I guess I'm used to it. I've seen it evolve from the basic text editor we had in the early versions of HISE to the more advanced one now. Still a lot of quirks that need to be fixed but it's getting there.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                dannytaurusD 2 Replies Last reply Reply Quote 0
                • ustkU
                  ustk @dannytaurus
                  last edited by ustk

                  @dannytaurus lol... The exact opposite for me because I learned mostly with Hise, so I'm lost everywhere else 🤣
                  I use GitHub Desktop. For conflicts it just tells you where the conflict appears so you can open the diff in whatever editor you like (from the app), make the changes and save. GitDesktop will then approve and authorise the merge (or the opposite)

                  Hise made me an F5 dude, browser just suffers...

                  dannytaurusD 1 Reply Last reply Reply Quote 1
                  • dannytaurusD
                    dannytaurus @David Healey
                    last edited by

                    @David-Healey For me, I don't think it's things that need to be fixed - I think it's designed behaviour. Maybe it's a Mac vs Windows thing?

                    Some of it I can solve by updating the keyboard shortcuts, but most of it is just frustration at how text editing works.

                    I generally like to use the keyboard as much as I can when editing text and I find myself typing in the wrong place because the cursor isn't where I expect it to be. 😂

                    And I know there's a keyboard shortcut to move a line up/down but I only ever invoke by accident and I can never find it when I want it!

                    I suppose there ins't really much difference between using a keyboard shortcut to focus the HISE code editor and one that switches to my own code editor. Maybe I should try that for a week and see how it goes.

                    Meat Beats: https://meatbeats.com
                    Klippr Video: https://klippr.video

                    1 Reply Last reply Reply Quote 0
                    • dannytaurusD
                      dannytaurus @ustk
                      last edited by

                      @ustk I learned git in the terminal about 15 years ago, when there weren't as many decent git UI apps around. I actually find some of the UI apps more intimidating than typing git commands directly in the terminal! 😜

                      Meat Beats: https://meatbeats.com
                      Klippr Video: https://klippr.video

                      1 Reply Last reply Reply Quote 2
                      • dannytaurusD
                        dannytaurus @David Healey
                        last edited by

                        @David-Healey Oh, and I still don't really know how to open multiple arbitrary script files in the code editor. I'm hoping your new course will get me thinking the HISE-way for stuff like this. 🚀

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

                        1 Reply Last reply Reply Quote 1
                        • First post
                          Last post

                        51

                        Online

                        2.1k

                        Users

                        13.0k

                        Topics

                        112.7k

                        Posts