tag:blogger.com,1999:blog-14934996.post6407836775915299173..comments2023-08-26T01:35:40.671-07:00Comments on Bruce Armstrong's blog: Configuring PowerBuilder projects to use GitHub for source controlBruce Armstronghttp://www.blogger.com/profile/06531990923901345957noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-14934996.post-56065962053560258992019-11-10T16:16:02.257-08:002019-11-10T16:16:02.257-08:00YarkerZod,
i can't tell from your comment wha...YarkerZod,<br /><br />i can't tell from your comment what you're using to interface PowerBuilder to SVN. Older versions of PowerBuilder (like 12.6) need a MSSCCI to SVN bridge product like AgentSVN. If you aren't using something like that, the source control system in PowerBuilder won't know how to tell the version control system that you want to lock an object for editing.Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-15385478660964887462019-11-10T16:12:47.831-08:002019-11-10T16:12:47.831-08:00Bijal,
What we used at one time was Code Collabor...Bijal,<br /><br />What we used at one time was Code Collaborator (https://smartbear.com/product/collaborator/overview/). The product works great, we just stopped doing peer review on check-in, so that's why we no longer use it. It hooks in with the source control system, and supports both Git and Subversion.<br /><br />Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-65912284726493986042019-09-08T17:46:58.557-07:002019-09-08T17:46:58.557-07:00Hello, That you for all the details. I was able to...Hello, That you for all the details. I was able to set it up. Can someone please let me know how to do we send up a core review request before we check in code?Bijalhttps://www.blogger.com/profile/17363694479375956155noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-90665760646900879022019-07-11T16:30:29.043-07:002019-07-11T16:30:29.043-07:00Hello Bruce, I see that your post is from 2017 I h...Hello Bruce, I see that your post is from 2017 I hope you can help me, I have managed to connect pb 12.6 with GIT (in my work they use this version, I doubt they can migrate to current versions), but I have a problem that has nothing to do with GIT, it happens the same with Subversion, the submenu shows the options of version control blocked, I can not do cheackout or checkin, any idea why this happens ?, maybe some configuration that I have to modify?<br /><br />Thanks for leaving this post, it has helped me a lot, I hope you can answer my question.YarkerZodhttps://www.blogger.com/profile/00839883057634272719noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-11095852496342326012019-07-11T16:29:23.353-07:002019-07-11T16:29:23.353-07:00Hello Bruce, I see that your post is from 2017 I h...Hello Bruce, I see that your post is from 2017 I hope you can help me, I have managed to connect pb 12.6 with GIT (in my work they use this version, I doubt they can migrate to current versions), but I have a problem that has nothing to do with GIT, it happens the same with Subversion, the submenu shows the options of version control blocked, I can not do cheackout or checkin, any idea why this happens ?, maybe some configuration that I have to modify?YarkerZodhttps://www.blogger.com/profile/00839883057634272719noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-47997160649707043482018-08-10T07:37:41.442-07:002018-08-10T07:37:41.442-07:00Hi Bruce,
i was able to connect to repository, but...Hi Bruce,<br />i was able to connect to repository, but when i try to add objects to source control i get the following messages<br /> ---------- Source Control<br />Adding selected items to source control...<br />Nonspecific Error Performing SccAdd()<br />Nonspecific Error Performing SccAdd()<br />Error checking in .PBG file. Verify that new entries are correct and check in .PBG file manually.<br />Failed to add C:\App\f_function1.srf<br />Failed to add C:\App\f_function2.srf<br />Failed to add C:\App\uo_userobject1.sru<br />Operation Completed<br /> ---------- Done Source Control<br /><br />Could you please advice if you see this before?<br />Thanks in advance and sorry for my typos<br />Anonymoushttps://www.blogger.com/profile/01911913947611244152noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-13335141080956104292017-12-01T01:20:43.065-08:002017-12-01T01:20:43.065-08:00Hi Bruce,
Finally I am able to add my code to sou...Hi Bruce,<br /><br />Finally I am able to add my code to source control and not receiving the below error:<br />Nonspecific Error performing SccOpenProject.<br />Source control is in offline mode.<br />Restoring SCC Offline Status Cache from last backup.<br />5466 entries restored to SCC offline status cache.<br />Initialization of PBS Git MSSCCI Failed<br /><br />when you are using folder structure for keeping PBL , PBT etc.<br />you will have to put the PBW where .git file is created I did that and it worked well.<br /><br />Thanks for posting this blog and replying to queries its very helpful.<br /> Anonymoushttps://www.blogger.com/profile/05588357405276935870noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-50064785457747821902017-11-28T06:47:30.539-08:002017-11-28T06:47:30.539-08:00>>The code which I am trying to convert into...>>The code which I am trying to convert into source control is coming from Private Git Repository. <br />>>I believe this should not have any impact on PB to GIT configuration.<br /><br />That's correct. The provider only works with local repositories, it knows nothing about any remote repositories.<br /><br />>>The directory you mean is the source code folder directory? please correct me on this.<br /><br />git2 must be in the directory where pbsGitMSSCCI.dll is at. pbsGitMSSCCI is dependant on it.<br /><br />Also, make sure you have a git client available in the system path. If you open a command prompt and type git and get an error, then the plugin won't know how to find the git client.<br /><br /><br /><br />Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-21462829616128042352017-11-27T22:04:52.987-08:002017-11-27T22:04:52.987-08:00Hi Bruce,
>>I am able to configure one set ...Hi Bruce,<br /><br />>>I am able to configure one set of code with this method but when I am trying with the code which is not on <br />>>Public Repository I am getting this.<br /><br />I'm not sure what you're referring to here.<br /><br />-- The code which I am trying to convert into source control is coming from Private Git Repository. I believe this should not have any impact on PB to GIT configuration.<br /><br />>>Also we have the folder structure of the code so I have place the git2.dll on the folder where main application is.<br /><br />The git2.dll is the compiled version of libgit2 https://libgit2.github.com/) which the plugin needs in it's directory.<br /><br />-- The directory you mean is the source code folder directory? please correct me on this.<br />If my source code is divided into folder structure for PBT, PBW and PBL's then where should I keep the dll (in the folder where my main application is ?).<br />When I am putting git2.dll on the folder where I have .Git I am getting not able to load pbsGitMSSCCI.dll. When I am putting this dll on the folder where my application PBL is I am getting:<br />Nonspecific Error performing SccOpenProject.<br />Source control is in offline mode.<br />Restoring SCC Offline Status Cache from last backup.<br />5466 entries restored to SCC offline status cache.<br />Initialization of PBS Git MSSCCI Failed<br />Anonymoushttps://www.blogger.com/profile/05588357405276935870noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-47809498914809070902017-11-27T08:10:23.395-08:002017-11-27T08:10:23.395-08:00>>I am able to configure one set of code wit...>>I am able to configure one set of code with this method but when I am trying with the code which is not on <br />>>Public Repository I am getting this.<br /><br />I'm not sure what you're referring to here.<br /><br />>>Also we have the folder structure of the code so I have place the git2.dll on the folder where main application is.<br /><br />The git2.dll is the compiled version of libgit2 https://libgit2.github.com/) which the plugin needs in it's directory.Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-18917997805112317002017-11-26T19:50:36.706-08:002017-11-26T19:50:36.706-08:00Hi Bruce,
The entry in Registry path matches the ...Hi Bruce,<br /><br />The entry in Registry path matches the location of files from the archive.<br />C:\Program Files (x86)\pbsGitMSSCCIV1build0007\pbsGitMSSCCI.dll is the path mentioned in the registry and the same path I have placed the files.<br /><br />I am able to configure one set of code with this method but when I am trying with the code which is not on Public Repository I am getting this.<br />Also we have the folder structure of the code so I have place the git2.dll on the folder where main application is.<br /><br />I am wondering if it has anything to do with this.<br /><br />Could you suggest? or let me know if I need to share more details with you.<br /><br />Thanks ,<br />ShailaAnonymoushttps://www.blogger.com/profile/05588357405276935870noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-75784400117548058242017-11-24T07:34:13.220-08:002017-11-24T07:34:13.220-08:00Check to make sure that the location you've sp...Check to make sure that the location you've specified in the registry entries you created match where you've actually put the extracted files from the archive.<br /><br />Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-43542075543396434462017-11-22T21:36:40.959-08:002017-11-22T21:36:40.959-08:00Hi Bruce,
I tried using above steps but it is giv...Hi Bruce,<br /><br />I tried using above steps but it is giving me below error when I am configuring it to PB .<br />Nonspecific Error performing SccOpenProject.<br />Source control is in offline mode.<br />Restoring SCC Offline Status Cache from last backup.<br />5466 entries restored to SCC offline status cache.<br />Initialization of PBS Git MSSCCI Failed<br /><br />I am able to perform all the steps before.<br /><br />Any idea about this?<br /><br />Thanks <br />ShailaAnonymoushttps://www.blogger.com/profile/05588357405276935870noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-13127438318768065732017-11-21T09:23:42.363-08:002017-11-21T09:23:42.363-08:00The .7z extension indicates it's a 7zip archiv...The .7z extension indicates it's a 7zip archive format: http://www.7-zip.org/<br /><br />You need to decompress that archive to get the individual files.Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-81652775414907969042017-11-21T01:12:25.991-08:002017-11-21T01:12:25.991-08:00Hi Bruce,
I tried adding PB code using attached m...Hi Bruce,<br /><br />I tried adding PB code using attached mentioned steps but it did not work for me.<br />I m getting <br />Unable to Load SCC Provider DLL: C:\\Program Files (x86)\\pbsGitMSSCCIV1build0007\\pbsGitMSSCCI.dll<br />Restoring SCC Offline Status Cache from last backup.<br />Unable to initialize SCC status cache from backup C:\Users\Public\Documents\Sybase\PowerBuilder 12.5\Code Examples\Benchmark\benchmark.pbc.<br />Initialization of PBS Git MSSCCI Failed<br /><br />THe reason I could understand is because of PB Software only loaded the file pbsGitMSSCCIV1build0007.7z.<br />And there is not such dll I could find on mentioned path.<br />Can anyone please help me on this.<br />Anonymoushttps://www.blogger.com/profile/05588357405276935870noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-13937538064100773962017-08-23T08:37:28.090-07:002017-08-23T08:37:28.090-07:00It appears that the provider of the MSSCCI to Git ...It appears that the provider of the MSSCCI to Git bridge has not implemented a number of the options in the PB IDE (i.e., history). You would need to use standard Git tools in the Git repository to view that information.Bruce Armstronghttps://www.blogger.com/profile/06531990923901345957noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-77438992856915106162017-08-23T08:21:36.273-07:002017-08-23T08:21:36.273-07:00Hi Bruce,
Thanks very much for this explanation, I...Hi Bruce,<br />Thanks very much for this explanation, I was able to setup my PB project but I have few questions<br /><br />1 - when setting source control in workspace properties, do we need to add User ID and Project path?<br /><br />2 - I could check out and check in objects however I could not not see the changes in the repository; after check in what else do I need to do?<br /><br />3 - Show Differences, Show History is not working anymore <br /><br />One more time, thanks very much for your help.<br /><br />Best regards<br />Enriquechirinohttps://www.blogger.com/profile/17156680160810767144noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-92086577712656178682017-08-16T12:31:29.255-07:002017-08-16T12:31:29.255-07:00Hello Bruce,
I appreciate you taking some time to...Hello Bruce,<br /><br />I appreciate you taking some time to reply to my question above in the Appeon community here - https://community.appeon.com/groups/powerbuilder/powerbuilder-and-github-questions. <br /><br />I just wanted to paste the link on this article so your readers can refer if required. <br /><br />Thanks once again<br />Praveen<br /><a href="http:%5C%5Cwww.pbgeeks.com" rel="nofollow">www.pbgeeks.com</a>Praveen Rajaraohttps://www.blogger.com/profile/10680282347533095222noreply@blogger.comtag:blogger.com,1999:blog-14934996.post-66575762192068584822017-08-09T08:07:08.377-07:002017-08-09T08:07:08.377-07:00Hello Bruce,
Thanks for an in-detail explanation ...Hello Bruce, <br />Thanks for an in-detail explanation of how to use GIT with PB. <br /><br />I just went through the entire process and it is as easy you have made it sound like. I am up and running with one of my applications on GIT. Now I will continue with the CI implementation using Jenkins. <br /><br />Couple of questions:<br />1. How to enable 'Reserved Checkouts' using GIT? I do not want multiple developers checking out the same object on their local repos. <br /><br />2. How to check-in and GIT-Push only selected objects? If I have checked in 10 objects, and I want to push only 5 out of them to the server, how can I do that? <br /><br />Thanks and keep doing the awesome job as always. I plan to write my version of the migration to GIT on my website - www.pbgeeks.com. Do take a look when you get a chance. <br /><br />Thanks<br />Praveen.<br />www.pbgeeks.comPraveen Rajaraohttps://www.blogger.com/profile/10680282347533095222noreply@blogger.com