Mercurial > pkg
view org/pkg.org @ 10:bd465da5cd0f
remove USELESS code.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Wed, 09 Jan 2013 04:58:05 +0000 |
parents | a75581c89dde |
children | e056798af879 |
line wrap: on
line source
1 The point of this system to to3 1. Determine the provenence of every file on my system.4 2. Always have an "undo" button.6 These criteria have evolved from my frustrations7 with my previous LFS system.10 User expreience:12 Suppose I want to install emacs.14 here's a sample terminal session16 $ pkg emacs "a text editor"17 > creating user emacs.18 > cd /pkg/emacs20 $ wget http://emacs.com/emacs.tar.bz221 > downloaded emacs.tar.bz223 $ unp emacs.tar.bz2; cd emacs; configure;24 make install;25 > install stuff..27 $ hg st28 > a bunch of files are added30 1. Say I don't want emacs after all.31 $ hg purge; hg revert --all33 2. Complete emacs instilation34 > hg addr; hg commit -m "emacs."36 (this commits as the emacs user)38 3. can examine provenance of information39 $ pkg-report emacs40 > package emacs owns the following files:41 > emacs42 > man/emacs43 > ....45 4. see all the commits that the "emacs" user made.46 $ pkg-history emacs47 > <filtered mercurial log>49 5. remove a package in its entirety50 $ pkg-remove emacs51 > removed52 > <list of files>