Subversion Repositories DevTools

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
315 dpurdie 1
#-------------------------------------------------------------------------------
2
#   Documentation
3
#
4
 
5
=pod
6
 
361 dpurdie 7
=for htmltoc    CORE::
8
 
315 dpurdie 9
=head1 NAME
10
 
11
Package Storage Archives used by JATS
12
 
13
=head1 SYNOPSIS
14
 
15
Package archives are repositories for Packages that have been built by JATS.
16
There are six types of package archive, as shown below together with the
17
search order.
18
 
19
=over
20
 
361 dpurdie 21
=item 1 
315 dpurdie 22
 
361 dpurdie 23
L<sandbox_archive>       (User current sandbox)
315 dpurdie 24
 
361 dpurdie 25
=item 2 
315 dpurdie 26
 
361 dpurdie 27
L<local dpkg_archive|local_dpkg_archive>    (User local store)
315 dpurdie 28
 
361 dpurdie 29
=item 3 
315 dpurdie 30
 
361 dpurdie 31
L<dpkg_archive_cache> (Machine local cache)
315 dpurdie 32
 
361 dpurdie 33
=item 4 
34
 
4688 dpurdie 35
L<dpkg_archive_replica> (Site repository)
361 dpurdie 36
 
37
=item 5 
38
 
4688 dpurdie 39
L<dpkg_archive> (Master repository)
361 dpurdie 40
 
41
=item 6 
42
 
4688 dpurdie 43
L<deploy_archive> (Site repository)
361 dpurdie 44
 
4688 dpurdie 45
=item 7 
46
 
47
L<dpkg_archive_store> (Global repository)
48
 
315 dpurdie 49
=back
50
 
51
These are detailed in the following sections.
52
 
361 dpurdie 53
=over 4
315 dpurdie 54
 
361 dpurdie 55
=item  dpkg_archive
56
 
57
dpkg_archive is the common package repository. This is on a shared network drive
4688 dpurdie 58
and as such affects the build speed. JATS supports several mechanisms to supplement
315 dpurdie 59
dpkg_archive, as described below.
60
 
361 dpurdie 61
This archive is mandatory. Its location if specified by the EnvVar L<GBE_DPKG>.
315 dpurdie 62
 
361 dpurdie 63
=item   deploy archive
315 dpurdie 64
 
361 dpurdie 65
deploy_archive is the common package repository for deployable packages and
315 dpurdie 66
is similar to dpkg_archive. 
67
 
361 dpurdie 68
This archive is optional. Its location if specified by the EnvVar L<GBE_DPLY>.
315 dpurdie 69
 
361 dpurdie 70
=for htmlclass Note
315 dpurdie 71
 
361 dpurdie 72
Note: Use of the deploy_archive has been deprecated. It is now the same as 
73
dpkg_archive.
315 dpurdie 74
 
361 dpurdie 75
=item   sandbox archive
76
 
77
sandbox_archive is the common package repository for packages that are
78
being built within a jats 'L<Sandbox|TOOLS::jats_sandbox>'. It is used to store
79
the packages generated by all builds within a sandbox.
80
 
315 dpurdie 81
This archive location will be determined automatically by JATS. It is only
82
used with the scope of a sandbox.
83
 
361 dpurdie 84
=item  local dpkg_archive
315 dpurdie 85
 
86
JATS supports a package archive that is local to a project or suite of build
361 dpurdie 87
sandboxes. This is the archive used by the L<install|TOOLS::jats/"item_install"> command.
315 dpurdie 88
 
89
The user does not have to do anything to access this archive. The archive is
90
located by the JATS wrapper script by scanning up the directory tree for a
91
directory called "local_dpkg_archive". If it is found then it is used as the
92
preferred source for locating archives. This allows a component to be tested
93
with a "local" or "fixed" version of another package, before an official
94
release is made.
95
 
96
A local archive may be shared by members of a team by setting the environment
361 dpurdie 97
variable L<GBE_DPKG_LOCAL> to the location of a shared drive.
315 dpurdie 98
 
361 dpurdie 99
=for htmlclass Note
315 dpurdie 100
 
4003 dpurdie 101
Note: This type of archive is being deprecated for normal development in favour
361 dpurdie 102
of the 'L<Sandbox|TOOLS::jats_sandbox>' Archive.
315 dpurdie 103
 
361 dpurdie 104
=item  dpkg_archive cache
105
 
315 dpurdie 106
JATS supports a package caching mechanism to reduce network utilization. If
361 dpurdie 107
the user specified L<GBE_DPKG_CACHE> exists then that archive is treated as a
315 dpurdie 108
cache archive. The various JATS tools work together to maintain the cache.
109
 
110
This cache must be setup by the user.
111
 
361 dpurdie 112
=item  dpkg_archive store
315 dpurdie 113
 
114
JATS supports a global, read-only, package distribution mechanism. If
361 dpurdie 115
the user specified L<GBE_DPKG_STORE> exists then that archive is treated as a
315 dpurdie 116
global store. The store archive will be searched after all other archives.
117
 
118
A global store may be used by members of a global team, in a situation in
119
which the store is rsync'ed from a central repository.
120
 
4688 dpurdie 121
=item  dpkg_archive replica
122
 
123
JATS supports a global, read-only, package distribution mechanism. If
124
the user specified L<GBE_DPKG_REPLICA> exists then that archive is treated as a
125
global store. The store archive will be searched before other site repository.
126
 
127
A replica store is used to provide fast access to packages that have been replicated from
128
the main package archive, which may be located remotely.
129
 
361 dpurdie 130
=back