| 1 |
3.1.24 |
| 2 |
Update documentation |
| 3 |
Fix tests |
| 4 |
Remove dependency on python3-future |
| 5 |
3.1.23: |
| 6 |
Use pytest instead of nose |
| 7 |
3.1.21: |
| 8 |
Freeze pymongo to 3.12.3 (4.x breaks) |
| 9 |
Change isAlive() which is deprecated in python 3.9 to is_alive |
| 10 |
|
| 11 |
3.1.20: |
| 12 |
Follow-up of #127 to get last release in file (refactor and bug fix) |
| 13 |
3.1.19: |
| 14 |
Add tgz archive support |
| 15 |
Add log file info to production info |
| 16 |
#126 Issue with getting last release in file |
| 17 |
3.1.18: |
| 18 |
Python 3 support only |
| 19 |
If multiple files match release.file, take most recent one |
| 20 |
If mail template not found, log and use default |
| 21 |
3.1.17: |
| 22 |
Fix regression when saving file with a differe,t structure such as xxx/(FASTA)/(file.txt) to save under FASTA/file.txt |
| 23 |
Send removal mail for --remove-all option |
| 24 |
#119 add support for custom notification emails with templates and log tail/attach options |
| 25 |
New optional fields in global.properties (or per bank properties): |
| 26 |
mail.body.tail=0 |
| 27 |
mail.body.attach=9000000 |
| 28 |
mail.template.subject=file_path_to_subject.jinja2 |
| 29 |
mail.template.body=file_path_to_body.jinja2 |
| 30 |
Available variables: |
| 31 |
'log_file': path to log file |
| 32 |
'log_tail': last lines of log file |
| 33 |
'bank': bank name |
| 34 |
'release': release related tooperation |
| 35 |
'status': operation status (true/false) |
| 36 |
'modified': did operation modified bank (true/false) |
| 37 |
'update': was operation an update |
| 38 |
'remove': was operation a removal |
| 39 |
3.1.16: |
| 40 |
Fix status check of process for --from-task postprocess |
| 41 |
#118 Rename protocol options to options |
| 42 |
Add more debug logging |
| 43 |
3.1.15: |
| 44 |
#117 Fix incorrect behavior with --post-process |
| 45 |
3.1.14: |
| 46 |
Add repair option |
| 47 |
3.1.13: |
| 48 |
Add process name and status in logs |
| 49 |
PR #116 update to use download 3.1.0 |
| 50 |
3.1.12: |
| 51 |
In case of multiple matches for release regexp, try to determine most recent one |
| 52 |
#115 Correctly use save_as for release file name |
| 53 |
3.1.11: |
| 54 |
Increase one log level |
| 55 |
#110 Allow ftps and directftps protocols (needs biomaj-download 3.0.26 and biomaj-core 3.0.19) |
| 56 |
#111 locked bank after bad update command |
| 57 |
Ignore UTF-8 errors in release file |
| 58 |
Add plugin support via biomaj-plugins repo (https://github.com/genouest/biomaj-plugins) to get release and list of files to download from a plugin script. |
| 59 |
Add support for protocol options in global and bank properties (options.names=x,y options.x=val options.y=val). Options may be ignored or used differently depending on used protocol. |
| 60 |
3.1.10: |
| 61 |
Allow to use hardlinks when reusing files from previous releases |
| 62 |
3.1.9: |
| 63 |
Fix remote.files recursion |
| 64 |
3.1.8: |
| 65 |
Fix uncompress when saved files contains subdirectory |
| 66 |
3.1.7: |
| 67 |
Fix utf/ascii encoding issue with python3 |
| 68 |
In case of uncompress failure, put back all compressed files to avoid redownload |
| 69 |
3.1.6: |
| 70 |
Fix #100 Catch error and log error if biomaj fails to connect to InfluxDB |
| 71 |
Add history to update/remove operations |
| 72 |
Add log in case of file deletion error during bank removal |
| 73 |
check lock file exists when removing it |
| 74 |
Update protobuf to work with biomaj.download 3.0.18 |
| 75 |
|
| 76 |
3.1.5: |
| 77 |
Fix #97 Wrong offline dir checks |
| 78 |
|
| 79 |
3.1.4: |
| 80 |
Fix #88 Unset 'last_update_session' when found in pending sessions using --remove-pending |
| 81 |
Add formats in bank info request |
| 82 |
Add checks for some production fields before display |
| 83 |
Add irods download support |
| 84 |
|
| 85 |
3.1.3: |
| 86 |
Remove post-install step for automatic upgrades, not supported by wheel package |
| 87 |
|
| 88 |
3.1.2: |
| 89 |
Fix #86 remove special character from README.md |
| 90 |
Feature #85 SchemaVersion automatically add new property |
| 91 |
|
| 92 |
3.1.1: |
| 93 |
Fix #80 Check process exists with `--from-task` and `--process` |
| 94 |
Manage old banks with no status |
| 95 |
|
| 96 |
3.1.0: |
| 97 |
## Needs database upgrade |
| 98 |
If using biomaj-watcher, must use version >= 3.1.0 |
| 99 |
Feature #67,#66,#61 switch to micro service architecture. Still works in local monolithic install |
| 100 |
Fix some configuration parameter loading when not defined in config |
| 101 |
Fix HTTP parsing parameters loading |
| 102 |
Fix download_or_copy to copy files in last production release if available instead of downloading files again |
| 103 |
Manage user migration for micro services |
| 104 |
Feature #74 add influxdb statistics |
| 105 |
Feature #65 add a release info file at the root of the bank which can be used by other services to know the latest release available |
| 106 |
Feature #25 experimental support of rsync protocol |
| 107 |
Add rate limiting for download with micro services |
| 108 |
Limit email size to 2Mb, log file may be truncated |
| 109 |
|
| 110 |
3.0.20: |
| 111 |
Fix #55: Added support for https and directhttps |
| 112 |
Add possibility to define files to download from a local file with remote.list parameter |
| 113 |
Fix visibility modification (bug deleted the bank properties field) |
| 114 |
Fix #65 Add release file in bank dir after update |
| 115 |
Add md5 or sha256 checksum checks if files are downloaded and available |
| 116 |
|
| 117 |
3.0.19: |
| 118 |
Fix missing README.md in package |
| 119 |
Fix #53 avoid duplicates in pending databases |
| 120 |
|
| 121 |
3.0.18: |
| 122 |
Add migration method to update schema when needed |
| 123 |
Manage HTTP month format to support text format (Jan, Feb, ...) and int format (01, 02, ...) |
| 124 |
New optional bank property http.parse.file.date.format to extract date in HTTP protocol following python date regexp format (http://www.tutorialspoint.com/python/time_strptime.htm) |
| 125 |
Example: %d-%b-%Y %H:%M |
| 126 |
|
| 127 |
3.0.17: |
| 128 |
Fix #47: save_as error with directhttp protocol |
| 129 |
Fix #45: error with pending releases when release has dots in value |
| 130 |
typo/pylint fixes |
| 131 |
|
| 132 |
3.0.16: |
| 133 |
Do not use config values, trust database values #39 |
| 134 |
Fix #42: Add optional release.separator to name the bank directory bankname_release (underscore as default) |
| 135 |
|
| 136 |
3.0.15: |
| 137 |
Fix #37: remote local files history from db and put it in cache.dir |
| 138 |
Feature #38: add optional keep.old.sessions parameter to keep all sessions in database, even for removed releases |
| 139 |
Feature #28: add optional release.format parameter to specify the date format of a release |
| 140 |
|
| 141 |
3.0.14: |
| 142 |
Fix in method set_owner |
| 143 |
Force release to be a str |
| 144 |
Fix #32: fix --from-task issue when calling a meta process |
| 145 |
Fix #34: remove release from pending when doing cleanup of old sessions |
| 146 |
Remove logs on some operations |
| 147 |
Add --status-ko option to list bank in error state |
| 148 |
Fix #36 manage workflows over by error or unfinished |
| 149 |
|
| 150 |
3.0.13: |
| 151 |
Fix #27: Thread lock issue during download |
| 152 |
New optional attribute in bank properties: timeout.download |
| 153 |
HTTP protocol fix (deepcopy error) |
| 154 |
|
| 155 |
3.0.12: |
| 156 |
Fix index deletion on bank removal |
| 157 |
Fix lock errors on dir creation for multi-threads, |
| 158 |
pre-create directroy structure in offline directory |
| 159 |
Fix #26: save error when too many files in bank |
| 160 |
|
| 161 |
3.0.11: |
| 162 |
Fix in session management with pre and rm processes |
| 163 |
Fix #23: Check workflow step name passed to |
| 164 |
--stop-after/--start-after/--from-task |
| 165 |
Fix #24: deprecated delete_by_query method in elasticsearch |
| 166 |
Add some controls on base directories |
| 167 |
|
| 168 |
|
| 169 |
3.0.10: |
| 170 |
Change dir to process.dir to find processes in subdirs |
| 171 |
If all files found in offline dir, continue workflow with no download |
| 172 |
Remove extra log files for bank dependencies (computed banks) |
| 173 |
Fix computed bank update when sub banks are not updated |
| 174 |
Fix #15 when remote reverts to a previous release |
| 175 |
Feature #16: get possibility not to download files (for computed banks for |
| 176 |
example). Set protocol='none' in bank properties. |
| 177 |
Fix on --check with some protocols |
| 178 |
Fix #21 release.file not supported for directhttp protocol |
| 179 |
Feature #22: add localrelease and remoterelease bank properties to use the |
| 180 |
remote release as an expression in other properties |
| 181 |
=> remote.dir = xx/yy/%(remoterelease)s/zz |
| 182 |
Feature #17,#20: detect remote modifications even if release is the same |
| 183 |
new parameter release.control (true, false) to force a check |
| 184 |
even if remote release (file controlled or date) is the same. |
| 185 |
Fix on 'multi' protocol |
| 186 |
Fix on "save_as" regexp when remote.files starts with a ^ character. |
| 187 |
|
| 188 |
3.0.9: |
| 189 |
Fix thread synchro issue: |
| 190 |
during download some download threads could be alive while main thread continues worflow |
| 191 |
the fix prevents using Ctrl-C during download |
| 192 |
Workflow fix: |
| 193 |
if subtask of workflow fails, fail main task |
| 194 |
|
| 195 |
3.0.8: |
| 196 |
do not test index if elasticsearch is not up |
| 197 |
minor fixes |
| 198 |
add http proxy support |
| 199 |
pylint fixes |
| 200 |
retry uncompress once in case of failure (#13) |
| 201 |
|
| 202 |
3.0.7: |
| 203 |
Reindent code, pep8 fixes |
| 204 |
Various fixes on var names and OrderedDict suport for Python < 2.7 |
| 205 |
Merge config files to be able to reference global.properties variables in bank |
| 206 |
property file in format %(xx)s |
| 207 |
Use ConfigParser instead of SafeConfigParser that will be deprecated |
| 208 |
|
| 209 |
3.0.6: |
| 210 |
Add option --remove-pending to remove all pending sessions and directories |
| 211 |
Add process env variables logdir and logfile |
| 212 |
Fix Unicode issue with old versions of PyCurl. |
| 213 |
|
| 214 |
3.0.5: |
| 215 |
Fix removal workflow during an update workflow, removedrelease was current |
| 216 |
release. |
| 217 |
Fix shebang of biomaj-cli, and python 2/3 compat issue |
| 218 |
|
| 219 |
3.0.4: |
| 220 |
Update code to make it Python 3 compatible |
| 221 |
Use ldap3 library (pure Python and p2,3 compatible) instead of python-ldap |
| 222 |
get possiblity to save downloaded files for ftp and http without keeping full |
| 223 |
directory structure: |
| 224 |
remote.files can include groups to save file without directory structure, |
| 225 |
or partial directories only, examples: |
| 226 |
remote.files = genomes/fasta/.*\.gz => save files in offline directory, keeping remote structure offlinedir/genomes/fasta/ |
| 227 |
remote.files = genomes/fasta/(.*\.gz) => save files in offline directory offlinedir/ |
| 228 |
remote.files = genomes/(fasta)/(.*\.gz) => save files in offline directory offlinedir/fasta |