Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is an experiment / attempt to show how we can work on new features in its own app version or even on a different Joget serverserver by making use of GIT.

Beware that there are GIT commands used in this article, so, make sure that you are comfortable working around GIT.

This is so each feature development would be carried out without the influence of another feature being developed at the same time.

...

Figure 8: Verify changes from version 1 and 2 in-app version 3.

If verification / testing of app version 3 fails or not satisfactory, we can restart the whole process again. Delete version 3 from "App Configuration Management". Then, delete the "meeting_3" folder from "app_src/meeting" as well for good measures.

To summarize, these are the steps:-

  1. Clone v2 into a new copy, v3 using "App Configuration Management".
  2. Using CLI, navigate to app_src/meeting/meeting_3. Execute the following commands to merge works from v1 and v2 inside v3.

    Code Block
    languagebash
    linenumberstrue
    git remote add v1 ../meeting_1
    git fetch v1
    git merge v1/meeting_1 meeting_3 --allow-unrelated-histories

    Resolve conflicts and commit.

  3. Navigate to "App Configuration Management" > "Git Configuration", turn on "Auto Sync DB from GIT". Click anywhere to start sync and observe server log for completion.
  4. Verify changes made in version 3.