Re: Summary of a IRC conversation in #zynot-infra

Amir Guindehi <[email protected]> Mon, 11 Aug 2003 10:53:37 +0200
Newsgroups gmane.linux.zynot.devel
Organization DataCore GmbH
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--===============85344276394354268==
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature";
	boundary="------------enig49EC4078635AFB790F8FF7F7"

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig49EC4078635AFB790F8FF7F7
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi!

Sander Striker wrote:
 >>From what I understand we need amir's fixed up svn builds and everything
 >>that goes with them (like the custom db4, etc).
 >
 > So either the correct ebuilds with their dependencies should be published
 > somewhere on the zynot.org domain with instructions, or, we should give
 > instructions how to build from source...

Those Ebuilds are published on the following website:

https://gentoo.datacore.ch/DCwiki.gentoo/Ebuild.jsp?page=DataCore.EBuilds&portage=dc.gentoo

You will find every Ebuild DataCore has developed presented on those 
pages. The webserver will present you all categories and it has a page 
for everu Ebuild where all version of the EBuild are listed and where 
you can download a tarball of that ebuild.

As an example, check out the Subversion Ebuild page:

https://gentoo.datacore.ch/DCwiki.gentoo//Ebuild.jsp?page=subversion&portage=dc.gentoo&type=ebuild&ebuild=subversion&ispatch=false&category=dev-util

We could easily create a wiki page pointing to those ebuild pages needed 
for subversion (you can link directly to the ebuild page, as you see in 
the above example). That way the links will always point to the newest 
ebuilds for the needed packages...

 >>At this point the only way to get a working SVN is to pull and entire
 >>overlayed tree with Amir's gentoo based tree.
 >
 > Come on.  That's certainly not the only way.  If you download a
 > Subversion release tarball and read INSTALL you come a very long way.
 > Especially if you don't need to build a server.

*rol*

I, personally, would advice to download the needed Ebuilds!

There are not _that much_ dependencies (neon, db-4.0.14, autoconf, 
libtool, bison, python, diffutils, openssl, texinfo, texi2html), so we 
could list them on a wiki "subversion install page"...

Sander, building sources by hand is bad! ;-))
I, personally, even write XXX-svn.ebuilds first, so that compiling my 
own sources while developing becomes a simple 'emerge XXX-svn.ebuild.

BTW:  The Eclass for Subversion with the name svn.eclass is available 
only by pulling the whole tree.

 > If you do a regular svnadmin dump $REPOS > dumpfile, you are always
 > able to recover your data.  People who are less paranoid can backup
 > their svn repository using the hot-backup script included with
 > Subversion.

I wrote a SVN backup script named svnbackup, which is available from:

https://open.datacore.ch/read-only/svnbackup/trunk/

by svn and does exactly that. It dumps every revision commited to a 
separate bzip2 compressed dump file in a configurable directory 
structure. You can configure multiple repositories and then have 
svnbackup backup all those  repositories in one go.

The svnbackup script can be called from cron or it can be added as a 
commit hook script to the repository.

I include svnbackup's help here:

$ svnbackup --help

This command makes a backup of a subversion repository while running.

Usage: svnbackup [--help|--rep <rep-path>|cmd [args]]

     cmd and args can be:

         dump    head            Dump HEAD revision
         dump    current         Dump HEAD revision
         dump    all             Dump ALL revisions
         dump    <rev>           Dump revision <rev>
         load    <new-db>        Load new database to path <new-db>

Please note, that a svnbackup-svn.ebuild ebuild is available from:

https://gentoo.datacore.ch/DCwiki.gentoo/Ebuild.jsp?page=svnbackup-svn&portage=dc.gentoo&type=ebuild&ebuild=svnbackup-svn&ispatch=false&category=dc-admin

Other scripts I wrote concerning the Subversion context are:
- svnmerge
- svnreplicate
- cvs2svntracking

They are all awailable from the https://open.datacore.ch repository and 
each one of them has a corresponding ebuild which can be found on the 
https://gentoo.datacore.ch website.

Cheers
- Amir

-- 
Amir Guindehi, [email protected]
DataCore GmbH, Witikonerstrasse 289, 8053 Zurich, Switzerland



--------------enig49EC4078635AFB790F8FF7F7
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-nr1 (Windows 2000)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/N1mRbycOjskSVCwRAih5AJ0ZwoqQjJ0FfcI9MpL9EOjZevsPTQCg6WdX
aid0rvAJoxINUe3VN66yrmc=
=P+B8
-----END PGP SIGNATURE-----

--------------enig49EC4078635AFB790F8FF7F7--


--===============85344276394354268==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Zynot-dev mailing list
[email protected]
http://lists.zynot.org/mailman/listinfo/zynot-dev

--===============85344276394354268==--