Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2007-02-17 15:38:00
Size: 511
Editor: MarkHobley
Comment:
Revision 10 as of 2013-06-16 17:56:20
Size: 1485
Editor: ?SergeyBurkov
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Creating repository release files ==
The release file enables package pinning to be used with the repository. The release files can be created with a text editor.
~- [[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.

Translation(s): English - Русский

/!\ The Release files are also documented on the 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