1. Christian Freund
  2. PowerBuilder
  3. Wednesday, 31 August 2022 11:02 AM UTC

Hello,

we plan to move from TFS (Microsoft Team Foundation Server) to GitHub.

We have several programs that use sub-libraries that are common to all projects.

What is the best approach to not having to have all projects in one repository?

Our Applications are not so small.

Main libraries about 2.500 Objects (55 PBLs) and 4.200 Objects (35 PBLs) 

Sub libraries about 1.500 Objects (20 PBLs)

 

Best regards Christian Freund

Christian Freund Accepted Answer Pending Moderation
  1. Friday, 2 September 2022 08:32 AM UTC
  2. PowerBuilder
  3. # 1

Our Library structure is like a very extended PFC.

Do we have to do a Full build after every get?

 

Comment
  1. Andreas Mykonios
  2. Friday, 2 September 2022 11:04 AM UTC
Normally not. From my experience, this may happen but it's not common.

Andreas.
  1. Helpful
  1. Roland Smith
  2. Friday, 2 September 2022 12:58 PM UTC
A tip to avoid needing rebuild: In the compiled objects instance variables are referenced by number, not by name. Because of this, always add new instance variables to the end. Putting them at the top or somewhere in the middle will cause the variable numbers to change for all variables that come after.
  1. Helpful 2
  1. Andreas Mykonios
  2. Friday, 2 September 2022 13:18 PM UTC
I didn't knew that Roland. Interesting.



We do have to rebuild when one developer makes changes in our framework, and later other developers do get those changes (not always). The main reason is because those changes may be imported in pb in any order, so a rebuild is needed later. When this happens, we do have an alert (messagebox) notifying that this happened. Only then we need to do a full build. Until now...



Andreas.
  1. Helpful
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 31 August 2022 18:35 PM UTC
  2. PowerBuilder
  3. # 2

I would create a separate Workspace & Target that consisted of an application object with minimal code and all the shared libraries.

If you put it in a separate GIT repository from the main app, you'll need to add the PBL or PBD files into the main app repository. When the shared app is modified, commit the PBL or PBD files to the main app repository. Developers can do a pull to get the latest PBL/PBD files.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.