summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
2025-01-25Scripts: use CommonMark-compliant packageDamien Regad2-4/+4
Replace markdown by markdown-it-py
2025-01-25Add Python requirements.txt file for build scriptsDamien Regad1-0/+8
2023-06-11announce.py: Removed unused json libraryDamien Regad1-1/+0
2023-06-11Fix exception in announce.pyDamien Regad1-1/+2
The announcement script triggered an exception: AttributeError: 'NoneType' object has no attribute 'tagged_date' This was caused by a local lightweight tag, which has no associated attributes so the lambda function used to sort the tags chronologically crashed attempting to access non-existing 'tagged_date'. Lambda was modified to return 0 in this case.
2023-04-04Improve fix-static-docs.php (#882)Damien Regad1-110/+141
- coding guidelines - variables to define source and target directories - error handling - exclude internal use namespaces
2023-04-04uploadrelease.py: Code cleanupDamien Regad1-3/+4
- reorder imports - optimize regex
2023-04-04uploadrelease.py: remove legacy version checkDamien Regad1-5/+1
Use of LooseVersion from distutils.version package was throwing a DeprecationWarning. This version check is no longer needed, it was there to handle the legacy directory structure on SourceForge Files which was used before 5.21. Fixes #948
2023-04-02Exclude internal use namespacesDamien Regad1-0/+5
admin, wiki and playground are not actually part of ADOdb documentation.
2023-04-02Improve error handlingDamien Regad1-3/+18
2023-04-02Define source/target dirs in variablesDamien Regad1-10/+16
2023-04-02Fix Coding guidelines, PHPStorm warningsDamien Regad1-102/+107
2023-04-02Improve missing GitHub Tag error messageDamien Regad1-1/+2
Tell user to push the tag.
2023-04-02Missing GitHub Milestone is now a simple warningDamien Regad1-2/+1
Script execution does not need to be halted.
2023-04-02Fix Twitter error message printoutDamien Regad1-3/+1
When a tweepy exception occurred, the detailed error message was printed twice. The Exception's message already contains the error's details.
2023-04-02Use f-strings instead of format()Damien Regad1-9/+4
2023-04-02Print name of channel we are posting toDamien Regad1-2/+14
2023-04-02Adapt announce.py for Gitter to Matrix migrationDamien Regad3-37/+92
Fixes #922
2022-09-07Improve default announcement messageDamien Regad1-1/+1
2022-09-07Don't print announcement msg if only doing GitHubDamien Regad1-2/+2
2022-09-07Auto-close GitHub Milestone when creating ReleaseDamien Regad1-1/+39
2022-09-06Fix Gitter posting exception when room_name = NoneDamien Regad1-1/+3
2022-09-06Add GitHub Release creationDamien Regad3-8/+94
If the Release already exists, the message will be retrieved from it.
2022-09-06Run without user interaction with -b/--batch parameterDamien Regad1-5/+13
2022-09-06Add posting to TwitterDamien Regad3-2/+57
2022-09-06Move Gitter posting code to functionDamien Regad1-5/+11
2022-09-06Default version to most recent Git tagDamien Regad1-2/+13
2022-09-06Ask confirmation before postingDamien Regad1-0/+10
2022-09-06Command-line processing with argparseDamien Regad1-3/+24
2022-09-06New script to post announcement on GitterDamien Regad3-0/+109
2022-09-06Rename api_key config to sf_api_keyDamien Regad2-2/+2
2022-09-06New adodbutil module - Environment classDamien Regad2-27/+58
Move the code that loads the environment variables from yml config file (load_env() function) to a class in a module.
2022-05-09updateversion.py: insert version linkDamien Regad1-3/+31
Add or update the markdown link target for the release version at end of changelog.md. This works as expected in most cases, but some scenarios are not fully covered (e.g. pre-release versions) so the updated changelog should be reviewed and fixed manually if necessary.
2022-05-08Simplify version update scriptDamien Regad1-19/+2
Since v5.21.1, the ADOdb version number is only referenced in the $ADODB_vers global variable in adodb.inc.php, so it is not necessary to process all library files anymore. This allows optimization of the version matching regex, to also work when there is no release date appended.
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad4-9/+68
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad4-68/+9
The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751
2021-08-14Standard file header: /scriptsDamien Regad4-9/+68
2021-08-13Build scripts require Python 3.7 or laterDamien Regad1-0/+3
2021-08-13Build scripts: use env in shebangDamien Regad3-3/+3
Allows use of virtual environments.
2021-02-27updateversion: fix regex to insert new .0 releaseDamien Regad1-2/+3
When processing a .0 release with existing pre-releases, the new section was not inserted in the Changelog.
2021-02-01updateversion.py script adjustmentsDamien Regad1-7/+7
- use YYYY-MM-DD date format - remove unnecessary escape for `]` - use raw strings for regex - fix typo
2021-01-31Merge branch 'hotfix/5.20' into release/5.21Damien Regad1-4/+4
2021-01-31Adapt updateversion.py for keepachangelog formatDamien Regad1-5/+13
2021-01-02Ignore maintenance script config fileDamien Regad1-0/+3
(cherry picked from commit 42f3971afdc851424e896c6da5a17ed0a23170e7)
2020-12-20uploadrelease.py: get extension with path.splitext()Damien Regad1-3/+3
Previous logic using str.split('.') does not work with prereleases as there is an extra '.', causing extension to be returned as '1.zip' instead of just 'zip'.
2020-12-20buildrelease.py: remove debugging print statementDamien Regad1-1/+0
2020-12-19adodb.org is now served over SSLDamien Regad1-2/+2
Change web site references from http://adodb.org to https.
2020-12-18buildrelease.py: update file exclusion listDamien Regad1-6/+2
2020-12-18Delete old, obsolete batch fileDamien Regad1-49/+0
2020-12-18Release Scripts: python3 conversionDamien Regad3-203/+262
- fix print statements - use str.format() instead of % - subprocess calls with text=True - pycodestyle - update docstrings to better conform with PEP 257 - file -> open
2020-12-18buildrelease.py: change patch versions default branchDamien Regad1-1/+1
hotfix/X.Y instead of hotfix X.Y.Z