You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by vcf <vc...@free.fr> on 2007/03/13 20:30:13 UTC

Help needed form SVN client Win32

Hello,

I need to build a win32 tray application for do notifications when 
defined project, already on local disk, is changed on server side.

I have experimented to call the *svn.exe info --xml $localfolder *and 
*svn.exe info --xml $**localfolder **->URL*: it is good, I can compare 
and known if local revision is different from server revision.

But it is necessary to install subversion on each computers and put 
installation path in $path environment. So I will try now to write a 
true SVN Win32 client ..I have downloaded  svn-win32-1.4.3_dev.zip and 
rapidsvn for this API.

Compiling minimal_client from svn-win32-1.4.3_dev was hard ( under 
Visual Studio 2005 ) but done, svn_client_ls() it is running.
Compiling and use svncpp API from rapidsvn is too hard, many errors 
during compilation, not really simply sample.

So I search for more examples as minimal_client.c for retrieve local 
revision of a path and revision of is URL for comparison, for example 
call svn_client_status2() ?

Will be great if sample client sample for win32/VS8.0 be available in 
the svn-win32-1.4.3_dev pack.

Thank you for your help ( and sorry for your English )

VCF.







---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Help needed form SVN client Win32

Posted by Andy Levy <an...@gmail.com>.
On 3/16/07, vcf <vc...@free.fr> wrote:
> Andy Levy a écrit :
> > On 3/15/07, vcf <vc...@free.fr> wrote:
> >> Kevin Grover a écrit :
> >> > How about using a post-commit hook on the server side to
> >> > 1) send an email message and then monitor the email address
> >> > 2) populate an rss feed and monitor that
> >> > 3) something similar...
> >> >
> >> Hello,
> >>
> >> I understand but this methodes can not determine which version is
> >> actually in the local hard disk and if a update is needed.
> >
> > Take #2 a step further.
> >
> > Have your hook push out an RSS feed. Your tray icon app would then
> > pull the RSS feed, check the WC, and pop up the notification if an
> > update is required.
> >
> > Understand that what you're asking to do will require some disk churn
> > every time your app polls for an update.
> >
> >
> Dear Andy,
>
> Thank for your reponse, RSS feed is a good idea but anyway I need to
> known if local copy is uptodate or not regarding the version in the RSS
> feed, so SVNClient function, right ?

Please remember to use Reply to All to keep things on the list.

Yes, you'd still need to use an SVN client API function, but the RSS
feed would eliminate having to constantly poll SVN itself.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Help needed form SVN client Win32

Posted by Andy Levy <an...@gmail.com>.
On 3/15/07, vcf <vc...@free.fr> wrote:
> Kevin Grover a écrit :
> > How about using a post-commit hook on the server side to
> > 1) send an email message and then monitor the email address
> > 2) populate an rss feed and monitor that
> > 3) something similar...
> >
> Hello,
>
> I understand but this methodes can not determine which version is
> actually in the local hard disk and if a update is needed.

Take #2 a step further.

Have your hook push out an RSS feed. Your tray icon app would then
pull the RSS feed, check the WC, and pop up the notification if an
update is required.

Understand that what you're asking to do will require some disk churn
every time your app polls for an update.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Help needed form SVN client Win32

Posted by vcf <vc...@free.fr>.
Kevin Grover a écrit :
> How about using a post-commit hook on the server side to
> 1) send an email message and then monitor the email address
> 2) populate an rss feed and monitor that
> 3) something similar...
>
Hello,

I understand but this methodes can not determine which version is 
actually in the local hard disk and if a update is needed.

Cheers,
Olivier.


>
> On 3/13/07, vcf <vc...@free.fr> wrote:
>> Hello,
>>
>> I need to build a win32 tray application for do notifications when
>> defined project, already on local disk, is changed on server side.
>>
>> I have experimented to call the *svn.exe info --xml $localfolder *and
>> *svn.exe info --xml $**localfolder **->URL*: it is good, I can compare
>> and known if local revision is different from server revision.
>>
>> But it is necessary to install subversion on each computers and put
>> installation path in $path environment. So I will try now to write a
>> true SVN Win32 client ..I have downloaded  svn-win32-1.4.3_dev.zip and
>> rapidsvn for this API.
>>
>> Compiling minimal_client from svn-win32-1.4.3_dev was hard ( under
>> Visual Studio 2005 ) but done, svn_client_ls() it is running.
>> Compiling and use svncpp API from rapidsvn is too hard, many errors
>> during compilation, not really simply sample.
>>
>> So I search for more examples as minimal_client.c for retrieve local
>> revision of a path and revision of is URL for comparison, for example
>> call svn_client_status2() ?
>>
>> Will be great if sample client sample for win32/VS8.0 be available in
>> the svn-win32-1.4.3_dev pack.
>>
>> Thank you for your help ( and sorry for your English )
>>
>> VCF.
>>
>>
>>
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Help needed form SVN client Win32

Posted by Kevin Grover <ke...@kevingrover.net>.
How about using a post-commit hook on the server side to
1) send an email message and then monitor the email address
2) populate an rss feed and monitor that
3) something similar...


On 3/13/07, vcf <vc...@free.fr> wrote:
> Hello,
>
> I need to build a win32 tray application for do notifications when
> defined project, already on local disk, is changed on server side.
>
> I have experimented to call the *svn.exe info --xml $localfolder *and
> *svn.exe info --xml $**localfolder **->URL*: it is good, I can compare
> and known if local revision is different from server revision.
>
> But it is necessary to install subversion on each computers and put
> installation path in $path environment. So I will try now to write a
> true SVN Win32 client ..I have downloaded  svn-win32-1.4.3_dev.zip and
> rapidsvn for this API.
>
> Compiling minimal_client from svn-win32-1.4.3_dev was hard ( under
> Visual Studio 2005 ) but done, svn_client_ls() it is running.
> Compiling and use svncpp API from rapidsvn is too hard, many errors
> during compilation, not really simply sample.
>
> So I search for more examples as minimal_client.c for retrieve local
> revision of a path and revision of is URL for comparison, for example
> call svn_client_status2() ?
>
> Will be great if sample client sample for win32/VS8.0 be available in
> the svn-win32-1.4.3_dev pack.
>
> Thank you for your help ( and sorry for your English )
>
> VCF.
>
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org