Differences between revisions 10 and 11
Revision 10 as of 2013-06-16 17:56:20
Size: 1485
Editor: ?SergeyBurkov
Comment:
Revision 11 as of 2017-03-27 20:29:14
Size: 56
Comment: Reorganization of Repository related pages
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
~- [[DebianWiki/EditorGuide#translation|Translation(s)]]: English - [[ru/ReposRelease|Русский]] -~

/!\ The Release files are also documented on the [[RepositoryFormat|apt repository format]] page.

= Repository Release Files =

The *Release* file enables package pinning to be used with the repository. In a repository holding files for the [[stable]] distribution the file would be located at !/debian/dists/stable/Release

== Format of the Release File ==

The Release file is in [[PkgCtrlFile]] control file format, and consists of a single record spanning multiple lines. The record applies to all of the packages in the directory tree below it.

== Fields ==

The [[PkgFields]] fields in a Release file record are relevant for determining package [[PkgPrio]] priorities. The Release file typically contains the following [[PkgFields]] fields:

|| [[PkgFieldArchive]] Archive|| [[PkgFieldVersion]] Version|| [[PkgFieldCompon]] Component|| [[PkgFieldOrigin]] Origin|| [[PkgFieldLabel]] Label|| [[PkgFieldArch]] Architecture||

== Creating a Release file ==

The Release file can be created with a text editor.

edit /dists/local/custom/binary-i586/Release:

 Archive: local
 Version:
 Component: custom
 Origin: Local Repository
 Label: Local Repository
 Architecture: i586

edit /dists/local/custom/source/Release:

 Archive: local
 Version:
 Component: custom
 Origin: Local Repository
 Label: Local Repository
 Architecture: source
#redirect DebianRepository/Format#A.22Release.22_files