Changes between Version 35 and Version 36 of Packaging


Ignore:
Timestamp:
2012-03-27T05:02:49Z (12 years ago)
Author:
zooko
Comment:

see also wiki:OSPackages, wiki:Manual, and wiki:NewbieDeveloperSetup

Legend:

Unmodified
Added
Removed
Modified
  • Packaging

    v35 v36  
    11''Attention: this page is for Tahoe-LAFS developers. If you are not a Tahoe-LAFS developer, then the page you want is [http://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/quickstart.rst quickstart.rst].''
    22
    3 see also wiki:OSPackages
     3see also wiki:OSPackages, wiki:Manual, and wiki:NewbieDeveloperSetup
    44
    5 = Packaging =
     5= Build Types and Goals =
     6
     7== Novice User ==
     8
     9In this build type, a user downloads the Tahoe-LAFS source and everything is as automatic as possible. Internet access is assumed, and there is nothing wrong with using it.
     10
     11== Developer ==
     12
     13In this build type, someone would like to make changes to Tahoe-LAFS, and gets source from git. TODO
     14
     15== Packaging System ==
     16
     17In this build type, the build user is a packager of rpms/debs or pkgsrc.  Rather than convenience, the concern is a stable and repeatable build that produces exactly the same output bits regardless of which prereqs were already installed.  Using the network is not acceptable.
     18
     19Within a packaging system, there are typically build phases, loosely derived from how autoconf works.
     20
     21 * fetch: obtain the "distfiles" (tarballs published by e.g. the tahoe project)
     22 * patch: apply OS-local/pkgsrc-local changes (goal is to drive these to zero)
     23 * configure: search for dependencies and configure paths
     24 * build: compile sources to object form, run nroff to make man pages, etc.
     25 * install: place bits either in the running system or in a destdir, suitable for running
     26 * package: create a binary package from the installed bits
    627
    728== quickstart.rst ==