source: main/trunk/package-kits/linux/repos/ReadMe@ 29690

Last change on this file since 29690 was 29690, checked in by Jeremy Symon, 9 years ago

Created repos folder. This folder contains scripts for managing package repositories for different package managers

File size: 1.8 KB
Line 
1================================================================================
2 General:
3================================================================================
4Contains scripts for generating a greenstone package repository.
5
6./repos/
7 The generated root directory for the package repository files.
8 Contains all the files, including any databases necessary to maintain the
9 repository.
10
11./conf.sh
12 Contains config variables, and functions used by multiple scripts
13
14./gpg
15 Generates a new GPG key if necessary, then copies the public GPG key to the
16 repos directory.
17 Also generates a gpg.key.id file, which allows other scripts to know the
18 GPG key-id without asking the user.
19
20================================================================================
21 Package Manager Implementations:
22================================================================================
23These scripts are used to set up the repositories for specific package-managers,
24and to maintain the repositories for those package-managers (e.g. adding new
25versions of packages)
26
27./apt
28 Generates an apt package repository under ./repos/
29 reprepro is used to manage the repository, so this script just generates the
30 reprepro config, and wraps reprepro to automate some things.
31
32================================================================================
33 Deployment:
34================================================================================
35./sync
36 Uses rsync to copy the packages somewhere (e.g. to a webserver for
37 distribution)
38 Excludes files based on ./sync-exclude.list
39
40./sync-exclude.list
41 A list of paths (relative to ./repos/) to exclude when syncing
42 Used to stop internal database or config files from being viewable by users
43
Note: See TracBrowser for help on using the repository browser.