mock README,1.1.1.1,1.2 mock.py,1.1.1.1,1.2
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Mon May 16 06:27:05 UTC 2005
Author: skvidal
Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1750
Modified Files:
README mock.py
Log Message:
- update copyright info
- update README with some more content and TODOs
Index: README
===================================================================
RCS file: /cvs/fedora/mock/README,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- README 16 May 2005 02:44:00 -0000 1.1.1.1
+++ README 16 May 2005 06:27:02 -0000 1.2
@@ -1,7 +1,38 @@
Mock Readme
+Mock is a simple chroot/rpm building program. It doesn't do anything
+terribly fancy other than build a single srpm at a time in a chroot.
+
+You invoke it as:
+mock -r name-of-chroot /path/to/srpm
+
+options:
+ -r CHROOT chroot name/config file name default: chroot.cfg
+ --no-clean do not clean chroot before building
+ --arch=ARCH target build arch
+ --debug Output copious debugging information
+ --resultdir=RESULTDIR
+ path for resulting files to be put
+
+mock does:
+- builds the chroot
+- takes the srpm, rebuilds into another srpm
+ - it does this to make sure that the build deps in the spec file are
+ made in the right environment.
+- takes the build deps from the new srpm and installs them.
+- rebuilds the new srpm into binary packages
+- copies the binary packages into the result dir
+- logs nicely so that chroot creation and build logs are separate
+- outputs little unless it needs to.
+
+
TODO: make readme
TODO: make mock check the user's groups and error nicely if they are not in
the mock group
TODO: make other UID/GID's than 500 work
TODO: document more
TODO: man page?
+TODO: make default.cfg the default config file to look ast
+TODO: symlink fedora-development-i386-core.cfg to default.cfg
+TODO: if clean is not set then run 'yum update' on the tree instead
+TODO: changelog
+TODO: check on it working with yum 2.2.X on FC3/EL4, too.
Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -r1.1.1.1 -r1.2
--- mock.py 16 May 2005 02:44:00 -0000 1.1.1.1
+++ mock.py 16 May 2005 06:27:02 -0000 1.2
@@ -12,6 +12,8 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Written by Seth Vidal
+# Sections taken from Mach by Thomas Vander Stichele
import os
import os.path
More information about the fedora-extras-commits
mailing list