summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDamien Regad <dregad@mantisbt.org>2021-05-01 16:11:48 +0200
committerDamien Regad <dregad@mantisbt.org>2021-08-14 13:09:23 +0200
commit152bb999b10b10e90741ca87df095277e81033b5 (patch)
tree9ba8424728f8bb2f9dd62b2a10d4a33e7b4760f2 /scripts
parente95cdc0d2199fbfe8010d78d30febd4cbf384da2 (diff)
downloadadodb-152bb999b10b10e90741ca87df095277e81033b5.tar.gz
adodb-152bb999b10b10e90741ca87df095277e81033b5.tar.bz2
adodb-152bb999b10b10e90741ca87df095277e81033b5.zip
Standard file header: /scripts
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