Hi Przemek,
On Thu, 05 Jun 2008, Szakáts Viktor wrote:
Hi Viktor,
Yes, but notice that a full "svn co" is not enough to
rebuild the whole database, as it doesn't contain
any history information. What it contains is a duplicate
of all files (for offline revert and diff features),
plus several admin files for svn to use the tree as
a development sandbox. For users simply wanting to
build Harbour from source, nothing of these are needed.
harbour/bin/pack_src.sh packs only current files.
It uses SVN command to create list of active files in repository
and then packs only them without any additional hidden SVN files
or local user files even if they are located in harbour source
tree. Just try.
Yes, that's fine for someone wanting to create proper
source .zip from a "checkout"-et sandbox, but I think
Alejandro was thinking about the automatic source archive
found on the hb page, and this one is created on the
server by a different script.
About pack_src.sh: I still don't really get it :)
I mean, if someone wants to create a source distro
file, IMO the best is to "svn export -r <revision> <url>"
to a fresh dir and pack the thing as a whole, so
that it's guaranteed that no local modifications,
additional files or other mess is picked up (there
would be considerable amount of this if I did one
in my sandbox :). It might also be easier to do and
free from any messing with svn internals.
I did some tests with this little script yesterday:
--- to be run in a fresh dir
svn export <url>
tar -c harbour/* > harbour-src.tar
bzip2 -z harbour-src.tar
---
Brgds,
Viktor
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour