comparison org/pkg.org @ 1:d6bef198ae71

add work by Matthias S. Benkmann which is the inspiration for this project.
author Robert McIntyre <rlm@mit.edu>
date Tue, 08 Jan 2013 11:45:01 +0000
parents 0b7a589f6e9a
children a75581c89dde
comparison
equal deleted inserted replaced
0:0b7a589f6e9a 1:d6bef198ae71
1 The point of this system to to
2
3 1. Determine the provenence of every file on my system.
4 2. Always have an "undo" button.
5
6 These criteria have evolved from my frustrations
7 with my previous LFS system.
8
9
10 User expreience:
11
12 Suppose I want to install emacs.
13
14 here's a sample terminal session
15
16 $ pkg emacs "a text editor"
17 > creating user emacs.
18 > cd /pkg/emacs
19
20 $ wget http://emacs.com/emacs.tar.bz2
21 > downloaded emacs.tar.bz2
22
23 $ unp emacs.tar.bz2; cd emacs; configure;
24 make install;
25 > install stuff..
26
27 $ hg st
28 > a bunch of files are added
29
30 1. Say I don't want emacs after all.
31 $ hg purge; hg revert --all
32
33 2. Complete emacs instilation
34 > hg addr; hg commit -m "emacs."
35
36 (this commits as the emacs user)
37
38 3. can examine provenance of information
39 $ pkg-examine emacs
40 > package emacs owns the following files:
41 > emacs
42 > man/emacs
43 > ....
44
45 4. see all the commits that the "emacs" user made.
46 $ pkg-history emacs
47 > <filtered mercurial log>
48
49 5. remove a package in its entirety
50 $ pkg-remove emacs
51 > removed
52 > <list of files>
53
54
55
56