Changeset 7842
- Timestamp:
- 11/05/05 07:02:24 (3 years ago)
- Files:
-
- 1 modified
-
docs/AES/S22draft.pod (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
docs/AES/S22draft.pod
r7832 r7842 9 9 Jos Boumans <kane@cpan.org> 10 10 Autrijus Tang <autrijus@autrijus.org> 11 Florian Ragwitz <rafl@debian.org> 11 12 12 13 =head1 VERSION … … 23 24 24 25 'package management means several things': 25 - metadata collection (1) perl6-thingy 26 - metadata collection (1) perl6-thingy or maybe debtags? 26 27 - package building (2) make dist 27 28 - intermediate format for transport … … 29 30 - decomposed to hooks and probes 30 31 - uploading package to central area (3) CPAN 31 - indexing (4) aptftp-archive 32 - understanding/querying index (5) apt-cache 32 - indexing (4) apt-ftparchive 33 - I don't think apt-ftparchive is enough here. I think we'll need to set up 34 or even wright something like dak, the Debian archive maintaince scripts 35 packages.debian.org/dak 36 - understanding/querying index (5) apt-cache, debtags 33 37 - fetching package 34 38 - building final package (6) dpkg-deb … … 112 116 113 117 =head3 Repositories 118 119 My ideas for the repository layout look like this. It's modeled after the 120 Debian archive structure. 121 122 / 123 |- dists/ This directory only contains so called Packages files. 124 | | They know some meta-information about the packages (description, ...) 125 | | and a path to the real package inside pool/. Using this Packages 126 | | files modules can be categorized very well. There are more then the 127 | | showed categories possible, of course. It's only an example. 128 | | 129 | |- authors/ The whole archive sorted by authors 130 | | |- stevan.gz Stevan's modules 131 | | |- autrijus.gz All of autrijus modules 132 | | |- autrijus/ 133 | | | |- Perl6-Pugs.gz Individual modules 134 | | | `- Acme-Hello.gz 135 | | `- rafl.gz rafl's modules. 136 | | 137 | |- languages/ The archive sorted by language 138 | | |- perl.gz All available perl modules 139 | | |- perl/ 140 | | | |- kane.gz kane's modules 141 | | | `- gbarr.gz gbarr's modules 142 | | |- js.gz All js modules 143 | | |- js/ 144 | | |- ruby.gz 145 | | `- ruby/ Ruby stuff 146 | | 147 | `- modules/ Categorized by modules 148 | |- DBI/ 149 | | |- timb.gz Tim's DBI 150 | | `- rafl.gz My DBI 151 | |- Net-SMTP/ 152 | `- Net-IMCP/ 153 | 154 `- pool/ The real modules are stored here. The Packages files point here. 155 |- a/ Modules startihg with 'a' 156 | |- Acme-Foo/ All Acme-Foo versions 157 | | |- Acme-Foo-0.1.deb Packages for specific Acme-Foo versions 158 | | `- Acme-Foo-0.2.deb 159 | |- Acme-Bar/ 160 | `- Acme-Hello/ 161 |- b/ 162 |- c/ 163 |- ./ 164 |- ./ 165 |- ./ 166 |- y/ 167 `- z/ 114 168 115 169 =head3 Probing … … 207 261 - without which we can't possibly roll this out 208 262 263 rafl thinks: 264 - dpkg seems to be not the optimal choice 265 - maybe only adopt the package and metadata format from the .deb format version 2 266 and write the tools to manipulate and install it ourself. Preferably in Perl 6. 267 - I fear that tools like dpkg/apt/.. aren't portable as we need it because they 268 were mainly written for use with a single Linux distribution. 269 - The Debian tools can be useful as a provisional solutions until we wrote 270 something own or as a reference implementation. 271 209 272 =head2 Policy File 210 273
