cancel
Showing results for 
Search instead for 
Did you mean: 

Powerbuilder + GiT options

0 Kudos

Hey everyone!

I'm searching for a decent way to handle Powerbuilder Git integration, but so far I'm not quite pleased with my findings.

In my perfect world I would like to handle the version control using only Sourcetree, while Powerbuilder will only be used to alter the code.

However, since Powerbuilder use binary files (.pbl) it becomes a problem, as I cannot see what's been changed in the code except for the whole .pbl file.

Got any suggestions on how to handle Powerbuilder code in Git?

Best regards,

Martin

Accepted Solutions (1)

Accepted Solutions (1)

arnd_schmidt
Active Contributor
0 Kudos

You can use a Microsoft SCC compatible plug-in like the one from PushOK that integrates into the PowerBuilder IDE.

PushOk Git plug-in for SCC API enabled IDE

hth

Arnd

0 Kudos

I've tried the PushOK plugin before this, it works but it requires you to checkout files and pretty much handle all version control inside of Powerbuilder (which I see as a bad thing)

arnd_schmidt
Active Contributor
0 Kudos

Yes, the PowerBuilder IDE wants you to "checkout" an object before you can save it.

That's an "old" standard.

former_member190719
Active Contributor
0 Kudos

That's a limitation imposed by PowerBuilder Classic.  However you solve the issue, you would still need to do the check-in/check-out via PowerBuilder.

0 Kudos

Yes, but say there's a good .pbl merger tool. Then there would be no need for Powerbuilder to handle the version controls as we could use Sourcetree and open the files with said tool for merging and to see what the difference is, thus we can get past the check-in/check-out.

I'm trying to make powerbuilder unaware of any version control as the options for Powerbuilder are few and old. That's the sort of solution that probably would be the closest to my ideal.

Any ideas?

Former Member
0 Kudos

Adding PBLs to source control will prevent you and your team from tracking changes and revert changes on object base. Any change on a PBL will cause a new version of ANY object in the library. This will pump up your Source Control system.

In a perfect world the IDE would work on plain source files (like PB .NET does) and PBLs are only needed to keep a pre-compiled version in background.

Until this, PushOK is the best option.

arnd_schmidt
Active Contributor
0 Kudos

Martin,

I am not sure what your intension is. IMHO, PowerBuilder developers feel fine doing scc operations via the PowerBuilder IDE without using a PBL Diff/merg tool or whatever tool.

former_member190719
Active Contributor
0 Kudos

>>Yes, but say there's a good .pbl merger tool.

Well, you don't put the PBLs under source control.  You put the files within them under source control.  That's why PB needs to handle it.  You have to get the modified objects into the PBL and get any changes you make in PB to the object out of the PBL and to the source controlled individual file.

Former Member
0 Kudos

There is a big problem with what you want to do. If another developer checks out an object, changes it, and checks it in, the version you have in your PBL is out of date. Lets say you use Sourcetree to get the latest version of the .sru file. You still need to import that into the PBL before you can start working on it in the PB IDE.

All you are doing is adding a bunch of manual steps that can easily go wrong. Why not do it like every other developer using source control with PB does it? Sure, it will be different from how your non-PB development is done but at least it will be simple and error free.

0 Kudos

I just wanted to know if there's a better way to handle it without the PushOK plugin, but it seems that's the one way to go

Answers (0)