1. René Ullrich
  2. PowerBuilder
  3. Monday, 22 July 2019 11:45 AM UTC

Hi,

I try to use Git integration in PB 2019 and use OrcaScript to (automatically) get an application from repository, refresh libraries and build application.

Powerbuilder adds the PBLs with its objects to git repository. But it seems no good idea to commit and push changed to PBLs to repository (changes with every rebuild, problems with merging).

This works fine if I objects were changed or new objects were added. OrcaScript updates the objects in the libraries loaded from repository and adds new objects.

But it I does not delete objects from PBLs!? If and object is in the PBL in repository it remains in that PBL even if the object was deleted.

"Refresh" in IDE works as expected but not OrcaScript.

Is this a bug or what is the recommended way to work with PBLs and objects?

René

Roland Smith Accepted Answer Pending Moderation
  1. Monday, 22 July 2019 13:47 PM UTC
  2. PowerBuilder
  3. # 1

The SCC API source control interface is the same way. Objects are not deleted when they are removed from source control.

Removing an object from source control doesn't always mean that the object should be deleted. For example, maybe you added all objects to source control and then you decide that you don't want project objects in source control. If it automatically deleted the object, you would have to create a new one.

 

Comment
  1. René Ullrich
  2. Monday, 22 July 2019 13:53 PM UTC
Hi Roland,

if I do a refresh in the Powerbuilder IDE the object vanishes. If I do a refresh using OrcaScript the object is still there. So if I automatically build the application using OrcaScript the object will always be part of the application. I have no chance to remove it from PBL without a committing and pushing push the changed PBL to repository.
  1. Helpful
  1. Roland Smith
  2. Monday, 22 July 2019 14:35 PM UTC
It appears that OrcaScript wasn't updated to do that when using Git. You should submit a bug.
  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.