setting up SourceTree for multiple related Lotus Notes databases under single Project ODP

150 views Asked by At

I have multiple Notes Templates, all related to a single application/project.

QUESTION: Instead of creating a single ODP project folder for each of the multiple databases that make up a single application, I'd like to create a single ODP Project folder in order to hold the multiple-related Notes Templates. Do I still need to create dedicated project ODB folders underneath the primary application/project ODB directory -OR- can I simply create the single ODP project folder representing the overall application and then add each individual template database into the same single application/project ODB directory?

The reason I ask is that when a new feature is added to the overall application, it's quite possible that the new feature may 'touch/span' across multiple databases within the application.

I'd like to produce a single Release # for each feature, whether or not the new feature only involves a single database in the application -OR- if the feature spans multiple databases within the application.

I think setting up individual ODP directories for each database would eventually become a nightmare when trying to correlate/identify all the databases involved for a given feature/release # as each database is likely to have differing Release numbers as time goes on, especially if they were created and tracked individually, Whereas, if a given Release # could track single to multiple databases application changes for a given release number, it would be easier and more logical (I would think).

2

There are 2 answers

0
David Leedy On

You want to have a project folder and then a sub folder for each On disk Project. /MyApp /db1-ODP /db2-ODP /dbx-ODP

You put the /MyApp under source control so everything is in the project.

A new feature could involved a single .nsf or multiple .nsf's then.

It should not be a nightmare. The whole point of SourceTree/SourceControl is to keep everything in sync. So once things are setup, you really shouldn't care about the ODP folders again. It's SourceTree's job to care about that. Then if you ever need to revert a feature or do a hot fix, SourceTree keeps all the db's in sync.

I've talked about this a couple times on my NotesIn9 ScreenCast. I forget the show #'s at the moment but there should be some examples there if you need them.

This is the best practice way to do this.

0
Paul Stephen Withers On

Check out the slides for SHOW 103 which I did at IBM Connect in 2014 (warning because it's a Show and Tell, it's a large slide deck). I show how to create a project with the repo in sub-folders. This is one of the huge benefits of using an external source control solution rather than relying on embedding GIT in DDE. I recorded the Domino Designer part of it (separate from the Stash / Redmine installation) in NotesIn9 140.