gfs2-utils: Remove askant
PATCH 1/1 gfs2-utils: Remove askant
Askant would be better off maintained in its own git tree. Python's distutils provides a sufficient build system for Python modules and extensions. Splitting out askant into its own tree will allow it to revert to using that simpler system, as well as avoiding dependencies on unnecessary packages. It also means one less package to maintain in gfs2-utils.git.
A new public git tree for askant will be set up shortly, including the complete commit history which was discarded when askant was added to gfs2-utils.
--- configure.ac | 1 - contrib/Makefile.am | 1 - contrib/askant/INSTALL | 42 --- contrib/askant/Makefile.am | 57 ---- contrib/askant/PLUGINAPI | 65 ----- contrib/askant/README | 74 ----- contrib/askant/askant/about.py | 5 - contrib/askant/askant/askant.py | 24 -- contrib/askant/askant/blktrace.py | 93 ------- contrib/askant/askant/commands.py | 333 ----------------------- contrib/askant/askant/sysfs.py | 86 ------ contrib/askant/fsplugins/gfs2/gfs2.c | 404 ---------------------------- contrib/askant/fsplugins/gfs2/gfs2.h | 3 - contrib/askant/fsplugins/gfs2/gfs2module.c | 104 ------- contrib/askant/scripts/askant | 6 - contrib/askant/setup.py | 16 -- doc/COPYRIGHT | 3 - 17 files changed, 0 insertions(+), 1317 deletions(-) delete mode 100644 contrib/askant/INSTALL delete mode 100644 contrib/askant/Makefile.am delete mode 100644 contrib/askant/PLUGINAPI delete mode 100644 contrib/askant/README delete mode 100644 contrib/askant/askant/__init__.py delete mode 100644 contrib/askant/askant/about.py delete mode 100644 contrib/askant/askant/askant.py delete mode 100644 contrib/askant/askant/blktrace.py delete mode 100644 contrib/askant/askant/commands.py delete mode 100644 contrib/askant/askant/fs/__init__.py delete mode 100644 contrib/askant/askant/sysfs.py delete mode 100644 contrib/askant/fsplugins/__init__.py delete mode 100644 contrib/askant/fsplugins/gfs2/gfs2.c delete mode 100644 contrib/askant/fsplugins/gfs2/gfs2.h delete mode 100644 contrib/askant/fsplugins/gfs2/gfs2module.c delete mode 100644 contrib/askant/scripts/askant delete mode 100644 contrib/askant/setup.py
configure.ac +0 -1
@@ -286,7 +286,6 @@ AC_CONFIG_FILES([Makefile gfs2/tool/Makefile gfs2/man/Makefile contrib/Makefile - contrib/askant/Makefile doc/Makefile ])
contrib/Makefile.am +0 -1
@@ -1,3 +1,2 @@ MAINTAINERCLEANFILES = Makefile.in -SUBDIRS = askant
contrib/askant/INSTALL deleted +0 -42
42 lines not on this page · raw message
contrib/askant/Makefile.am deleted +0 -57
57 lines not on this page · raw message
contrib/askant/PLUGINAPI deleted +0 -65
65 lines not on this page · raw message
contrib/askant/README deleted +0 -74
74 lines not on this page · raw message
contrib/askant/askant/__init__.py deleted +0 -0
contrib/askant/askant/about.py deleted +0 -5
@@ -1,5 +0,0 @@ -""" -Version information for askant. -""" - -version = "0.0.1"
contrib/askant/askant/askant.py deleted +0 -24
@@ -1,24 +0,0 @@ -""" -The main entry point for askant. -""" - -import sys -import commands - -def main(): - - """Run askant""" - - cmds = commands.Commands() - cmds.register_command(commands.DumpFSCommand()) - cmds.register_command(commands.UnlinksCommand()) - cmds.register_command(commands.CreatesCommand()) - - try: - cmds.process_argv(sys.argv) - except commands.NoFSPluginException, p: - print >>sys.stderr, "Plugin not found: %s" %p - - -if __name__ == '__main__': - main()
contrib/askant/askant/blktrace.py deleted +0 -93
93 lines not on this page · raw message
contrib/askant/askant/commands.py deleted +0 -333
333 lines not on this page · raw message
contrib/askant/askant/fs/__init__.py deleted +0 -0
contrib/askant/askant/sysfs.py deleted +0 -86
86 lines not on this page · raw message
contrib/askant/fsplugins/__init__.py deleted +0 -0
contrib/askant/fsplugins/gfs2/gfs2.c deleted +0 -404
404 lines not on this page · raw message
contrib/askant/fsplugins/gfs2/gfs2.h deleted +0 -3
@@ -1,3 +0,0 @@ -uint32_t gfs2_block_size (char *dev); -int gfs2_parse (char *dev,void (*func)(long int b,char *t,long int p,char *f)); -void gfs2_stop (void );
contrib/askant/fsplugins/gfs2/gfs2module.c deleted +0 -104
104 lines not on this page · raw message
contrib/askant/scripts/askant deleted +0 -6
@@ -1,6 +0,0 @@ -#! /usr/bin/env python - -from askant import askant - -if __name__ == '__main__': - askant.main()
contrib/askant/setup.py deleted +0 -16
@@ -1,16 +0,0 @@ -#!/usr/bin/env python - -from distutils.core import setup, Extension -from askant import about - -setup(name="askant", - version=about.version, - description="File system performance analysis tool", - author="Andrew Price", - author_email="andy at andrewprice.me.uk", - url="http://andrewprice.me.uk/projects/askant", - packages = ['askant','askant.fs'], - ext_modules = [Extension("askant.fs.gfs2", - sources = ["fsplugins/gfs2/gfs2module.c","fsplugins/gfs2/gfs2.c"], - libraries = ["gfs2"])], - scripts = ['scripts/askant'])
doc/COPYRIGHT +0 -3
@@ -5,9 +5,6 @@ Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved. Exceptions: -contrib/askant: - Copyright (C) 2008-2009 Andrew Price <[email protected]> - gfs2/man/gfs2_mount.8: Portions copyright (C) 2001-2003 The OpenGFS2 Project Portions copyright (C) 2004 <[email protected]>
Signature · 1 line
1.6.3.3
PATCH 1/1 gfs2-utils: Remove askant
Hi Andrew,
Quoted 10 lines · Andrew Price
Askant would be better off maintained in its own git tree. Python's distutils provides a sufficient build system for Python modules and extensions. Splitting out askant into its own tree will allow it to revert to using that simpler system, as well as avoiding dependencies on unnecessary packages. It also means one less package to maintain in gfs2-utils.git.
A new public git tree for askant will be set up shortly, including the complete commit history which was discarded when askant was added to gfs2-utils.
if askant is the only contrib/ package in gfs2-utils.git, then please drop the whole contrib stuff.
What are we going to do about STABLE3?
The major reason for us to incorporate askant was because of libgfs2 not being a shared lib and it probably won't be for a long time...
Fabio
PATCH 1/1 gfs2-utils: Remove askant
Hi Fabio,
Quoted 2 lines · Fabio M. Di Nitto
if askant is the only contrib/ package in gfs2-utils.git, then please drop the whole contrib stuff.
Will do.
Quoted 1 line
What are we going to do about STABLE3?
We should drop it from there, too. Releasing it from two different places would be a bad idea.
Quoted 2 lines
The major reason for us to incorporate askant was because of libgfs2 not being a shared lib and it probably won't be for a long time...
All the more reason to push on with the libgfs2 improvements :-) More seriously, the dependency on libgfs2 isn't a huge problem so I could work around it for now, but in the long term I'd still like to get libgfs2 to the point where I can depend on it so you can expect to see more patches from me on that front.
I'll post an updated patch so that you can review the build system changes...
--
Andrew Price
PATCH 1/1 gfs2-utils: Remove askant, contrib
Askant would be better off maintained in its own git tree. Python's distutils provides a sufficient build system for Python modules and extensions. Splitting out askant into its own tree will allow it to revert to using that simpler system, as well as avoiding dependencies on unnecessary packages. It also means one less package to maintain in gfs2-utils.git.
Also remove contrib/ as nothing lives there any more.
--- Makefile.am | 4 - configure.ac | 8 - contrib/Makefile.am | 3 - contrib/askant/INSTALL | 42 --- contrib/askant/Makefile.am | 57 ---- contrib/askant/PLUGINAPI | 65 ----- contrib/askant/README | 74 ----- contrib/askant/askant/about.py | 5 - contrib/askant/askant/askant.py | 24 -- contrib/askant/askant/blktrace.py | 93 ------- contrib/askant/askant/commands.py | 333 ----------------------- contrib/askant/askant/sysfs.py | 86 ------ contrib/askant/fsplugins/gfs2/gfs2.c | 404 ---------------------------- contrib/askant/fsplugins/gfs2/gfs2.h | 3 - contrib/askant/fsplugins/gfs2/gfs2module.c | 104 ------- contrib/askant/scripts/askant | 6 - contrib/askant/setup.py | 16 -- doc/COPYRIGHT | 3 - 18 files changed, 0 insertions(+), 1330 deletions(-) delete mode 100644 contrib/Makefile.am delete mode 100644 contrib/askant/INSTALL delete mode 100644 contrib/askant/Makefile.am delete mode 100644 contrib/askant/PLUGINAPI delete mode 100644 contrib/askant/README delete mode 100644 contrib/askant/askant/__init__.py delete mode 100644 contrib/askant/askant/about.py delete mode 100644 contrib/askant/askant/askant.py delete mode 100644 contrib/askant/askant/blktrace.py delete mode 100644 contrib/askant/askant/commands.py delete mode 100644 contrib/askant/askant/fs/__init__.py delete mode 100644 contrib/askant/askant/sysfs.py delete mode 100644 contrib/askant/fsplugins/__init__.py delete mode 100644 contrib/askant/fsplugins/gfs2/gfs2.c delete mode 100644 contrib/askant/fsplugins/gfs2/gfs2.h delete mode 100644 contrib/askant/fsplugins/gfs2/gfs2module.c delete mode 100644 contrib/askant/scripts/askant delete mode 100644 contrib/askant/setup.py
Makefile.am +0 -4
@@ -14,10 +14,6 @@ ACLOCAL_AMFLAGS = -I m4 SUBDIRS = group gfs2 doc -if BUILD_CONTRIB -SUBDIRS += contrib -endif - install-exec-local: $(INSTALL) -d $(DESTDIR)/$(LOGDIR) $(INSTALL) -d $(DESTDIR)/$(CLUSTERVARRUN)
configure.ac +0 -8
@@ -104,10 +104,6 @@ AC_ARG_WITH([sysloglevel], [ SYSLOGLEVEL="$withval" ], [ SYSLOGLEVEL="LOG_INFO" ]) -AC_ARG_ENABLE([contrib], - [ --enable-contrib enable contrib build. ], - [ default="no" ]) - AC_ARG_WITH([kernel], [ --with-kernel=path path to kernel source. ], [ KERNEL_DIR="$withval" ],
@@ -208,8 +204,6 @@ AC_DEFINE_UNQUOTED([SYSLOGFACILITY], $(eval echo ${SYSLOGFACILITY}), AC_DEFINE_UNQUOTED([SYSLOGLEVEL], $(eval echo ${SYSLOGLEVEL}), [Default syslog level]) -AM_CONDITIONAL(BUILD_CONTRIB, test "x${enable_contrib}" = xyes) - ## *FLAGS handling ENV_CFLAGS="$CFLAGS"
@@ -285,8 +279,6 @@ AC_CONFIG_FILES([Makefile gfs2/quota/Makefile gfs2/tool/Makefile gfs2/man/Makefile - contrib/Makefile - contrib/askant/Makefile doc/Makefile ])
contrib/Makefile.am deleted +0 -3
@@ -1,3 +0,0 @@ -MAINTAINERCLEANFILES = Makefile.in - -SUBDIRS = askant
contrib/askant/INSTALL deleted +0 -42
42 lines not on this page · raw message
contrib/askant/Makefile.am deleted +0 -57
57 lines not on this page · raw message
contrib/askant/PLUGINAPI deleted +0 -65
65 lines not on this page · raw message
contrib/askant/README deleted +0 -74
74 lines not on this page · raw message
contrib/askant/askant/__init__.py deleted +0 -0
contrib/askant/askant/about.py deleted +0 -5
@@ -1,5 +0,0 @@ -""" -Version information for askant. -""" - -version = "0.0.1"
contrib/askant/askant/askant.py deleted +0 -24
@@ -1,24 +0,0 @@ -""" -The main entry point for askant. -""" - -import sys -import commands - -def main(): - - """Run askant""" - - cmds = commands.Commands() - cmds.register_command(commands.DumpFSCommand()) - cmds.register_command(commands.UnlinksCommand()) - cmds.register_command(commands.CreatesCommand()) - - try: - cmds.process_argv(sys.argv) - except commands.NoFSPluginException, p: - print >>sys.stderr, "Plugin not found: %s" %p - - -if __name__ == '__main__': - main()
contrib/askant/askant/blktrace.py deleted +0 -93
93 lines not on this page · raw message
contrib/askant/askant/commands.py deleted +0 -333
333 lines not on this page · raw message
contrib/askant/askant/fs/__init__.py deleted +0 -0
contrib/askant/askant/sysfs.py deleted +0 -86
86 lines not on this page · raw message
contrib/askant/fsplugins/__init__.py deleted +0 -0
contrib/askant/fsplugins/gfs2/gfs2.c deleted +0 -404
404 lines not on this page · raw message
contrib/askant/fsplugins/gfs2/gfs2.h deleted +0 -3
@@ -1,3 +0,0 @@ -uint32_t gfs2_block_size (char *dev); -int gfs2_parse (char *dev,void (*func)(long int b,char *t,long int p,char *f)); -void gfs2_stop (void );
contrib/askant/fsplugins/gfs2/gfs2module.c deleted +0 -104
104 lines not on this page · raw message
contrib/askant/scripts/askant deleted +0 -6
@@ -1,6 +0,0 @@ -#! /usr/bin/env python - -from askant import askant - -if __name__ == '__main__': - askant.main()
contrib/askant/setup.py deleted +0 -16
@@ -1,16 +0,0 @@ -#!/usr/bin/env python - -from distutils.core import setup, Extension -from askant import about - -setup(name="askant", - version=about.version, - description="File system performance analysis tool", - author="Andrew Price", - author_email="andy at andrewprice.me.uk", - url="http://andrewprice.me.uk/projects/askant", - packages = ['askant','askant.fs'], - ext_modules = [Extension("askant.fs.gfs2", - sources = ["fsplugins/gfs2/gfs2module.c","fsplugins/gfs2/gfs2.c"], - libraries = ["gfs2"])], - scripts = ['scripts/askant'])
doc/COPYRIGHT +0 -3
@@ -5,9 +5,6 @@ Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved. Exceptions: -contrib/askant: - Copyright (C) 2008-2009 Andrew Price <[email protected]> - gfs2/man/gfs2_mount.8: Portions copyright (C) 2001-2003 The OpenGFS2 Project Portions copyright (C) 2004 <[email protected]>
Signature · 1 line
1.6.3.3
PATCH 1/1 gfs2-utils: Remove askant
In reply to Andrew PriceQuoted 16 lines · Andrew Price
Hi Fabio,
Quoted 2 lines · Fabio M. Di Nitto
if askant is the only contrib/ package in gfs2-utils.git, then please drop the whole contrib stuff.
Will do.
Quoted 1 line
What are we going to do about STABLE3?
We should drop it from there, too. Releasing it from two different places would be a bad idea.
Quoted 2 lines
The major reason for us to incorporate askant was because of libgfs2 not being a shared lib and it probably won't be for a long time...
Quoted 8 lines
All the more reason to push on with the libgfs2 improvements :-) More seriously, the dependency on libgfs2 isn't a huge problem so I could work around it for now, but in the long term I'd still like to get libgfs2 to the point where I can depend on it so you can expect to see more patches from me on that front.
I'll post an updated patch so that you can review the build system changes...
Ok, don't worry. I know the build system inside out. I'll take care of killing it from master and S3.
I am glad to see you plan to push more work into libgfs2. it seriously needs it :)
Fabio