To Linas ... Re: [Gnucash-changes] r12818 - htdocs/trunk : GLOBALS

Josh Sled jsled at asynchronous.org
Tue Jan 17 11:35:26 EST 2006


On Tue, 2006-01-17 at 11:14 -0500, Derek Atkins wrote:
> > Maybe we need a symlink in each translated subdirectory :
> > en/news -> news/ etc. but that would require some kind of svn ignore and 
> > script setup / readme. 
> 
> Assuming symlinks is probably not a good idea.  If we're GOING to
> assume symlinks then you might need to create a "build_tree.sh" in the
> top level that builds all the symlinks you need in order to get the
> proper configuration.

Well, subversion can handle the symlinks, though I'm not sure what it
does with them in windows filesystems.

As to whether those are the right ones to have, I don't really know
either way.


> > Also, is there some kind of top level script on the current site
> > that is missing from svn? http://virtualhostname/ currently gives a
> > directory listing and the content appear doesn't appear until you
> > select a language. Presumably there's either a symlink to
> > en/index.phtml or some kind of language detection script?
> 
> I don't know.  That's another question for Linas.

The website came to us in two pieces: a tarball of the CVS repository
and a tarball of the live site that David Hampton made.  The images and
news were not in the CVS repository ... as well as some large static
pieces of the site, like the historical gnucash-devel archives and
versions of the tutorial and concepts guide, which probably shouldn't be
in the VC system...

In any case, looking at the tarball, yes, there is a top-level
index.phtml -> en/index.phtml symlinks.  As well, there are the
following in the live-site tarball:

[root at cvs ~]# bzip2 -cd gnucash_www_live.tar.bz2 |tar tvf - |grep -- "->"
lrwxrwxrwx hampton/users     0 2006-01-02 13:01:57 ./pub -> ../../ftp/gnucash/pub
lrwxrwxrwx hampton/users      0 2006-01-02 13:01:57 ./index.phtml -> en/index.phtml
lrwxrwxrwx hampton/users      0 2006-01-02 13:01:57 ./fr/favicon.ico -> ../favicon.ico
lrwxrwxrwx hampton/users       0 2006-01-02 13:01:59 ./docs/fr/index.html -> xacc-main.html
lrwxrwxrwx hampton/users       0 2006-01-02 13:01:59 ./docs/index.phtml -> /var/www/gnucash//en/docs.phtml
lrwxrwxrwx hampton/users       0 2006-01-02 13:01:59 ./docs/es/image -> ../C/image
lrwxrwxrwx hampton/users       0 2006-01-02 13:01:59 ./docs/pt_PT/image -> ../C/image
lrwxrwxrwx hampton/users       0 2006-01-02 13:02:16 ./images/newlogo.gif -> banners/logo_beatnik.gif
lrwxrwxrwx hampton/users        0 2006-01-02 13:03:12 ./press-archive/linuxjournal-2002-06/article.php -> article.php?sid=5669
lrwxrwxrwx hampton/users        0 2006-01-02 13:03:41 ./en/news -> ../news
lrwxrwxrwx hampton/users        0 2006-01-02 13:03:42 ./en/favicon.ico -> ../favicon.ico
lrwxrwxrwx hampton/users        0 2006-01-02 13:03:42 ./en/favicon.png -> ../favicon.png

-- 
...jsled
http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo ${a}@${b}`


More information about the gnucash-devel mailing list