[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Scripts in binary packages (was Re: hot-backup.py for windows?)

From: Jostein Chr. Andersen <jostein_at_josander.net>
Date: 2004-03-24 09:51:08 CET

On Tuesday 23 March 2004 21.02, David Kimdon wrote:
> > Now, the education part:
> > Wich programs/tools/scripts should I include in a packege named
> > "tools/ utilities" in the Windows Installer?
>
> Getting the installation of various scripts is something that I have
> wanted to get out of the Debian-specific files for some time. For
> the files where there is a clearly proper installation directory this
> could remove a lot of code that is duplicate in all the different
> package build scripts.
>
> Here is a start, I'll be glad to make a patch for this when we have
> consensus. See Makefile for the variable expansion and the full
> installed path as determined by configure :
>
> svn_load_dirs.pl -> ${bindir}/
> svn_load_dirs.README -> ${docdir}/
> hot-backup.py [1] -> ${libdir}/subversion/hook-scripts/
> tools/hook-scripts/* [2] -> ${libdir}/subversion/hook-scripts/
> subversion/mod_authz_svn/INSTALL -> ${docdir}/INSTALL.authz
> contrib/client-side/vc-svn.el -> ${datadir}/emacs/site-lisp/
> contrib/client-side/psvn/psvn.el -> ${datadir}/emacs/site-lisp/
>
> Here are some files that I am installing in the Debian package, but I
> don't if there is a generally accepted location for these files
> (Anyone know if there is a good place for these?) :
>
> tools/client-side/bash_completion
> tools/xslt/svnindex.xsl
> tools/xslt/svnindex.css
> contrib/client-side/svn.vim

I think that %SVNPATH%\tools and %SVNPATH%\contrib is more than good
enought. I just add a new Subversion item on Windows' startmenu wich
opens a folder in that folders in Windows Explorer.

This is a good list!

I see that many of the programs/tools/scripts are Unix centric (shebangs,
paths and so on) but that's very easy to work out.

A little more complicated issue is that programs like sendmail (or
compatibles) and bash are required for some of the scripts. However, it
does excist some good alternatives (at least for sendmail) that the
tools can look for when running under Windows (both in C and Perl) so I
will check this out.

> Two more files that might be nice to install by default would need to
> be generated (perhaps at release time). The Debian packages have a
> simple C program, see :
>
> http://people.debian.org/~dwhedon/subversion/subversion-1.0.1/debian/t
>ools/
>
> that creates files to be installed as default configuration in
> /etc/subversion/config and /etc/config/servers. Our install would
> need to be careful not to clobber an existing configuration, of
> course.

I'll look.

Thanks for the info. I hope that some Windows user's can come up with
some feedback (wishes, comments and so on).
I will come back with some pathches (making the scripts work on Windows
as well and so on) to the dev list when figuring out the SMTP question
(among others).

Jostein

-- 
http://www.josander.net/kontakt/ ||
http://www.josander.net/en/contact/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 24 09:52:38 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.