From 2ae70bc48ab4bf70e0230fad6f378a962c4dc4d0 Mon Sep 17 00:00:00 2001 From: Madhusudan.C.S Date: Fri, 11 Feb 2011 12:04:29 +0530 Subject: Add copyright notice to all the files. --- scripts/dumpdb.sh | 22 ++++++++++++++++++++++ scripts/generate_tasks_from_csv.py | 20 +++++++++++++++++++- scripts/mails.py | 20 ++++++++++++++++++++ scripts/profile_schemamigration.sh | 22 ++++++++++++++++++++++ scripts/taskapp_schemamigration.sh | 22 ++++++++++++++++++++++ scripts/utils.py | 20 ++++++++++++++++++++ 6 files changed, 125 insertions(+), 1 deletion(-) (limited to 'scripts') 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 . +# +# authors__ = [ +# '"Madhusudan.C.S" ', +# ] + 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 . + """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 . + + """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 . +# +# authors__ = [ +# '"Madhusudan.C.S" ', +# ] + 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 . +# +# authors__ = [ +# '"Madhusudan.C.S" ', +# ] + 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 . + + """Helper script that contains many utilities. """ -- cgit