[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-misc] Fwd: announcing apt-src



das wird wohl heute nicht mehr im vortrag kommen, aber das ist ein
äusserst wichtiges und interessantest feature.

----- Forwarded message from Joey Hess <joeyh at debian.org> -----

Date: Tue, 18 Jun 2002 23:24:24 -0400
From: Joey Hess <joeyh at debian.org>
Subject: announcing apt-src
To: debian-devel at lists.debian.org
Message-ID: <20020619032423.GA22505 at kitenet.net>

apt-src is sort of like apt-get for source packages. Where apt-get
source can just unpack, and optionally compile a source package, apt-src
can:

- install a source package into a specified location
- upgrade installed source packages
- while upgrading, bring forward any local modifications you've made to
  a source tree, automatically (unless patch fails, then manually)
- while upgrading or installing a source package, build it, and
  maybe install all the debs produced, with one simple command
- query the installed source packages, in human readable ways, and also
  machine readable ways that may be useful for sources that depend
  on some other source tree being available in a well-defined location

The goals for this thing are:

0. Be very easy to learn for anyone who knows apt, warts and all. 90% done.
1. Be usable by a regular user, not just root. Done.
2. Make tracking that bloody pine package, and any other similar
   packages, easier. Done.
3. Make it trivial to make local modifications to a source tree, and
   keep them up-to-date accross upgrades. Done.
4. Rationalize and standardize debian's handling of source packages to the
   extent that we can get rid of all the nasty -src and -source binary
   packages eventually, and just use source packages.
5. Eventually support source dependencies of some kind.


Here are a couple of example invocations.

To install the source to pine to /usr/src (or substitute in a directory
you can write to), build it, and install the resulting debs:

  apt-src install --location=/usr/src -i pine

To track changes to said installed pine source package, and install debs
whenever a new version comes out:

  apt-get update
  apt-src install -i pine

To install a local copy of package foo, which you are going to
apply a local patch to:

  apt-src install foo
  cd foo-version
  patch <~/my-foo-patch
  apt-src build --installdebs foo
  
To upgrade your local copy of foo, bringing your local patch forward, and
generating and installing new debs:

  apt-src install -i foo


I am not uploading this to the archive yet, as it is only 2 days old.
Prerelease debs are available at:

deb http://kitenet.net/programs/code/debian /
http://kitenet.net/programs/debs.cgi#apt-src

Let me know what you think.

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to debian-devel-request at lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster at lists.debian.org

----- End forwarded message -----