| 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 15 -- Gentoo Script Repository</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-0015.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">15</td>
|
| 28 |
</tr>
|
| 29 |
<tr class="field"><th class="field-name">Title:</th><td class="field-body">Gentoo Script Repository</td>
|
| 30 |
</tr>
|
| 31 |
<tr class="field"><th class="field-name">Version:</th><td class="field-body">1.4</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-0015.txt?cvsroot=gentoo">2004/10/25 16:59:16</a></td>
|
| 34 |
</tr>
|
| 35 |
<tr class="field"><th class="field-name">Author:</th><td class="field-body">James Harlow <hythloday at gentoo.org>,</td>
|
| 36 |
</tr>
|
| 37 |
<tr class="field"><th class="field-name">Status:</th><td class="field-body">Approved</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">30 Sep 2003</td>
|
| 44 |
</tr>
|
| 45 |
<tr class="field"><th class="field-name">Post-History:</th><td class="field-body">30-Sep-2003, 25-Oct-2004</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="#abstract" id="id2" name="id2">Abstract</a></li>
|
| 54 |
<li><a class="reference" href="#status-update" id="id3" name="id3">Status Update</a></li>
|
| 55 |
<li><a class="reference" href="#motivation" id="id4" name="id4">Motivation</a></li>
|
| 56 |
<li><a class="reference" href="#specification" id="id5" name="id5">Specification</a></li>
|
| 57 |
<li><a class="reference" href="#rationale" id="id6" name="id6">Rationale</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="abstract" name="abstract">Abstract</a></h1>
|
| 64 |
<p>There is currently no central repository for scripts that are useful
|
| 65 |
in administering a Gentoo system. This GLEP proposes a way to deal
|
| 66 |
with this issue.</p>
|
| 67 |
</div>
|
| 68 |
<div class="section">
|
| 69 |
<h1><a class="toc-backref" href="#id3" id="status-update" name="status-update">Status Update</a></h1>
|
| 70 |
<p>Expect the first alpha release by the end of November or so.</p>
|
| 71 |
</div>
|
| 72 |
<div class="section">
|
| 73 |
<h1><a class="toc-backref" href="#id4" id="motivation" name="motivation">Motivation</a></h1>
|
| 74 |
<p>There are many small tasks on a Gentoo system that can be made much
|
| 75 |
easier and fault-proof by scripting. However, not everyone has the
|
| 76 |
experience to write such scripts; those that do have the choice of
|
| 77 |
tracking down scripts on developer's webpages or with a search engine,
|
| 78 |
or writing them themselves, often duplicating effort that has been
|
| 79 |
already done by other people.</p>
|
| 80 |
<p>A better solution would be to have a repository of these scripts on
|
| 81 |
www.gentoo.org.</p>
|
| 82 |
</div>
|
| 83 |
<div class="section">
|
| 84 |
<h1><a class="toc-backref" href="#id5" id="specification" name="specification">Specification</a></h1>
|
| 85 |
<p>A <a class="reference" href="mailto:scripts@gentoo.org">scripts@gentoo.org</a> email alias would be setup and forwarded to the team that
|
| 86 |
will accept and publish these scripts to the website. The team will need
|
| 87 |
access to a portion of the website, but just enough to add the scripts, and
|
| 88 |
update links from the main "scripts" page. I would propose it be a
|
| 89 |
subproject of the tools or base top level project. The scripts team would
|
| 90 |
need commit access to gentoo/xml/htdocs/proj/en/[base|tools]/scripts/.It
|
| 91 |
shouldn't increase the load on gentoo.org significantly.</p>
|
| 92 |
<p>The scripts should be divided by type of task, for example sysadmin,
|
| 93 |
gentooadmin, misc, and internally well-commented. If there are enough then
|
| 94 |
it might be appropriate to have a search interface.</p>
|
| 95 |
</div>
|
| 96 |
<div class="section">
|
| 97 |
<h1><a class="toc-backref" href="#id6" id="rationale" name="rationale">Rationale</a></h1>
|
| 98 |
<p>A repository on gentoo.org would address the problem of not having a
|
| 99 |
central point where all the scripts reside; and as gentoo.org is
|
| 100 |
trusted by most gentoo users, it would also solve the problem of
|
| 101 |
running scripts without knowing their exact effect. Further trust
|
| 102 |
could be generated by having developers sign their scripts and
|
| 103 |
uploading the signatures in parallel.</p>
|
| 104 |
<p>Periodically, a snapshot could be taken of the repository, the scripts
|
| 105 |
QA'd, and a package made and distributed.</p>
|
| 106 |
<p>Having a well-publicised script repository would also ease major
|
| 107 |
changes to the distribution, and could be a first line of defence to
|
| 108 |
provide workarounds for security problems in packages.</p>
|
| 109 |
</div>
|
| 110 |
<div class="section">
|
| 111 |
<h1><a class="toc-backref" href="#id7" id="backwards-compatibility" name="backwards-compatibility">Backwards Compatibility</a></h1>
|
| 112 |
<p>Not a problem for this GLEP.</p>
|
| 113 |
</div>
|
| 114 |
<div class="section">
|
| 115 |
<h1><a class="toc-backref" href="#id8" id="copyright" name="copyright">Copyright</a></h1>
|
| 116 |
<p>This document has been placed in the public domain.</p>
|
| 117 |
</div>
|
| 118 |
|
| 119 |
</div>
|
| 120 |
<div class="footer">
|
| 121 |
<hr class="footer" />
|
| 122 |
<a class="reference" href="glep-0015.txt">View document source</a>.
|
| 123 |
Generated on: 2007-10-13 13:39 UTC.
|
| 124 |
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.
|
| 125 |
|
| 126 |
</div>
|
| 127 |
</body>
|
| 128 |
</html>
|
| 129 |
|