summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2021-08-17 00:48:04 +0200
committerDamien Regad <dregad@mantisbt.org>2021-08-17 00:48:04 +0200
commitd558d101c514beeb8c91f65ae61d106b201dc472 (patch)
tree2ee0a5a7cdca818ed384938b2e5e477f9d55f98d /scripts
parenteea4fc59246a14083e07949e4d54ac806ebbacce (diff)
downloadadodb-d558d101c514beeb8c91f65ae61d106b201dc472.tar.gz
adodb-d558d101c514beeb8c91f65ae61d106b201dc472.tar.bz2
adodb-d558d101c514beeb8c91f65ae61d106b201dc472.zip
Redo Merge branch 'hotfix/5.21' Standardized file headers
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildrelease.py16
-rw-r--r--scripts/fix-static-docs.php29
-rwxr-xr-xscripts/updateversion.py16
-rwxr-xr-xscripts/uploadrelease.py16
4 files changed, 68 insertions, 9 deletions
diff --git a/scripts/buildrelease.py b/scripts/buildrelease.py
index 0cefb5f7..cba40e67 100755
--- a/scripts/buildrelease.py
+++ b/scripts/buildrelease.py
@@ -5,6 +5,22 @@ ADOdb release build script
- Create release tag if it does not exist
- Copy release files to target directory
- Generate zip/tar balls
+
+This file is part of ADOdb, a Database Abstraction Layer library for PHP.
+
+@package ADOdb
+@link https://adodb.org Project's web site and documentation
+@link https://github.com/ADOdb/ADOdb Source code and issue tracker
+
+The ADOdb Library is dual-licensed, released under both the BSD 3-Clause
+and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option,
+any later version. This means you can use it in proprietary products.
+See the LICENSE.md file distributed with this source code for details.
+@license BSD-3-Clause
+@license LGPL-2.1-or-later
+
+@copyright 2013 Damien Regad, Mark Newnham and the ADOdb community
+@author Damien Regad
"""
import errno
diff --git a/scripts/fix-static-docs.php b/scripts/fix-static-docs.php
index 3e382b17..c4159dd5 100644
--- a/scripts/fix-static-docs.php
+++ b/scripts/fix-static-docs.php
@@ -1,12 +1,25 @@
<?php
/**
-* A Program to post-process the dokuwiki document export to clean it up
-* and fix the broken links
-*
-* @link https://adodb.org/dokuwiki/doku.php?id=v6:offline_docs_build
-* @author Mark Newnham
-* @since 02/13/2015
-*/
+ * Post-processing of the DokuWiki documentation export.
+ *
+ * @link https://adodb.org/dokuwiki/doku.php?id=admin:offline_docs_build
+ *
+ * This file is part of ADOdb, a Database Abstraction Layer library for PHP.
+ *
+ * @package ADOdb
+ * @link https://adodb.org Project's web site and documentation
+ * @link https://github.com/ADOdb/ADOdb Source code and issue tracker
+ *
+ * The ADOdb Library is dual-licensed, released under both the BSD 3-Clause
+ * and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option,
+ * any later version. This means you can use it in proprietary products.
+ * See the LICENSE.md file distributed with this source code for details.
+ * @license BSD-3-Clause
+ * @license LGPL-2.1-or-later
+ *
+ * @copyright 2015 Damien Regad, Mark Newnham and the ADOdb community
+ * @author Mark Newnham
+ */
/**
* Recurses a directory and deletes files inside
@@ -217,5 +230,3 @@ rename('documentation/adodb_index.html','documentation/index.html');
* We could add in an auto zip and upload here, but this is a good place to
* stop and check the output
*/
-
-?>
diff --git a/scripts/updateversion.py b/scripts/updateversion.py
index 57ee9499..5590f37f 100755
--- a/scripts/updateversion.py
+++ b/scripts/updateversion.py
@@ -3,6 +3,22 @@
ADOdb version update script.
Updates the version number, and release date in all php and html files
+
+This file is part of ADOdb, a Database Abstraction Layer library for PHP.
+
+@package ADOdb
+@link https://adodb.org Project's web site and documentation
+@link https://github.com/ADOdb/ADOdb Source code and issue tracker
+
+The ADOdb Library is dual-licensed, released under both the BSD 3-Clause
+and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option,
+any later version. This means you can use it in proprietary products.
+See the LICENSE.md file distributed with this source code for details.
+@license BSD-3-Clause
+@license LGPL-2.1-or-later
+
+@copyright 2014 Damien Regad, Mark Newnham and the ADOdb community
+@author Damien Regad
"""
from datetime import date
diff --git a/scripts/uploadrelease.py b/scripts/uploadrelease.py
index e93e0f51..7d801eed 100755
--- a/scripts/uploadrelease.py
+++ b/scripts/uploadrelease.py
@@ -3,6 +3,22 @@
ADOdb release upload script.
Uploads release zip/tarball files generated by buildrelease.py to SourceForge.
+
+This file is part of ADOdb, a Database Abstraction Layer library for PHP.
+
+@package ADOdb
+@link https://adodb.org Project's web site and documentation
+@link https://github.com/ADOdb/ADOdb Source code and issue tracker
+
+The ADOdb Library is dual-licensed, released under both the BSD 3-Clause
+and the GNU Lesser General Public Licence (LGPL) v2.1 or, at your option,
+any later version. This means you can use it in proprietary products.
+See the LICENSE.md file distributed with this source code for details.
+@license BSD-3-Clause
+@license LGPL-2.1-or-later
+
+@copyright 2014 Damien Regad, Mark Newnham and the ADOdb community
+@author Damien Regad
"""
from distutils.version import LooseVersion