1. Michael Connell
  2. PowerBuilder
  3. Tuesday, 15 June 2021 13:13 PM UTC

We seem to be having a problem with Git source control in PB 2019 R3. In the PB IDE I have successfully added the workspace to Git and pushed the initial load up to the repository on the server without problem.

However when I log in to GitLab and check out the repository I can see no files in the repository nor any details of any commits or pushes.

I have tested making changes to an object in PB and reverting the changes which worked OK. We have also shut down the Git server and confirmed that a push from PB failed, which would indicate the PB is talking to Git.

So why can't I see what's happening in the Git server repository? Any ideas?

Mike Connell.

 

Michael Connell Accepted Answer Pending Moderation
  1. Wednesday, 16 June 2021 06:08 AM UTC
  2. PowerBuilder
  3. # 1

Chris,

Thanks for your reply. Lack of permissions was my first thought, but I have full access to the repository and our Git administrator sees the repository as empty too.

Mike.

Comment
  1. Tom Jiang @Appeon
  2. Wednesday, 16 June 2021 09:28 AM UTC
If you do a push using another tool like TortoiseGit, does anything show up in the repository?
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 15 June 2021 19:11 PM UTC
  2. PowerBuilder
  3. # 2

Hi Michael;

  Could the lack of GIT repository visibility be due to a "permissions" issue on your GIT Server with your User ID?

Regards ... Chris

Comment
  1. Michael Connell
  2. Wednesday, 16 June 2021 10:29 AM UTC
Chris,



Please ignore my previous post. It seems the problem was down to permissions on the Git server as you suspected. My administrator upped my role from "Developer" to "Maintainer" which solved the problem.



But we are both a little confused for two reasons:



1. We thought that "Developer" access was sufficient to perform a push.

2. PB produced no error message, even though I apparently didn't have sufficient access rights to perform a push. Interestingly I did get an error when I tried to perform a push of my local repository via TortoiseGit, although the error message was far from helpful.



Any thoughts?



Regards,



Mike.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Wednesday, 16 June 2021 17:14 PM UTC
Hi Mike;

I am super glad that the permissions level setting was the issue & now resolved!

FWIW: It's always good to check any issue via the Git/SVN native client UI vs the PB IDE for more information.

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.