guides:oi10:git:push_your_source_code_to_your_git_repository

Push your source code to your Git Repository

Now you are ready to push your OpenInsight source out to your Git Repository. Form the OpenInsight IDE, go to Git, OI Source Control…:

git_030.jpg

Figure 30 – Selecting OI Source Control

git_031.jpg

Figure 31 – OpenInsight Git Inteface window

You are about to perform a Push from OpenInsight to Git. When you do a push you can choose which items to push much the same way you choose which items to include in an RDK.

To push your source to the Git Repository:

1. At Operation select “Perform Push to GIT”

2. You can use the Filter By to refine your selection

OpenInsight Git will build a list of all “pushable” items from your OpenInsight application and display the list in the box on the left. You can then choose which items to push by moving the items from the left box to the right box. Items in the right box will be pushed to the Git repository thereby overwriting the version in Git.

Select all the items by clicking the button. This will move all the items from the left box to the right box. Your window should then look something like this:

git_032.jpg

Figure 32 – Pushing all items to Git

git_033.jpg

Figure 33 – Pushing all items to Git

Now, click the Apply button. OpenInsight Git will push the selected items to your local Git repository.

OpenInsight Git maintains an errors log and a process log in the \logs directory beneath OInsight10. The error log displays any errors that occur during the last push or pull process. The process log maintains a list of the last 1000 successful push or pull processes.

git_034.jpg

Figure 34 – Git repository populated for the application STAR

git_035.jpg

Figure 35 – OpenInsight Windows

git_036.jpg

Figure 36 – ADD_NOTES window stored in Git

git_037.jpg

Figure 37 – Stored procedures in the STPROC folder

git_038.jpg

Figure 38 – ADD_NOTES stored procedure in Git

The oirepository directory contains the source for the repository types that you pushed to Git. The structure of this directory is a mirror of your OpenInsight repository structure. The repository records are included at the bottom of each item.

You can browse this directory and view your source code outside of OpenInsight.

Note: Git is now monitoring these files. If you make changes to these files then Git knows about it and tracks that as a change.

  • guides/oi10/git/push_your_source_code_to_your_git_repository.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1