Re: [PATCH] Remove the useless scripts directory and script under it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sorry, the title should be [test-API PATCH]

On 2012年04月17日 22:19, Osier Yang wrote:
The script is useful only if all the scripts have good document
comments. Unfortunately, it's not true, and it's burden for
developers to write those documents in specific format somehow,
on the other hand, because we introduced required_opts, optional_opts
for each cases to generate the usage strings, and new option "-t"
to print template for cases, it's no need to write documents
in specific format for scripts now.
---
  scripts/gen_case_doc.sh |   21 ---------------------
  1 files changed, 0 insertions(+), 21 deletions(-)
  delete mode 100644 scripts/gen_case_doc.sh

diff --git a/scripts/gen_case_doc.sh b/scripts/gen_case_doc.sh
deleted file mode 100644
index e814532..0000000
--- a/scripts/gen_case_doc.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#! /bin/sh
-# Create documentation of cases in Python
-
-FILES=`find $PWD/repos/Python -type f -name "*.py"`
-
-for i in ${FILES}; do
-    if [ $(basename $i) != '__init__.py' ]; then
-        DIRNAME=$(dirname $i)
-        DIRNAME=$(echo $DIRNAME | sed -e 's:repos:doc:g')
-    fi
-
-    if ! [ -e $DIRNAME ]; then
-        mkdir -p $DIRNAME
-    fi
-
-    cd $DIRNAME
-    pydoc -w $i
-    cd -
-done
-
-exit $?

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]