[Python-modules-commits] r21353 - in packages/alembic/trunk/debian (3 files)

matthiask-guest at users.alioth.debian.org matthiask-guest at users.alioth.debian.org
Sat Apr 21 22:23:51 UTC 2012


    Date: Saturday, April 21, 2012 @ 22:23:50
  Author: matthiask-guest
Revision: 21353

Added manpage via help2man

Added:
  packages/alembic/trunk/debian/alembic.1
  packages/alembic/trunk/debian/alembic.manpages
Modified:
  packages/alembic/trunk/debian/rules

Added: packages/alembic/trunk/debian/alembic.1
===================================================================
--- packages/alembic/trunk/debian/alembic.1	                        (rev 0)
+++ packages/alembic/trunk/debian/alembic.1	2012-04-21 22:23:50 UTC (rev 21353)
@@ -0,0 +1,54 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.40.8.
+.TH ALEMBIC "1" "April 2012" "alembic 0.3.1" "User Commands"
+.SH NAME
+alembic \- lightweight database migration tool for usage with the SQLAlchemy
+.SH DESCRIPTION
+usage: alembic [\-h] [\-c CONFIG] [\-n NAME]
+.IP
+{branches, current, downgrade, history, init, list_templates, revision, splice, stamp, upgrade}
+\&...
+.SS "positional arguments:"
+.IP
+{branches, current, downgrade, history, init, list_templates, revision, splice, stamp, upgrade}
+.TP
+branches
+Show current un\-spliced branch points
+.TP
+current
+Display the current revision for each database.
+.TP
+downgrade
+Revert to a previous version.
+.TP
+history
+List changeset scripts in chronological order.
+.TP
+init
+Initialize a new scripts directory.
+.TP
+list_templates
+List available templates
+.TP
+revision
+Create a new revision file.
+.TP
+splice
+\&'splice' two branches, creating a new revision file.
+this command isn't implemented right now.
+.TP
+stamp
+\&'stamp' the revision table with the given revision;
+don't run any migrations.
+.TP
+upgrade
+Upgrade to a later version.
+.SS "optional arguments:"
+.TP
+\fB\-h\fR, \fB\-\-help\fR
+show this help message and exit
+.TP
+\fB\-c\fR CONFIG, \fB\-\-config\fR CONFIG
+Alternate config file
+.TP
+\fB\-n\fR NAME, \fB\-\-name\fR NAME
+Name of section in .ini file to use for Alembic config

Added: packages/alembic/trunk/debian/alembic.manpages
===================================================================
--- packages/alembic/trunk/debian/alembic.manpages	                        (rev 0)
+++ packages/alembic/trunk/debian/alembic.manpages	2012-04-21 22:23:50 UTC (rev 21353)
@@ -0,0 +1 @@
+debian/alembic.1

Modified: packages/alembic/trunk/debian/rules
===================================================================
--- packages/alembic/trunk/debian/rules	2012-04-21 21:46:53 UTC (rev 21352)
+++ packages/alembic/trunk/debian/rules	2012-04-21 22:23:50 UTC (rev 21353)
@@ -5,3 +5,7 @@
 
 override_dh_auto_test:
 	nosetests
+
+help2man:
+	help2man --version-string=0.3.1 -n "lightweight database migration tool for usage with the SQLAlchemy" -N alembic > alembic.1
+	sed -i "s/,\(\w\)/, \1/g" alembic.1




More information about the Python-modules-commits mailing list