| … | |
… | |
| 2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
| 4 | |
4 | |
| 5 | <head> |
5 | <head> |
| 6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 7 | <meta name="generator" content="Docutils 0.5: http://docutils.sourceforge.net/" /> |
7 | <meta name="generator" content="Docutils 0.6: http://docutils.sourceforge.net/" /> |
| 8 | <title>GLEP 61 -- Manifest2 compression</title> |
8 | <title>GLEP 61 -- Manifest2 compression</title> |
| 9 | <link rel="stylesheet" href="tools/glep.css" type="text/css" /></head> |
9 | <link rel="stylesheet" href="tools/glep.css" type="text/css" /></head> |
| 10 | <body bgcolor="white"> |
10 | <body bgcolor="white"> |
| 11 | <table class="navigation" cellpadding="0" cellspacing="0" |
11 | <table class="navigation" cellpadding="0" cellspacing="0" |
| 12 | width="100%" border="0"> |
12 | width="100%" border="0"> |
| … | |
… | |
| 25 | <tbody valign="top"> |
25 | <tbody valign="top"> |
| 26 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">61</td> |
26 | <tr class="field"><th class="field-name">GLEP:</th><td class="field-body">61</td> |
| 27 | </tr> |
27 | </tr> |
| 28 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">Manifest2 compression</td> |
28 | <tr class="field"><th class="field-name">Title:</th><td class="field-body">Manifest2 compression</td> |
| 29 | </tr> |
29 | </tr> |
| 30 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.2</td> |
30 | <tr class="field"><th class="field-name">Version:</th><td class="field-body">1.4</td> |
| 31 | </tr> |
31 | </tr> |
| 32 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference external" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0061.txt?cvsroot=gentoo">2008/10/28 07:45:56</a></td> |
32 | <tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference external" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0061.txt?cvsroot=gentoo">2010/01/13 03:26:53</a></td> |
| 33 | </tr> |
33 | </tr> |
| 34 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Robin Hugh Johnson <robbat2 at gentoo.org></td> |
34 | <tr class="field"><th class="field-name">Author:</th><td class="field-body">Robin Hugh Johnson <robbat2 at gentoo.org></td> |
| 35 | </tr> |
35 | </tr> |
| 36 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
36 | <tr class="field"><th class="field-name">Status:</th><td class="field-body">Draft</td> |
| 37 | </tr> |
37 | </tr> |
| … | |
… | |
| 41 | </tr> |
41 | </tr> |
| 42 | <tr class="field"><th class="field-name">Requires:</th><td class="field-body"><a class="reference external" href="http://www.gentoo.org/proj/en/glepglep-0044.html">44</a></td> |
42 | <tr class="field"><th class="field-name">Requires:</th><td class="field-body"><a class="reference external" href="http://www.gentoo.org/proj/en/glepglep-0044.html">44</a></td> |
| 43 | </tr> |
43 | </tr> |
| 44 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">July 2008</td> |
44 | <tr class="field"><th class="field-name">Created:</th><td class="field-body">July 2008</td> |
| 45 | </tr> |
45 | </tr> |
| 46 | <tr class="field"><th class="field-name">Updated:</th><td class="field-body">October 2008</td> |
46 | <tr class="field"><th class="field-name">Updated:</th><td class="field-body">October 2008, January 2010</td> |
| 47 | </tr> |
47 | </tr> |
| 48 | <tr class="field"><th class="field-name">Updates:</th><td class="field-body">44</td> |
48 | <tr class="field"><th class="field-name">Updates:</th><td class="field-body">44</td> |
| 49 | </tr> |
49 | </tr> |
| 50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body"></td> |
50 | <tr class="field"><th class="field-name">Post-History:</th><td class="field-body">December 2009</td> |
| 51 | </tr> |
51 | </tr> |
| 52 | </tbody> |
52 | </tbody> |
| 53 | </table> |
53 | </table> |
| 54 | <hr /> |
54 | <hr /> |
| 55 | <div class="contents topic" id="contents"> |
55 | <div class="contents topic" id="contents"> |
| … | |
… | |
| 80 | <h1><a class="toc-backref" href="#id3">Specification</a></h1> |
80 | <h1><a class="toc-backref" href="#id3">Specification</a></h1> |
| 81 | <p>When searching for a Manifest2 file, if the basename form does not |
81 | <p>When searching for a Manifest2 file, if the basename form does not |
| 82 | exist, the package manager should search in the same location using |
82 | exist, the package manager should search in the same location using |
| 83 | common compressed suffixes, and use the compressed file in place of the |
83 | common compressed suffixes, and use the compressed file in place of the |
| 84 | Manifest2.</p> |
84 | Manifest2.</p> |
| 85 | <p>gzip, bzip2, lzma should all be supported if available on the given |
85 | <p>gzip, bzip2, lzma, xz should all be supported if available on the given |
| 86 | platform. In the case that multiple versions exist, the package manager |
86 | platform. In the case that multiple versions exist, the package manager |
| 87 | should simply pick one - they should be identical, differing only in |
87 | should simply pick one - they should be identical, differing only in |
| 88 | compression.</p> |
88 | compression.</p> |
| 89 | <p>The Manifest generation process is required to ensure that inconsistent |
89 | <p>The Manifest generation process is required to ensure that inconsistent |
| 90 | compressed versions do not exist.</p> |
90 | compressed versions do not exist.</p> |
| … | |
… | |
| 100 | compressed versions are guaranteed to exist on the servers.</p> |
100 | compressed versions are guaranteed to exist on the servers.</p> |
| 101 | <p>MetaManifests may come into existence as compressed from the start, as |
101 | <p>MetaManifests may come into existence as compressed from the start, as |
| 102 | do not have an backwards compatibility issues.</p> |
102 | do not have an backwards compatibility issues.</p> |
| 103 | <p>As a side note, this breaks all manual interaction with Manifests |
103 | <p>As a side note, this breaks all manual interaction with Manifests |
| 104 | such as grep, and so should only be applied to large Manifest2 files, |
104 | such as grep, and so should only be applied to large Manifest2 files, |
| 105 | such as the MetaManifest. 384KiB is suggested as a arbitary cut-off |
105 | such as the MetaManifest. 384KiB is suggested as a arbitrary cut-off |
| 106 | point to start generating compressed Manifest2 files.</p> |
106 | point to start generating compressed Manifest2 files.</p> |
| 107 | </div> |
107 | </div> |
| 108 | <div class="section" id="references"> |
108 | <div class="section" id="references"> |
| 109 | <h1><a class="toc-backref" href="#id5">References</a></h1> |
109 | <h1><a class="toc-backref" href="#id5">References</a></h1> |
| 110 | <table class="docutils footnote" frame="void" id="glep44" rules="none"> |
110 | <table class="docutils footnote" frame="void" id="glep44" rules="none"> |
| … | |
… | |
| 115 | </tbody> |
115 | </tbody> |
| 116 | </table> |
116 | </table> |
| 117 | </div> |
117 | </div> |
| 118 | <div class="section" id="copyright"> |
118 | <div class="section" id="copyright"> |
| 119 | <h1><a class="toc-backref" href="#id6">Copyright</a></h1> |
119 | <h1><a class="toc-backref" href="#id6">Copyright</a></h1> |
| 120 | <p>Copyright (c) 2007 by Robin Hugh Johnson. This material may be |
120 | <p>Copyright (c) 2008-2010 by Robin Hugh Johnson. This material may be |
| 121 | distributed only subject to the terms and conditions set forth in the |
121 | distributed only subject to the terms and conditions set forth in the |
| 122 | Open Publication License, v1.0.</p> |
122 | Open Publication License, v1.0.</p> |
| 123 | <p>vim: tw=72 ts=2 expandtab:</p> |
123 | <p>vim: tw=72 ts=2 expandtab:</p> |
| 124 | </div> |
124 | </div> |
| 125 | |
125 | |
| 126 | </div> |
126 | </div> |
| 127 | <div class="footer"> |
127 | <div class="footer"> |
| 128 | <hr class="footer" /> |
128 | <hr class="footer" /> |
| 129 | <a class="reference external" href="glep-0061.txt">View document source</a>. |
129 | <a class="reference external" href="glep-0061.txt">View document source</a>. |
| 130 | Generated on: 2008-10-28 07:47 UTC. |
130 | Generated on: 2010-01-13 03:27 UTC. |
| 131 | Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
131 | Generated by <a class="reference external" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference external" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source. |
| 132 | |
132 | |
| 133 | </div> |
133 | </div> |
| 134 | </body> |
134 | </body> |
| 135 | </html> |
135 | </html> |