Difference between revisions of "Creating and Maintaining a Module Repository"

From CrossWire Bible Society
Jump to: navigation, search
(Layout of a Module repository: [http://en.wikipedia.org/wiki/Gzip gzipped])
(Layout of a Module repository: module [http://en.wikipedia.org/wiki/Repository repository])
Line 1: Line 1:
 
== Layout of a Module repository ==
 
== Layout of a Module repository ==
  
A repository is an echo of the '''mods.d''' and '''modules''' area as found under any Sword module area on your system (e.g. '''~/.sword''') plus '''mods.d.tar.gz''', as created by:
+
A module [http://en.wikipedia.org/wiki/Repository repository] is an echo of the '''mods.d''' and '''modules''' area as found under any Sword module area on your system (e.g. '''~/.sword''') plus '''mods.d.tar.gz''', as created by:
  
 
  tar czvf mods.d.tar.gz mods.d/*
 
  tar czvf mods.d.tar.gz mods.d/*

Revision as of 10:42, 29 November 2008

Layout of a Module repository

A module repository is an echo of the mods.d and modules area as found under any Sword module area on your system (e.g. ~/.sword) plus mods.d.tar.gz, as created by:

tar czvf mods.d.tar.gz mods.d/*

Several front ends (particularly for small devices) do require modules in a different format though, as a zipped file.

mods.d.tar.gz is a gzipped file.

It is also helpful to people who have no access to direct internet connections to be able to download zipped modules.