[libvirt] [test-API 2/3 v2] Add the better copyright statements in scripts

Osier Yang jyang at redhat.com
Tue Apr 17 11:23:32 UTC 2012


The new copyright statements is:

 Copyright (C) 2010-2012 Red Hat, Inc.

 libvirt-test-API is free software; you can redistribute it and/or
 modify it under the terms of the GNU General Public License as
 published by the Free Software Foundation, either version 2 of the
 License, or (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranties of
 TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
 PURPOSE.

 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.

% for i in $(git diff --stat HEAD~1 | grep '.py' | awk -F'|' '{print $1}'); do \
    sed -i -e '\|#!/usr/bin/env python|r /tmp/copy' $i; \
  done
---
 activityfilter.py          |   16 ++++++++++++++++
 casecfgcheck.py            |   16 ++++++++++++++++
 dist/redhat/env_inspect.py |   16 ++++++++++++++++
 env_clear.py               |   16 ++++++++++++++++
 exception.py               |   16 ++++++++++++++++
 generator.py               |   16 ++++++++++++++++
 libvirt-test-api.py        |   16 ++++++++++++++++
 logxmlparser.py            |   16 ++++++++++++++++
 mapper.py                  |   16 ++++++++++++++++
 parser.py                  |   16 ++++++++++++++++
 process.py                 |   16 ++++++++++++++++
 proxy.py                   |   16 ++++++++++++++++
 utils/XMLParser.py         |   16 ++++++++++++++++
 utils/check.py             |   16 ++++++++++++++++
 utils/env_parser.py        |   16 ++++++++++++++++
 utils/format.py            |   16 ++++++++++++++++
 utils/log.py               |   16 ++++++++++++++++
 utils/utils.py             |   16 ++++++++++++++++
 utils/xmlbuilder.py        |   16 ++++++++++++++++
 utils/xmlgenerator.py      |   16 ++++++++++++++++
 20 files changed, 320 insertions(+), 0 deletions(-)

diff --git a/activityfilter.py b/activityfilter.py
index e6ad1bf..46e43d9 100644
--- a/activityfilter.py
+++ b/activityfilter.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/casecfgcheck.py b/casecfgcheck.py
index 344e2a7..c0de5af 100644
--- a/casecfgcheck.py
+++ b/casecfgcheck.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/dist/redhat/env_inspect.py b/dist/redhat/env_inspect.py
index 1277f28..1898826 100644
--- a/dist/redhat/env_inspect.py
+++ b/dist/redhat/env_inspect.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/env_clear.py b/env_clear.py
index 861bb17..239211b 100644
--- a/env_clear.py
+++ b/env_clear.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/exception.py b/exception.py
index 1b18470..0b0a726 100644
--- a/exception.py
+++ b/exception.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/generator.py b/generator.py
index 623ba65..a87d5f1 100644
--- a/generator.py
+++ b/generator.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/libvirt-test-api.py b/libvirt-test-api.py
index 47787c1..77181fa 100644
--- a/libvirt-test-api.py
+++ b/libvirt-test-api.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/logxmlparser.py b/logxmlparser.py
index 76e33a8..8961b02 100644
--- a/logxmlparser.py
+++ b/logxmlparser.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/mapper.py b/mapper.py
index b94bd93..8d18124 100644
--- a/mapper.py
+++ b/mapper.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/parser.py b/parser.py
index 05f6a2c..0e181e1 100644
--- a/parser.py
+++ b/parser.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/process.py b/process.py
index 767e534..2267778 100644
--- a/process.py
+++ b/process.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/proxy.py b/proxy.py
index 52a0afc..1de25d8 100644
--- a/proxy.py
+++ b/proxy.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/XMLParser.py b/utils/XMLParser.py
index f24134a..7cf4253 100644
--- a/utils/XMLParser.py
+++ b/utils/XMLParser.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/check.py b/utils/check.py
index 9577c76..2695869 100644
--- a/utils/check.py
+++ b/utils/check.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/env_parser.py b/utils/env_parser.py
index 049115e..06bedb8 100644
--- a/utils/env_parser.py
+++ b/utils/env_parser.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/format.py b/utils/format.py
index f0e2e5f..706e4aa 100644
--- a/utils/format.py
+++ b/utils/format.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/log.py b/utils/log.py
index 618900d..662e71b 100644
--- a/utils/log.py
+++ b/utils/log.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/utils.py b/utils/utils.py
index 66458ad..ec479c2 100644
--- a/utils/utils.py
+++ b/utils/utils.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/xmlbuilder.py b/utils/xmlbuilder.py
index 92bfdc3..539f78b 100644
--- a/utils/xmlbuilder.py
+++ b/utils/xmlbuilder.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
diff --git a/utils/xmlgenerator.py b/utils/xmlgenerator.py
index 5287bea..888e7fe 100644
--- a/utils/xmlgenerator.py
+++ b/utils/xmlgenerator.py
@@ -13,6 +13,22 @@
 # PURPOSE.
 #
 # You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+#
+# Copyright (C) 2010-2012 Red Hat, Inc.
+#
+# libvirt-test-API is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 2 of the
+# License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranties of
+# TITLE, NON-INFRINGEMENT, MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE.
+#
+# 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., 675 Mass Ave, Cambridge, MA 02139, USA.
 #
-- 
1.7.7.3




More information about the libvir-list mailing list