OI Pull from Git issue (OpenInsight 64-bit)
At 04 SEP 2023 06:52:46AM Bill North wrote:
Hi,
We have been implementing the Git/GitHub processes into the OI10.
It is all working as it should be, except for the final step i.e. some source is edited on the GitHub Repository, the changes are fetched and merged into our local Git branch (they are present in the TXT file), then we run the "OI Pull from Git…" but the program won't detect any differences between the Git and OI source.
We have done various tests using Selection Type as 'All', 'Changed', 'Custom' (with DATE / USER / COMMIT and MERGE (which do link up to get the history lists from Git)) and so on, but it always returns the message "Repositories Match: OpenInsight and GIT are identical for this selection".
Any ideas on what could be causing this issue?
Thanks.
At 15 SEP 2023 08:55AM bshumsky wrote:
Hi,
We have been implementing the Git/GitHub processes into the OI10.
It is all working as it should be, except for the final step i.e. some source is edited on the GitHub Repository, the changes are fetched and merged into our local Git branch (they are present in the TXT file), then we run the "OI Pull from Git…" but the program won't detect any differences between the Git and OI source.
We have done various tests using Selection Type as 'All', 'Changed', 'Custom' (with DATE / USER / COMMIT and MERGE (which do link up to get the history lists from Git)) and so on, but it always returns the message "Repositories Match: OpenInsight and GIT are identical for this selection".
Any ideas on what could be causing this issue?
Thanks.
Hi, Bill. A few questions…
- Are we talking about STPROCs, or some other entity types?
- Do ANY changes ever show up, or it's always showing "no differences found"?
- Has it worked in the past and it stopped working, or it's never worked?
- Which version of OI 10.x are you doing this on?
Thanks,
- Bryan Shumsky
At 15 SEP 2023 02:06PM bob carten wrote:
Hi Bill,
Are the git settings correct in the local copy, especially the folder?
Can you make a change in the local OI and see where it writes the text file?
I had a similar experience on an OI and found that it was writings ( and thus reading) a different folder than I expected
At 19 SEP 2023 04:31AM Bill North wrote:
Hi Bryan,
- Just changes to STPROCS at the moment, that got edited and saved on GitHub before pulling them back down to the local Git and continuing the process.
- So far no changes have ever shown up, and it always shows no differences found.
- It has never worked before.
- It is version 10.2.0.
Regards
Bill
At 19 SEP 2023 04:32AM Bill North wrote:
Hi Bob,
The settings seem to be correct according to the OpenInsight WebHelp Git Manual, and have also been setup on two different machines for testing, but both have the same issue.
The "Git Repository Location" is setup as "C:\Ardbrook\OI10_Git\EuroPay_Test_Repos" on the one machine, which contains the hidden ".git" repository folder.
This is also the folder that is displayed in the "Git Repository" drop down in the "OI Pull from Git…" (OpenInsight Git Interface) window. There is currently only the one entry in that drop down.
The "Git Repository Folder Name" is setup as "EUROPAY\OIRepos" in the OI IDE Settings → Git.
The file gets written to "C:\Ardbrook\OI10_Git\EuroPay_Test_Repos\EUROPAY\OIRepos\STPROC\AAA_TEST_PROC.txt".
When additional changes are made in OI and compiled, the AAA_TEST_PROC.txt file gets overwritten with the latest version as expected.
Regards
Bill