summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMadhusudan.C.S2011-02-11 12:04:29 +0530
committerMadhusudan.C.S2011-02-11 12:11:31 +0530
commit2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0 (patch)
treea12febd5d36745f31ee65d0accdf85b5aeaa5df2 /scripts
parentac67e9b63762956122c1cc6b49058a436bec238b (diff)
downloadpytask-2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0.tar.gz
pytask-2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0.tar.bz2
pytask-2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0.zip
Add copyright notice to all the files.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dumpdb.sh22
-rwxr-xr-xscripts/generate_tasks_from_csv.py20
-rw-r--r--scripts/mails.py20
-rwxr-xr-xscripts/profile_schemamigration.sh22
-rwxr-xr-xscripts/taskapp_schemamigration.sh22
-rw-r--r--scripts/utils.py20
6 files changed, 125 insertions, 1 deletions
diff --git a/scripts/dumpdb.sh b/scripts/dumpdb.sh
index 5c6df61..e6adfac 100755
--- a/scripts/dumpdb.sh
+++ b/scripts/dumpdb.sh
@@ -1,4 +1,26 @@
#! /bin/bash
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyTask is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# authors__ = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# ]
+
pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
diff --git a/scripts/generate_tasks_from_csv.py b/scripts/generate_tasks_from_csv.py
index 8e64d4f..df14629 100755
--- a/scripts/generate_tasks_from_csv.py
+++ b/scripts/generate_tasks_from_csv.py
@@ -1,4 +1,22 @@
-#! /usr/bin/python
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyTask is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with PyTask. If not, see <http://www.gnu.org/licenses/>.
+
"""Module to fill database with the tasks supplied in CSV.
This module takes the directory containing the csv files as
diff --git a/scripts/mails.py b/scripts/mails.py
index e657bc2..c2044f0 100644
--- a/scripts/mails.py
+++ b/scripts/mails.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyTask is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Helper script to send emails to the users.
"""
diff --git a/scripts/profile_schemamigration.sh b/scripts/profile_schemamigration.sh
index 18b3629..3416aca 100755
--- a/scripts/profile_schemamigration.sh
+++ b/scripts/profile_schemamigration.sh
@@ -1,4 +1,26 @@
#! /bin/bash
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyTask is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# authors__ = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# ]
+
pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
diff --git a/scripts/taskapp_schemamigration.sh b/scripts/taskapp_schemamigration.sh
index ec321ea..9eaebf7 100755
--- a/scripts/taskapp_schemamigration.sh
+++ b/scripts/taskapp_schemamigration.sh
@@ -1,4 +1,26 @@
#! /bin/bash
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyTask is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with PyTask. If not, see <http://www.gnu.org/licenses/>.
+#
+# authors__ = [
+# '"Madhusudan.C.S" <madhusudancs@fossee.in>',
+# ]
+
pg_dump pytask -U pytask -W > ~/pytaskdbdumps/dbdump`date +%Y%m%d%H%M%s`.dump
./bin/django dumpscript > ~/pytaskdbdumps/dbdumpscript`date +%Y%m%d%H%M%s`.dump
diff --git a/scripts/utils.py b/scripts/utils.py
index eb5a714..2b64a35 100644
--- a/scripts/utils.py
+++ b/scripts/utils.py
@@ -1,3 +1,23 @@
+#!/usr/bin/env python
+#
+# Copyright 2011 Authors of PyTask.
+#
+# This file is part of PyTask.
+#
+# PyTask is free software: you can redistribute it and/or modify it
+# under the terms of the GNU Affero General Public License as published
+# by the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# PyTask is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+# for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with PyTask. If not, see <http://www.gnu.org/licenses/>.
+
+
"""Helper script that contains many utilities.
"""