1. Sankar Muthuraj
  2. PowerBuilder
  3. Tuesday, 6 June 2023 08:45 AM UTC

Hi Team,

we are using Appeaon powerbuilder 2017, we need to be add source control for GIT and create sub branches (Development branch and Feature branch).
How can i pull down changes from one of the development branches into my local Master branch to make changes?
How can I push my changes from my local Master to GIT feature branch or Development branch online?

Pls give the suggestion asp.

 

Benjamin Gaesslein Accepted Answer Pending Moderation
  1. Wednesday, 7 June 2023 06:58 AM UTC
  2. PowerBuilder
  3. # 1

Once a PB workspace is prepared for git you can use any git feature, even if PB does not support it internally. To do that, follow the steps described in "Add a workspace to git". This will export all source code files from your PBLs to a folder called "ws_objects" so git can track them.

From this point on, the only internal PB feature related to git you absolutely need to use is "Refresh", which updates the actual PBLs with the current source code from ws_objects. Everything else can be done with an external git client of your choice. I prefer the command line interface myself.

I would recommend not commiting PBL changes because they are binary files and will lead to conflicts every time you try to merge them. Only add and commit new PBLs and the actual source code files, use "Refresh" to update PBLs after switching branches etc.

Comment
There are no comments made yet.
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 6 June 2023 17:49 PM UTC
  2. PowerBuilder
  3. # 2

Here is a link to information about using Git source control system in PB 2019 R3:

    https://docs.appeon.com/pb2019r3/pbug/ch01s03.html#Using_Git_source_control_system

The same chapter/section is present in the User's Guide documentation, updated for all later versions of PB to reflect the ever-evolving support for Git.

Comment
There are no comments made yet.
Andreas Mykonios Accepted Answer Pending Moderation
  1. Tuesday, 6 June 2023 09:33 AM UTC
  2. PowerBuilder
  3. # 3

Hi.

You want to work with branches. While PB does support branching, this functionality was introduced in PB 2019 R3. As you are using PB 2017, you cannot take advantage of this change.

So, I don't think you can do what you want using PB 2017.

Andreas.

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 6 June 2023 12:01 PM UTC
Hi Sankar;

There is quite a difference in features even between PB 2019 R2 & the R3 release. There were even more GIT enhancements between R3 & PB 2021 & 2022. So you might want to think about even upgrading to an even more recent version. Food for ty.

Regards... Chris
  1. Helpful 1
  1. Sankar Muthuraj
  2. Thursday, 8 June 2023 11:36 AM UTC
Hi Chris,



Thanks for your reply,

we have downloaded from the git source control system to local repository. after changes made how can we push the code local repository to feature branch not server branch.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Thursday, 8 June 2023 18:31 PM UTC
Hi Sankar;

For the PB 2017 Rx release - you would need to perform the PUSH operation using the GIT Client software to handle branches.

Regards... Chris
  1. Helpful
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.