Add a man page for modifyrepo
authorLuke Macken <lmacken@redhat.com>
Mon, 3 Dec 2007 21:35:22 +0000 (16:35 -0500)
committerLuke Macken <lmacken@redhat.com>
Mon, 3 Dec 2007 21:35:22 +0000 (16:35 -0500)
ChangeLog
createrepo.spec
docs/Makefile
docs/modifyrepo.1 [new file with mode: 0644]
modifyrepo.py

index c13a15f6993b50f7bd072acfcd3d2d329aaffe87..d0394a00e54e62399e12c420d7f02022ced64a35 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-03 04:33  lmacken
+       * docs/modifyrepo.8, createrepo.spec, docs/Makefile:
+       Add a man page for modifyrepo
+
 2007-06-07 09:17  pnasrat
 
        * Makefile, genpkgmetadata.py, readMetadata.py, docs/createrepo.8:
index a3c34bea840fb4d5bda3509bd44cc38310a5d6ae..3c5cc75955b8e96d3d8ff3d5b1b39449ce016e17 100644 (file)
@@ -34,8 +34,12 @@ rpm packages
 %{_bindir}/%{name}
 %{_bindir}/modifyrepo
 %{_mandir}/man8/createrepo.8*
+%{_mandir}/man1/modifyrepo.1*
 
 %changelog
+* Mon Dec  3 2007 Luke Macken <lmacken@redhat.com>
+- Add man page for modifyrepo
+
 * Thu Jun 07 2007 Paul Nasrat <pnasrat at redhat.com>
 - 0.4.10
 
index 0a41179ae9ec66c85a13268a8b300ab5f2584774..4b32071d220722d5665081db23485ac32c53efc8 100644 (file)
@@ -41,7 +41,9 @@ all:
 
 install: all installdirs
        mkdir -p $(DESTDIR)$(mandir)/man8
+       mkdir -p $(DESTDIR)$(mandir)/man1
        $(INSTALL_DATA) createrepo.8 $(DESTDIR)$(mandir)/man8/createrepo.8
+       $(INSTALL_DATA) modifyrepo.1 $(DESTDIR)$(mandir)/man1/modifyrepo.1
 
 
 uninstall:
@@ -71,6 +73,7 @@ distfiles:
        mkdir $(top_srcdir)/.disttmp/$$distdir/docs;\
        cp \
        $(srcdir)/createrepo.8 \
+       $(srcdir)/modifyrepo.1 \
        $(srcdir)/Makefile \
        $(top_srcdir)/.disttmp/$$distdir/docs
 
@@ -79,6 +82,7 @@ dailyfiles:
        mkdir $(top_srcdir)/.disttmp/$$distdir/docs;\
        cp \
        $(srcdir)/createrepo.8 \
+       $(srcdir)/modifyrepo.1 \
        $(srcdir)/Makefile \
        $(top_srcdir)/.disttmp/$$distdir/docs
 
diff --git a/docs/modifyrepo.1 b/docs/modifyrepo.1
new file mode 100644 (file)
index 0000000..6d16b15
--- /dev/null
@@ -0,0 +1,40 @@
+.TH "modifyrepo" "1" "2007 Dec 3" "Luke Macken" ""
+
+.SH "NAME"
+modifyrepo \- Modify a repomd (xml-rpm-metadata) repository
+
+.SH "SYNOPSIS"
+\fBmodifyrepo\fP <input metadata> <output repodata>
+.PP
+
+.SH "DESCRIPTION"
+\fBmodifyrepo\fP is a program that allows you to insert arbitrary metadata into a repomd (xml-based rpm metadata) repository.
+
+.SH "EXAMPLES"
+.PP
+$ \fBmodifyrepo\fP metadata.xml /repository/repodata
+.br
+Wrote: /repository/repodata/metadata.xml.gz
+           type = metadata
+       location = repodata/metadata.xml.gz
+       checksum = 1d7ee93db2964e7f85e07ec19b3204591da1050c
+      timestamp = 1196716296.0
+  open-checksum = 824d936dc7dfff029379797b311af0cc66af4115
+.br
+Wrote: /repository/repodata/repomd.xml
+
+.PP 
+.SH "SEE ALSO"
+.I createrepo (8)
+
+.PP 
+.SH "AUTHORS"
+.nf 
+Luke Macken <lmacken@redhat.com>
+.fi 
+
+.PP 
+.SH "BUGS"
+Any bugs which are found should be emailed to the mailing list:
+rpm-metadata@linux.duke.edu
+.fi
index 30abe1cdb9ea8cb8718617e99ff468e68b06ef20..29a7a6339528fe626b795411a85e2c74e2cdc7c7 100755 (executable)
@@ -1,6 +1,4 @@
 #!/usr/bin/env python
-# $Id$
-#
 # This tools is used to insert arbitrary metadata into an RPM repository.
 # Example:
 #           ./modifyrepo.py updateinfo.xml myrepo/repodata