summaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)AuthorFilesLines
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-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
2015-12-27Stricter check for release zip file nameDamien Regad1-1/+1
2015-12-27Change zip/tarballs naming conventionDamien Regad1-8/+9
Before: adodbXYY.tar.gz After: adodb-X.Y.Z.tar.gz Note: the tarball's internal directory's name is kept as 'adodb5'.
2015-12-27Ignore untracked files when checking local repoDamien Regad1-2/+2
2015-12-27Set default branch based on given version numberDamien Regad1-1/+6
- '.0' releases use 'master' - patch releases use 'hotfix/x.y.z'
2015-12-27Don't print message when checking previous versionDamien Regad1-3/+4
2015-12-27Update version: fix replacement error when run twiceDamien Regad1-1/+1
When the script is executed twice for the same version, the second run inserted the patch number a second time, e.g. vX.Y.Z dd-mmm-yyyy became v.X.Y.Z .Z dd-mm-yyyy
2015-12-27Perform prior version existence check earlierDamien Regad1-5/+6
2015-12-27Insert dev releases in proper sequenceDamien Regad1-9/+7
2015-12-27Treat non-existent, non-patch release as devDamien Regad1-2/+6
Add '-dev' suffix to version number if the release does not exist in changelog and it's not a patch release (i.e. doesn't end with '.0'). This allows setting the date as ??-???-YYYY.
2015-12-27Save version existence check result in variableDamien Regad1-2/+5
2015-12-27New version_is_patch() functionDamien Regad1-7/+13
2015-12-27Fix update_changelog() functionDamien Regad1-31/+83
Now properly handles insertion of new versions in the changelog following the proper sequence, improved error handling (e.g. skipped version numbers)
2015-12-27Rename release_date() to get_release_date()Damien Regad1-6/+6
2015-12-27Add new version_parse() functionDamien Regad1-7/+14
Breaks down the given version into groups
2015-12-27version_check() function now normalizes the versionDamien Regad1-3/+19
The returned version should now be SemVer-compliant - add '.0' if missing patch bit - add '-' before dev release suffix if needed
2015-12-27New version_is_dev() functionDamien Regad1-2/+8
2015-12-27Adjust version matching regexDamien Regad1-1/+2
- remove support for [a-z] patch releases - allow optional '-' before 'dev' releases
2015-11-28Don't insert new section for Dev release if one already existsDamien Regad1-0/+9
2015-11-28Fix bug when running sed when current dir is not repo rootDamien Regad1-0/+1
2015-11-28Allow '-' between version and date when replacingDamien Regad1-1/+1
If present, the '-' is kept in the output.
2015-11-28Update file filterDamien Regad1-6/+8
Use list comprehension instead of filter(), and rely on a regex instead of endswith(). - include both '.htm' and '.html' extensions - remove '.txt' extension (no such files have version information)
2015-11-28Upload script: remove useless trailing spacesDamien Regad1-1/+1
2015-11-28Upload script: fix bug with -d / -f optionsDamien Regad1-13/+13
The behavior was reverted, i.e. -d would disable documentation upload (instead of files), and vice-versa. Move check for version number check for files updload within the if block to avoid an error when uploading the documentation when the release tarballs are not present (e.g. from the repository's root).
2015-11-28Upload script: remove unused variablesDamien Regad1-5/+0
2015-11-28Add debug mode optionDamien Regad1-30/+63
Allows the build to proceed even if the local branch is not in sync with the upstream repository.
2015-11-28updateversion.py: new tag_delete() functionDamien Regad1-0/+9
2015-11-28Add comment describing what the script doesDamien Regad1-0/+5
2015-11-28Change dir to repo root when working with existing repoDamien Regad1-0/+1
Ensures proper operation when running the script from a subdirectory.
2015-11-28update_changelog(): process new markdown fileDamien Regad1-9/+30
- Amend code to shift from html changelog. - Add processing for hotfix releases
2015-11-28Add option to specify release branchDamien Regad1-3/+8
2015-11-28Remove unused option from listDamien Regad1-1/+1