1. ATK Gimmy Susan
  2. PowerBuilder
  3. Wednesday, 18 September 2019



Hi Guru
I find that Powerbuilder in commit + Push also sends pbls to repositories. Why ?
(I seem to notice that it happens when the system performs a merge).

I attach screenshoots


Every help is precious.

 

Gimmy

 

 


Ecosystem
- Powerbuilder 2017r3
- Git v2.20.1
- Repository: Azure DevOp

- Pbls are in the repository, but are excluded from the game by gitignore.

- this is the content of the gitignore:
* .opt
* .log
* .exe
* .pbl
* .pbd
* .dll
* .html
! PblSave / *

 

 

Attachments (3)
Accepted Answer
ATK Gimmy Susan Accepted Answer Pending Moderation
1
Votes
Undo

The solution at my problem is:

 

git update-index --skip-worktree *.pbl

Comment
There are no comments made yet.
  1. Thursday, 19 September 2019
  2. PowerBuilder
  3. # Permalink
ATK Gimmy Susan Accepted Answer Pending Moderation
0
Votes
Undo

Update on the sequence of operations performed:

 

1)- User A: do a clone from repository ( pbl + exported files )

2)- User B: do a clone from repository ( pbl + exported files )

3)- User A: modify code

4)- User A: execute a COMMIT

5)- User B: modify code

6)- User B: execute a COMMIT;

7)- User B: execute a PUSH;

8)- User A: execute a PULL;

9)- User A: execute a PUSH;

 

The result is:

In Step '9' we have a merge.

Powerbuilder send to the repo all modified objects ( step '3' and in commit on step '4' ) + all objects downloaded at step '8' + PBL.

IT'S VERY STRANGE 

Comment
There are no comments made yet.
  1. Wednesday, 18 September 2019
  2. PowerBuilder
  3. # 1
Michael Kramer Accepted Answer Pending Moderation
0
Votes
Undo

Native git integration has option to upload PBL files. This ensures that your version control repo includes your library list files. Using "legacy" source control you had to perform "Get Latest Version" twice whenever someone else added a PBL file to the library list.

AND - Icon assigned to your application object and the fonts defined for the application are stored in the PBL file but not in the exported application object. So you must include that PBL file to keep such config under source control.

HTH /Michael

Comment
Note: Whenever you change "current target" in PB IDE's system tree you actually modify the PBW file. You can avoid accidental commits to the PBW file by always committing with the same target selected as current target. - Or, remember to deselect the PBW file every time you commit changes unless you actually made a change to the PBW file that deems it committed.
  1. Michael Kramer
  2. Wednesday, 18 September 2019
Hi Michael



unfortunately not.

The list library is the same.

My test only modifies one object (different between user A and user B ).



The resolved is:

The local commit of the two users does not include the pbl.

the merge-commit, made by git, which sends the pbl to the repo.



  1. ATK Gimmy Susan
  2. Thursday, 19 September 2019
Trying to grasp all details since devil is most often in the miniscule detail >>>

It is the [Git Push] from PB IDE (performed by developer A) that you experience in effect performs a "git merge" which includes the PBL file?
  1. Michael Kramer
  2. Thursday, 19 September 2019
There are no comments made yet.
  1. Wednesday, 18 September 2019
  2. PowerBuilder
  3. # 2
  • Page :
  • 1


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