aboutsummaryrefslogtreecommitdiff
blob: 378c03ebb470aacdd220cdcdd8c486363c3e9605 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# repo.list
#  This file explains how to write repo config files.

# !! out of date, see man/roverlay-repo.5

# This file is parsed used ConfigParser syntax (known from .ini files).

# A repo entry describes
# * where to find R packages that will be used for overlay creation,
#    and optionally where and how to get the R packages (using repo types)
# * how ebuilds can download the R packages (=> SRC_URI)

# Each repository is introduced with [<section name>] and has to declare
# some options.
#
# general options are:
#
# * required:
#
#   src_uri   -- this is used to determine the SRC_URI in ebuilds
#                 (SRC_URI=<src_uri>/<package file name>)
#                 FIXME note: check that subdirs are handled correctly
#
# * optional:
#
#   name      -- name of the repository
#                 optional, defaults to <section name>
#   type      -- the type of this repo, see below
#                 optional, defaults to rsync
#   directory -- the local package directory,
#                 optional, defaults to <DISTFILES ROOT (from config)>/<name>
#
#   (base_uri -- don't use, to be removed)
#
#
# There are two types of repos, "rsync" and "local" ones:
#
# * Local repo;
#   A Local repo represents a directory with R packages in it.
#   It will never be modified (i.e. synced) and has no special options.
#
# * Rsync repo:
#   An Rsync repo uses a local directory to sync with a remote.
#   Its directory will be modified whenever syncing (using the rsync program).
#   Behaves like a local repo if syncing is disabled.
#
#  default rsync options (always passed to rsync):
#   --links, --safe-links, --times, --compress, --dirs, --prune-empty-dirs,
#   --force, --delete, --human-readable, --stats, --chmod=ugo=r,u+w,Dugo+x
#
#  This type has special options:
#
#  rsync_uri        -- required, rsync uri
#  recursive        -- optional, passes '--recursive' to rsync
#                       if this option is set to 'yes'
#  extra_rsync_opts -- optional options to pass to rsync, this
#                       can be used to exclude/include files,
#                       show progress while syncing etc.
#                       Note: options cannot contain whitespace! (#FIXME note: this could be allowed if useful)
#
#


# == Repo entry examples ==

# a local directory with packages in /var/www/R_packages
#
#[local_packages]
#type      = local
#src_uri   = http://localhost/R_packages
#directory = /var/www/R_packages


# a local directory with packages manually downloaded from CRAN
# * directory will be automatically set to <DISTROOT>/CRAN/selected
#
#[CRAN/selected]
#type    = local
#src_uri = http://cran.r-project.org/src/contrib

# CRAN rsync repo
# * type will be set to rsync
# * directory will be set to <DISTROOT>/CRAN/all
# * rsync progress will be shown during transfer
# * not recursive, the package archive and R release won't be fetched
# * this needs about 2.5G disk space
#
#[CRAN/all]
#src_uri   = http://cran.r-project.org/src/contrib
#rsync_uri = cran.r-project.org::CRAN/src/contrib
#extra_rsync_opts = --progress

# CRAN rsync repo (selective transfer)
# * type is explicitly set to rsync
# * only packages starting with "r" or "R" will be fetched
# * directory will be set to <DISTROOT>/CRAN/only_letter_R
# * rsync progress will be shown during transfer
# * not recursive
# * this needs about 300M disk space
#
#[CRAN/only_letter_R]
#type      = rsync
#src_uri   = http://cran.r-project.org/src/contrib
#rsync_uri = cran.r-project.org::CRAN/src/contrib
#extra_rsync_opts = --include=r* --include=R* --exclude=* --progress