Skip to Content.
Sympa Menu

sm-sorcery - [SM-Sorcery] rsync update - first draft

sm-sorcery AT lists.ibiblio.org

Subject: Discussion of Sorcery related topics

List archive

Chronological Thread  
  • From: Eric Laberge <demon_lord AT myrealbox.com>
  • To: sm-sorcery AT lists.ibiblio.org
  • Subject: [SM-Sorcery] rsync update - first draft
  • Date: Tue, 15 Jul 2003 21:27:25 -0400

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Aloha!

Here is a first draft of the rsync grimoire update. This script is based on
the CVS url handler, so it currently has at least the same limitations.

Simply put the files attached where they belong, and voilĂ , you can now use
rsync://SOURCE::MODULE urls!

To use:
scribe add <grimoire> rsync://<source>::<grimoire>

Things I had to change:
I used the seemingly unused "url_set_options" function to set a "nocache"
attribute [see the add() and do_update() functions in 'scribe']. This
prevents cvs and rsync URLs (updated url_cvs in the attached file) to pack
the downloaded files, which is a useless waste of time on grimoire updates,
enough to negate any time benefits for broadband users. This needed
modifications to scribe which only accepted tar.bz2 archives.

It seems to work, it only needs some testing on your part (and a rsync
server,
obviously).

I configured my test server with the grimoire name as the rsync share name.

- --
Eric Laberge
ICQ: 1261355
MSN: dlord666 AT hotmail.com
Jabber: demonlord AT jabber.com

GCS/M/S d-(++) s-: a-- C++(++++) UL+++>$ !P L+++ E--- W++ N+ w++ !O M
!V PS PE Y PGP-(+++) t++(-) X- R* tv+ b+ DI+++ D+ G e++>+++++ h!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/FKn/1Q3tcr/gnPMRAnoYAKCkjz40CbQsKxqI2yowbc8Sdc3XkQCgq8Rw
ffKTOlfts7TrxkmhaJ8i7gg=
=jng8
-----END PGP SIGNATURE-----

Attachment: rsync_grim.tar.bz2
Description: application/tbz




Archive powered by MHonArc 2.6.24.

Top of Page