[Gimp-web] Cleaning up the source tree
Raphaël Quinet
raphael at gimp.org
Wed Mar 21 11:24:56 PDT 2007
Hi,
Anyone wanting to contribute to the web site has to start with a rather
large download (svn checkout of about 120 MB) due in part to the number
of images included in the web site. However, while working on the
splash screens yesterday, I remembered that about one third of these
images are basically never used: the sub-directories of .../splash/
contain lots of large uncompressed *.ppm images that are not needed at
all.
If nobody objects, I would like to clean this up a bit by removing all
these files and directories that are anyway not visible on the web
site. I would also remove some of the text files and other temporary
documents that have been left there. Instead, I would replace them by
a few lines explaining how to use "svn log" and "svn cat -r ..." to
fetch any of the old splash screens directly from the gimp tree. I
will also list the various file names (or SVN URLs) that have been used
for the splash screen until now. There is no need to keep duplicate
copies of some files in the gimp-web tree if they can easily be fetched
from the gimp tree.
Besides cleaning up the source tree, I would also like to take advantage
of the fact that Subversion allows renaming files and directories in
order to shorten some URLs. For example, we currently have:
http://www.gimp.org/about/splash/stable.html
http://www.gimp.org/about/splash/splash-images/splash-1.1.html
http://www.gimp.org/about/splash/splash-images/splash-2.1.html
http://www.gimp.org/about/splash/splash-images/gimp1_1_splash-1.5.png
http://www.gimp.org/about/splash/splash-images/gimp1_1_splash-1.7.png
http://www.gimp.org/about/splash/splash-images/gimp1_1_splash.1.10.png
...
http://www.gimp.org/about/splash/splash-images/gimp_splashpng.1.1.png
...
http://www.gimp.org/about/splash/splash-images/gimp_splashgif.1.1.gif
...
IMHO, there is no need to have the html files in the "splash-images"
sub-directory; they should be one level higher. Also, the name of the
image files is a bit confusing because it mixes some parts of the
filename in the gimp tree with the old CVS revision number that is not
used anymore. I would like to move files around and use only the SVN
revision number in order to get the following structure:
http://www.gimp.org/about/splash/stable.html
http://www.gimp.org/about/splash/unstable-1.1.html
http://www.gimp.org/about/splash/unstable-2.1.html
http://www.gimp.org/about/splash/images/gimp-splash-r754.png
http://www.gimp.org/about/splash/images/gimp-splash-r760.png
http://www.gimp.org/about/splash/images/gimp-splash-r912.png
...
http://www.gimp.org/about/splash/images/gimp-splash-r6695.png
...
http://www.gimp.org/about/splash/images/gimp-splash-r7244.gif
...
Even the "gimp-splash-" part of the image names is a bit redundant
with their placement in the tree, but maybe it is better to keep that
in case some visitors make copies of the images and lose the context.
Anyway, this is just a proposal. It is still open for discussion, but
I'd like to implement it by the end of this week if nobody objects.
Note that it would change some URLs, but our "Linking to us" page warns
visitors that they should avoid deep linking and I do not consider this
to be a problem for pages and images that are 3 or 4 levels deep in our
tree or click path.
I would also encourage contributors to delete files that are not useful
anymore and that are leftovers from previous steps in the development
of the web site. Cleaning up the tree should make it easier for new
contributors find their way around instead of being confused by some
obsolete stuff.
-Raphaël
More information about the Gimp-web
mailing list