Skip to content

Integrate changes from dsmithni/LabViewGitEnv with sourcetree support #2

@joerg

Description

@joerg

@dsmithni [1] did some great work to make this project run with sourctree [2]. This issue is intended to integrate his work into this project to make it even more awesome. But first things first.

What needs to work

On a simple git repo these commands need to work in command line and via sourcetree:

  • git diff file.vi
  • git checkout master && git merge my_branch

If they work everything else should work too. We could create a sample repo with two branches, some commits and simple VIs to test this.

What needs to be done

  • Testing if everything works with sourcetree and via command line.
  • Refactoring some code, espacially in LVCompareWrapper.sh.
    • Most sed's can be combined in two functions: One doing FWSPATH -> FIXSYMUSR -> FIXSYMTMP, and one doing REMLEADDOT -> PATHFIX -> TRAILFIX
    • Resolving of relative path in LVCompareWrapper.sh should be a function.
    • Create a function for "make path to windows"

What could be done

I never liked using a "windows" branch too much. Maybe we should move everything into one branch and create kind of an installer, or an installable zip. A ZIP would be nice, we it had to be hosted somewhere and it would be completely static. An installer script would be nice and could do some of the configuration work, but we would have to write it.

We really need to test merging capabilities of LabView. Maybe a good solution would be to merge VIs and create a simple merge commit and later on fix the VIs. I just don't think that bigger projects can be merged in a nice way.

[1] https://github.com/dsmithni/LabViewGitEnv
[2] http://www.sourcetreeapp.com/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions