Agent SVN and PowerBuilder

Get help with the installation and running of the Agent Git or Agent SVN plug-ins. This section can also be used for posting comments, suggestions or submitting feature requests. Please do not post bug reports here. When in doubt post your question here.
Post Reply
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Agent SVN and PowerBuilder

Post by jussij »

I have create a detailed set of instructions as to how integrate Agent SVN with PowerBuilder.

These instructions can be found here.

Cheers Jussi
jesus soto
Posts: 1
Joined: Wed Oct 31, 2012 8:56 pm

Post by jesus soto »

hello...

i follow yours instructions for powerbuilder 12.5 and they work fine. i need instructions on how to use or import a new repository created with collabnet subversion edge (latest version). i can find clear instructions on this subject. i need to be able to run or view reports of changes on the source code for compliance purposes....

i purchased agent svn installed subversion but i can not get it to work outside the local repository....

thanks
jsoto
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi jsoto,
i can not get it to work outside the local repository....
I am happy to help you with this. You will need to give me the following details:

The SVN protocol you are planning to use.

The URL of your remote repository

The URL is the location of the SVN repository and I will look something like this:

https://your_svn_repository/

or this:

svn://your_svn_repository/

Also do this:

(1) Start the Agent SVN Configuration utility and turn on the 'Help debug SVN..' option.

(2) Click on the ... button to find the log file location. It will be something like this:

Code: Select all

C:\Documents and Settings\<Your User ID>\Local Settings\Application Data\Xidicone\Agent SVN\AgentSVN.log
(3) Start Power Builder and open a project.

(4) Send me the Agent SVN log file that is produced.

Cheers Jussi
shipo
Posts: 1
Joined: Mon Nov 04, 2013 3:34 pm

AgentSVN slow when processing target level operations.

Post by shipo »

Hey All,

I've just moved to a new company and am using SVN for the first time. Prior to changing jobs I'd been using Perforce SCC with PowerBuilder 12.5, and now I'm leading the effort at my new company to hook their PowerBuilder 12.5 developers into their corporate SVN repository.

I just downloaded an evaluation copy of AgentSVN and am attempting to use it, unfortunately it seems very-very slow when performing target level operations. Our app has roughly 2,000 objects spread out across 50+ PBLs, and as a test I changed two objects, selected "Check In" from the target level context menu and I waited, and waited, and waited. It took over ten minutes before the "Check In" dialog box came up, not exactly acceptable performance.

While I haven't tried PushOK yet, one of my new co-workers claims this isn't an issue with that interface.

Is there a configuration setting which will speed things up, or is this as good as it gets with AgentSVN?

Regards,
Dale
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Hi Dale,
I just downloaded an evaluation copy of AgentSVN and am attempting to use it, unfortunately it seems very-very slow when performing target level operations.
EDIT UPDATE: Agent SVN can run very slowly if there is a mismatch between the versions of the SVN client and the SVN server.

For details on how to fix this refer to this link: http://www.zeusedit.com/zforum/viewtopic.php?t=7167

If the above fix does not work then start the Agent SVN configuration utility and look for the debugging option.

Could you turn on that debugging, peform the operation that is running slowly and send me the resulting file as an e-mail attachment. You can use the e-mail button below.

You can find the location of the log file using the ... button.
It took over ten minutes before the "Check In" dialog box came up
That definitely sound like something is not right, but the log file should hopefully show where and why the slowdown is happening.

Cheers Jussi
Last edited by jussij on Wed Aug 20, 2014 2:16 am, edited 1 time in total.
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

It appears this slowdown was caused by the fact Agent SVN uses the --show-updates option when running the Subversion status command.

That option forces the Subversion client (which Agent SVN uses) to connect to the remote Subversion server to get the latest status information.

It is this connection back to the server that is taking such a long time to return and as such it looks like this is in fact an issue with Subversion itself :?

But a new Agent SVN beta version has been created that tries to work around this issue in two ways.

1) The SccQueryInfoEx function that PowerBuilder calls to get information about the objects contained in the PB project now uses the Subversion info command to get the required revision information.

2) In the Agent SVN configuration utility there is new option disable the use of the --show-updates option whenever the status Subversion command is run.

The new beta version can be found here: http://www.zeusedit.com/agent/bin/asvn-beta.zip

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

This latest Agent SVN beta adds status caching so be more responsive when getting the status of objects in the project.

Just make sure the cache option is turned on in the configuration dialog.

There latest Agent SVN beta can be found here: http://www.zeusedit.com/agent/bin/asvn-beta.zip

Cheers Jussi
jussij
Site Admin
Posts: 2650
Joined: Fri Aug 13, 2004 5:10 pm

Post by jussij »

Agent SVN can run very slow if there is a mismatch between the SVN client and the SVN server.

For details on how to fix this refer to this link: http://www.zeusedit.com/zforum/viewtopic.php?t=7167

Cheers Jussi
Post Reply