| 1 |
<?xml version="1.0" encoding="utf-8" ?>
|
| 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">
|
| 4 |
|
| 5 |
<head>
|
| 6 |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
| 7 |
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
|
| 8 |
<title>GLEP 50 -- Supporting alternative package managers</title>
|
| 9 |
<link rel="stylesheet" href="tools/glep.css" type="text/css" />
|
| 10 |
</head>
|
| 11 |
<body bgcolor="white">
|
| 12 |
<table class="navigation" cellpadding="0" cellspacing="0"
|
| 13 |
width="100%" border="0">
|
| 14 |
<tr><td class="navicon" width="150" height="35">
|
| 15 |
<a href="http://www.gentoo.org/" title="Gentoo Linux Home Page">
|
| 16 |
<img src="http://www.gentoo.org/images/gentoo-new.gif" alt="[Gentoo]"
|
| 17 |
border="0" width="150" height="35" /></a></td>
|
| 18 |
<td class="textlinks" align="left">
|
| 19 |
[<b><a href="http://www.gentoo.org/">Gentoo Linux Home</a></b>]
|
| 20 |
[<b><a href="http://www.gentoo.org/proj/en/glep">GLEP Index</a></b>]
|
| 21 |
[<b><a href="http://www.gentoo.org/proj/en/glep/glep-0050.txt">GLEP Source</a></b>]
|
| 22 |
</td></tr></table>
|
| 23 |
<table class="rfc2822 docutils field-list" frame="void" rules="none">
|
| 24 |
<col class="field-name" />
|
| 25 |
<col class="field-body" />
|
| 26 |
<tbody valign="top">
|
| 27 |
<tr class="field"><th class="field-name">GLEP:</th><td class="field-body">50</td>
|
| 28 |
</tr>
|
| 29 |
<tr class="field"><th class="field-name">Title:</th><td class="field-body">Supporting alternative package managers</td>
|
| 30 |
</tr>
|
| 31 |
<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.3</td>
|
| 32 |
</tr>
|
| 33 |
<tr class="field"><th class="field-name">Last-Modified:</th><td class="field-body"><a class="reference" href="http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/proj/en/glep/glep-0050.txt?cvsroot=gentoo">2006/09/05 20:54:30</a></td>
|
| 34 |
</tr>
|
| 35 |
<tr class="field"><th class="field-name">Author:</th><td class="field-body">Grant Goodyear <g2boojum at gentoo.org></td>
|
| 36 |
</tr>
|
| 37 |
<tr class="field"><th class="field-name">Status:</th><td class="field-body">Rejected</td>
|
| 38 |
</tr>
|
| 39 |
<tr class="field"><th class="field-name">Type:</th><td class="field-body">Standards Track</td>
|
| 40 |
</tr>
|
| 41 |
<tr class="field"><th class="field-name">Content-Type:</th><td class="field-body"><a class="reference" href="glep-0002.html">text/x-rst</a></td>
|
| 42 |
</tr>
|
| 43 |
<tr class="field"><th class="field-name">Created:</th><td class="field-body">22-May-2006</td>
|
| 44 |
</tr>
|
| 45 |
<tr class="field"><th class="field-name">Post-History:</th><td class="field-body">15-Jun-2006, 6-Sep-2006</td>
|
| 46 |
</tr>
|
| 47 |
</tbody>
|
| 48 |
</table>
|
| 49 |
<hr />
|
| 50 |
<div class="contents topic">
|
| 51 |
<p class="topic-title first"><a id="contents" name="contents">Contents</a></p>
|
| 52 |
<ul class="simple">
|
| 53 |
<li><a class="reference" href="#status" id="id2" name="id2">Status</a></li>
|
| 54 |
<li><a class="reference" href="#abstract" id="id3" name="id3">Abstract</a></li>
|
| 55 |
<li><a class="reference" href="#specification" id="id4" name="id4">Specification</a></li>
|
| 56 |
<li><a class="reference" href="#rationale" id="id5" name="id5">Rationale</a></li>
|
| 57 |
<li><a class="reference" href="#notes" id="id6" name="id6">Notes</a></li>
|
| 58 |
<li><a class="reference" href="#backwards-compatibility" id="id7" name="id7">Backwards Compatibility</a></li>
|
| 59 |
<li><a class="reference" href="#copyright" id="id8" name="id8">Copyright</a></li>
|
| 60 |
</ul>
|
| 61 |
</div>
|
| 62 |
<div class="section">
|
| 63 |
<h1><a class="toc-backref" href="#id2" id="status" name="status">Status</a></h1>
|
| 64 |
<p>The council rejected this GLEP in favor of starting from a package manager
|
| 65 |
API and requiring Gentoo package managers in the tree to support that
|
| 66 |
API. (That API is still pending, however.)</p>
|
| 67 |
</div>
|
| 68 |
<div class="section">
|
| 69 |
<h1><a class="toc-backref" href="#id3" id="abstract" name="abstract">Abstract</a></h1>
|
| 70 |
<p>To support alternatives to the official package manager (portage, at the time
|
| 71 |
of this writing), some sane ground rules need to be set. Specifically, no
|
| 72 |
alternative ebuild-based package manager may be added to the tree unless it
|
| 73 |
successfully works with all ebuilds supported by the official package manager.
|
| 74 |
Moreover, no ebuilds may be added to the tree unless they are supported
|
| 75 |
(without change) by the official package manager.</p>
|
| 76 |
</div>
|
| 77 |
<div class="section">
|
| 78 |
<h1><a class="toc-backref" href="#id4" id="specification" name="specification">Specification</a></h1>
|
| 79 |
<ul class="simple">
|
| 80 |
<li>No alternative ebuild-based package manager may be added
|
| 81 |
to the tree unless it successfully works with all ebuilds supported by
|
| 82 |
the official package manager. If an alternative package manager is
|
| 83 |
runtime incompatible with the official package manager, then it
|
| 84 |
must be masked and provide appropriate warnings.</li>
|
| 85 |
<li>No ebuilds may be added to the tree unless they are supported
|
| 86 |
(without change) by the official package manager.</li>
|
| 87 |
</ul>
|
| 88 |
</div>
|
| 89 |
<div class="section">
|
| 90 |
<h1><a class="toc-backref" href="#id5" id="rationale" name="rationale">Rationale</a></h1>
|
| 91 |
<p>The first rule sets a reasonable bar for adding an alternative package
|
| 92 |
manager to the tree. Note that if an ebuild currently in the tree
|
| 93 |
doesn't work with the official package manager, it isn't expected to
|
| 94 |
work with an alternative package manager either. The second rule
|
| 95 |
ensures that an alternative package manager cannot become a de-facto
|
| 96 |
requirement by supporting packages that the official package manager
|
| 97 |
cannot handle.</p>
|
| 98 |
<p>In order to keep this proposal as simple and focused as possible, it has
|
| 99 |
nothing to say about the process by which an alternative package manager
|
| 100 |
might one day become the official package manager. It is assumed that
|
| 101 |
sanity will reign, and no package manager will become official without
|
| 102 |
being able to build installation media, providing a transition path from
|
| 103 |
or to the existing official package manager, etcetera.</p>
|
| 104 |
</div>
|
| 105 |
<div class="section">
|
| 106 |
<h1><a class="toc-backref" href="#id6" id="notes" name="notes">Notes</a></h1>
|
| 107 |
<ul class="simple">
|
| 108 |
<li>An early criticism of this GLEP was that it fails to address eclasses and
|
| 109 |
profiles. As far as eclasses are concerned, my view is that the above rules
|
| 110 |
suffice, since eclasses only matter in their use in ebuilds. If a package
|
| 111 |
manager can effectively process all ebuilds, then it must be handling the
|
| 112 |
eclasses successfully, too. Profiles, on the other hand, are not addressed
|
| 113 |
here even implicitly.</li>
|
| 114 |
<li>Assuming the ebuild specification is successfully finished, then the
|
| 115 |
first rule should really replace "all ebuilds supported by the official
|
| 116 |
package manager" with "all ebuilds that satisfy the ebuild spec".
|
| 117 |
Similarly, in rule two "by the official package manager" should
|
| 118 |
read "by the official ebuild spec".</li>
|
| 119 |
</ul>
|
| 120 |
</div>
|
| 121 |
<div class="section">
|
| 122 |
<h1><a class="toc-backref" href="#id7" id="backwards-compatibility" name="backwards-compatibility">Backwards Compatibility</a></h1>
|
| 123 |
<p>Pretty much the whole point, and it's explicit here.</p>
|
| 124 |
</div>
|
| 125 |
<div class="section">
|
| 126 |
<h1><a class="toc-backref" href="#id8" id="copyright" name="copyright">Copyright</a></h1>
|
| 127 |
<p>This document has been placed in the public domain.</p>
|
| 128 |
</div>
|
| 129 |
|
| 130 |
</div>
|
| 131 |
<div class="footer">
|
| 132 |
<hr class="footer" />
|
| 133 |
<a class="reference" href="glep-0050.txt">View document source</a>.
|
| 134 |
Generated on: 2007-10-13 13:39 UTC.
|
| 135 |
Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
|
| 136 |
|
| 137 |
</div>
|
| 138 |
</body>
|
| 139 |
</html>
|
| 140 |
|