summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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
2020-12-17updateversion.py: new sed_run() functionDamien Regad1-14/+11
2020-12-17Replace 'git root' alias with native commandDamien Regad2-2/+12
2020-12-17Set development releases date to 'Unreleased'Damien Regad1-8/+5
Instead of using a dummy date '??-???-YYYY'.
2020-12-17updateversion.py: allow alpha/beta/rc versionsDamien Regad1-80/+114
Use custom Exceptions in version_get_previous(). Refactor update_changelog to handle pre-release versions, simplify the logic to avoid code duplication
2020-12-17No more HTML files to processDamien Regad1-2/+2
All the old docs have been moved to wiki at https://adodb.org
2020-12-06Add support for release candidate buildsMark Newnham1-1/+1
Regex changed to support build numbers ending similar to -RC1
2020-08-02List the files to be uploadedDamien Regad1-0/+2
2020-08-02New command-line option to skip SourceForge uploadDamien Regad1-4/+13
This allows only updating the (previously) uploaded files information via the SourceForge Release API.
2020-08-02Enable dry-run mode for SourceForge APIDamien Regad1-15/+22
2020-08-02Code cleanupDamien Regad1-7/+6
- Fix typos - PEP8 - remove debug statement - removed reference to no-longer-used global variables
2020-08-02Use SourceForge API to set file infoDamien Regad3-0/+82
The script is now capable of updating the default file to download from the SourceForge files section, based on the uploaded file's extension. Introduces a config file for maintenance scripts, in YAML format, named env.yml. It is used to store the SourceForge API key.
2019-11-12Codespell assisted typo cleaningJean-Michel Vourgère2-2/+2
2018-03-09Exclude files and dirs from git archiveDamien Regad1-0/+2
2016-12-18upload: handle username as an optionDamien Regad1-10/+11
Allows defaulting to the current os user name
2016-12-18upload: Target dir based on ADOdb major versionDamien Regad1-1/+8
- for 5.x, adodb-php5-only/ - for 6.x and later, adodbX/ (where X is the major version number)
2016-12-18upload: Recognize SemVer suffixesDamien Regad1-6/+11
Allows alpha, beta and rc suffixes, as well as version number
2016-12-17upload: Create target dir if it doesn't existDamien Regad1-0/+12
2016-12-17upload: document global variablesDamien Regad1-0/+3
Describe how to set sf_files for debugging
2016-12-17build: fix '--branch' param definitionDamien Regad1-1/+1
The trailing '=' was missing, so the branch name could not be specified when using the long parameter (was working OK with '-b'.
2016-09-20Align release scripts with master branchDamien Regad3-109/+257
2016-08-31Merge branch 'hotfix/5.20.6'Damien Regad1-0/+1
2016-08-29Exclude 'tests' directory from release tarballsDamien Regad1-0/+1
It is only used for development purposes and is not necessary for normal ADOdb operations. Issue #274
2016-02-26Release scripts: docs are no longer part of the repoDamien Regad2-41/+4
- don't copy the files to release_path when building the release - remove options to exclude files or docs when uploading the release, since the file can only upload files now
2016-02-13CLI Program to turn website into static document setMark Newnham1-0/+221
A simple CLI PHP script to massage the output of dokuwiki plugin SiteExport into a set of HTML pages that form the basis of the new documentation set
2015-12-27Move command-line processing to dedicated functionDamien Regad1-34/+41
2015-12-27Move upload code to dedicated functionsDamien Regad1-25/+35
2015-12-27New sourceforge_target_dir() functionDamien Regad1-3/+21
Builds the final part of the SourceForge target directory based on the version of the files being uploaded. Base directory is as defined in sf_files global variable, plus - if version >= 5.21: adodb-X.Y - for older versions: adodb-XYZ-for-php5
2015-12-27Catch exception when version number is not validDamien Regad1-1/+9
2015-12-27Improve script outputDamien Regad1-7/+4
2015-12-27Use regex to retrieve version number from file nameDamien Regad1-1/+2
2015-12-27New function to retrieve version from zip file nameDamien Regad1-7/+15
2015-12-27Added dry-run modeDamien Regad1-3/+21
Prints rsync command but does not execute it Moved command-line options variables to global scope
2015-12-27New call_rsync() function to avoid code duplicationDamien Regad1-16/+21