WUELUG - Würzburg LabVIEW User Group (DE)

cancel
Showing results for 
Search instead for 
Did you mean: 

Set up Fork for GitLab

Solved!
Go to solution

I'm having some trouble setting up Fork for GitLab right now. Since I know that some of you also use Fork, I'm sure I'll find help here.

 

  • The link from Fork to the issues in GitLab is already working very well (Issue Tracker in Repository Settings).
  • Thanks to Stefan Lemmens presentation, I also set up a custom command that opens the LabVIEW project directly from Fork. This also works very well.

 

What unfortunately does not work for me at all is the integration of LVCompare:

 

  • The setup as external diff tool in Fork seems to be no problem.
  • The first problem came up with the representation of paths in GitLab.
    screenshot of the error message depending on paths representation in GitLabscreenshot of the error message depending on paths representation in GitLab
    Fortunately, I have already found a solution for this here in the community: LVCompare Adapter for GIT Extensions
  • But I still can't compare my LabVIEW files as another error pops up:
    screenshot of the same-name-errorscreenshot of the same-name-error
  • Now I am unfortunately at my wit's end and could use some help. Did someone get this working?
0 Kudos
Message 1 of 24
(6,974 Views)

Hey Ludwig,

 

Git Fork recently introduced changes to how external diff tools are supported, see the release notes. Those changes spawned these recent issues, which the Git Fork team are aware of and working on fixing. 

 

We're also in contact with them to understand if their bug fixes will also solve our problems with LVCompare, or if we'll have to change the way we used to configure Git Fork.




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )


Message 2 of 24
(6,932 Views)

We were using it until recently, until an update broke it. As a workaround I'm using version 1.66 again. I found it on my machine at this path: C:\Users\User\AppData\Local\Fork\app-1.66.0

 

We use this fork configuration:

https://dokuwiki.hampel-soft.com/kb/bestpractices/scc/fork

----------
Although I've been 10+ years long fan of LabVIEW, I started to discourage engineers to start new projects in a SaaS language. NI must first regain trust within its community.
Message 3 of 24
(6,925 Views)

They just released a new version of Fork 1.69.1.0 which solves this problem.

LVCompare works as before.

 

Best Regards

Stefan

0 Kudos
Message 4 of 24
(6,918 Views)

Sorry it still doesn't work as expected. Since my class name changed it wasn't comparing files with the same name.

In the past Fork renamed the vi's before comparing them but now it doesn't anymore.

Hopefully this will be fixed in a new version.

 

Best Regards,

Stefan

Message 5 of 24
(6,908 Views)

According to my conversation with Dan (Fork's developer), this is not a bug but a feature. So I'm not too confident it will change back in the future.




DSH Pragmatic Software Development Workshops (Fab, Steve, Brian and me)
Release Automation Tools for LabVIEW (CI/CD integration with LabVIEW)
HSE Discord Server (Discuss our free and commercial tools and services)
DQMH® (Developer Experience that makes you smile )


Message 6 of 24
(6,905 Views)

Unfortunately the app in C:\Users\User\AppData\Local\Fork\app-1.66.0 isn't startable here. Even if I overwrite the original application.

 

I am sad that the developers propagate this change as a feature. LVCompare is one of source control's strength that I won't miss.

0 Kudos
Message 7 of 24
(6,883 Views)

Wohoo - many thanks Joerg for sensitise the developers!

I reinstalled Fork - now on version 1.69.2.0 - and it works!!

new Fork version 1.69.2.0new Fork version 1.69.2.0

Message 8 of 24
(6,874 Views)

Do I have to change something in the settings as well?
I updated but still get the error that LVCompare can't compare 2 files with the same name.

 

Best Regards,

Stefan

0 Kudos
Message 9 of 24
(6,862 Views)

This are my settings:
external diff settingsexternal diff settings

 

I use the LVCompare Adapter for GIT Extensions and it works well. (C:\Program Files (x86)\National Instruments\LVCompare Git Adapter\lvcomparegit.exe).

0 Kudos
Message 10 of 24
(6,857 Views)