Run update-copyright on itself.
authorW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 02:17:05 +0000 (21:17 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 02:17:05 +0000 (21:17 -0500)
.update-copyright.conf [new file with mode: 0644]
bin/update-copyright.py
update_copyright/__init__.py
update_copyright/log.py
update_copyright/project.py
update_copyright/utils.py
update_copyright/vcs/__init__.py
update_copyright/vcs/bazaar.py
update_copyright/vcs/git.py
update_copyright/vcs/mercurial.py
update_copyright/vcs/utils.py

diff --git a/.update-copyright.conf b/.update-copyright.conf
new file mode 100644 (file)
index 0000000..0f9597e
--- /dev/null
@@ -0,0 +1,26 @@
+[project]
+name: update-copyright
+vcs: Git
+
+[files]
+authors: yes
+files: yes
+
+# Write project license info to a Python module at `pyfile`
+pyfile: update_copyright/license.py
+
+[copyright]
+# Multi-line values are ok as long as they are indented more than
+# the key that holds them.
+
+# Long-form copyright (for file headers)
+long: This file is part of %(project)s.
+
+  %(project)s 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 3 of the License, or (at your option) any later version.
+
+  %(project)s 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 %(project)s.  If not, see <http://www.gnu.org/licenses/>.
+
+# Short-form copyright (for the pyfile's `short_license`)
+short: %(project)s comes with ABSOLUTELY NO WARRANTY and is licensed under the GNU General Public License.  For details, %%(get-details)s.
index 590f27b63d1d0a7aef2f67709101308ac7e05892..cb186f8b281c3d523815cd77adea7506af7a7330 100755 (executable)
@@ -1,6 +1,22 @@
 #!/usr/bin/env python
 #
 #!/usr/bin/env python
 #
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Update copyright information with information from the VCS repository.
 
 
 """Update copyright information with information from the VCS repository.
 
index e523c346559550fa3d5de5cddb70fc05e53c6acc..c96891ec234ad4eafa02479bc89ba7097d9f2f1e 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Automatically update copyright boilerplate.
 
 
 """Automatically update copyright boilerplate.
 
index e679a82539d6fa50ad0c4b6ea09ce85068b47892..6d0f0bae4166e2e7fd42a7f10c53f18416cb66cc 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Tools for setting up a package logging.
 
 
 """Tools for setting up a package logging.
 
index 7680174655d25279e07cd45d41d4a0f22417d2df..faf5989b053a477ee26042719ecf89a018a41a6c 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2009-2012 W. Trevor King <wking@drexel.edu>
+# Copyright (C) 2012 W. Trevor King
 #
 # This file is part of update-copyright.
 #
 #
 # This file is part of update-copyright.
 #
index 9aa93057dd3d2ddb4d6691305e538624bf6c9b70..7cceb222f39eba297c1ee288207a744345548fba 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 import difflib as _difflib
 import os as _os
 
 import difflib as _difflib
 import os as _os
index bd9248b55f7d105083c0b20a0496bfcc4999b9d9..467c23bf2a9f9b51a35b50255c4d5da844e48029 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Backends for version control systems."""
 
 
 """Backends for version control systems."""
 
index e54eed5ae04c4330cf9c95872d5b66980bed2d0c..ecdbda0000ecd3c753521450c5c725cb460266a5 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 import StringIO as _StringIO
 
 
 import StringIO as _StringIO
 
index 3cbbd5e3b40d330fb3a7e321123dfe09c6d53b71..e65acb2fd0687b0c48629159e94088734a6878c2 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 from . import VCSBackend as _VCSBackend
 from . import utils as _utils
 
 from . import VCSBackend as _VCSBackend
 from . import utils as _utils
index d71ce9c15d8a33de6a3ed2a14c1db0d0e1a28b5c..70af636f480337f82930f76edeb4a9d6a81ef1c5 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 from __future__ import absolute_import
 
 
 from __future__ import absolute_import
 
index 3c3c1ba3234aa505da4c2101f0ca27c067915469..3190f571b250b62b465f91aac62efad7328fc41a 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright 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 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright 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 update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Useful utilities for backend classes."""
 
 
 """Useful utilities for backend classes."""