Aug 17, 2016, 12:50 PM
19 Posts

Guidelines for using source code management and XPages

  • Category: Source Control Management
  • Platform: Windows
  • Release: 9.0.1
  • Role: Developer
  • Tags: git,github,sourcetree
  • Replies: 1

Does anyone have a suggestion in which order to setup source code management (Github) with Xpages development? Somehow I end up doing a lot of merging between branches before I have everything sorted correctly.

In case you have the (absolute) correct order how to set it up including workflow then I am happy to hear it here from you!

Aug 18, 2016, 9:30 AM
177 Posts
some hints
  • create your repository on github
  • in case you start with branches, stick with the default workflow branches (master-develop). you can create these on github (master is already default)
  • create a clone with e.g. sourcetree
  • add a folder called ODS, optional a folder called NSF
  • setup source code management for your NSF in DDE. Point to the ODS folder.
  • add swiper to your application
  • disable automatic synchronisation between NSF and the on disk project. otherwise you have two listeners to the ODS folder (sourcetree and DDE) which may slow down performance
  • follow the workflow in sourcetree e.g. each design request is a new feature in sourcetree
  • commit as often as necessary and provide text
  • ...

I find the pull requests work finer from the github UI 

I hope this helps.