1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/sanity
Viktor Utkin b2a7561a7f [win_get_url] feature: Add support checksum to module win_get_url (#51986)
* set valid_until equal to current time + spot_wait_timeout

* Add checksum check for downloaded file.

* refactoring

* fix typo

* add fixes

* mart try,catch handling

* revert lib/ansible/modules/cloud/amazon/ec2.py from upstream

* refactoring

* remove empty lines

* add checksum verification for existing file

* fix current file check

* refactoring destination file check

* add handling exceptions

* refactoring

* Added download file hash data from url

* fix string aligning

* fix bug with uri

* Added get hash from multy-string file

* Added URI support for checksum file location

* refactoing

* Remove any non-alphanumeric characters for hash from url

* fix discussions; add support for PS3

* refactoring

* add size return value

* checkout from upstream for lib/ansible/modules/cloud/amazon/ec2.py

* add Ansible.ModuleUtils.Legacy support; refactoring

* Copyright added

* Checking files size before and after downloading added.

* remove unused code

* Corrected regexp for dotted slashed file name prefix in hash-file

* hotfix typo error; add int tests

* remove legacy module support; split checksum to checksum, checksum_algorithm, checksum_url

* changed default hash algorithm

* Fixed case for ContentLength = -1

* Old comment removed

* fix typo

* Remove file size check before downloading

* add alias to ; fix tests

* adjust tests; fix lint warnings from PSScritpAnalyzer

* workaround for bug in win_chocolatey module on win2008

* remove win_get_url.ps1 from /test/sanity/pslint/ignore.txt

* add checksum_algorithm as retuen value

* first normalise before return Result

* resolve discussions

Signed-off-by: Viktor Utkin <viktor.utkin7@yandex.ru>

* fix discussions
fix http tests as discussed

* fix last discussions

* Reduce code duplication and add idempotency check

* fix sanity issue and remove testing code

* move back to using tmp file for checksum comparison
2019-03-05 20:37:00 +10:00
..
ansible-doc Remove deprecated os_server_actions alias (#47208) 2018-10-18 16:44:44 +10:00
code-smell mongodb_replicaset module and test exception (#49690) 2019-02-25 11:52:07 +01:00
compile Overhaul additional sanity tests. (#36803) 2018-02-27 15:05:39 -08:00
import Improve import sanity test output handling. (#52136) 2019-02-12 17:32:57 -08:00
pep8 Skip sanity tests that don't apply to bundled code 2018-12-17 11:01:01 -08:00
pslint [win_get_url] feature: Add support checksum to module win_get_url (#51986) 2019-03-05 20:37:00 +10:00
pylint Assorted pylint fixes 2019-02-15 06:54:47 -08:00
rstcheck Add rstcheck to ansible-test and correct issues. (#23550) 2017-04-13 10:28:52 -07:00
shellcheck Test cleanup. 2018-01-11 13:43:10 -08:00
validate-modules validate-modules improve empty version_added handling (#53177) 2019-03-01 11:56:33 -06:00
yamllint Doc fragments to plugins (#50172) 2019-01-23 20:03:47 -05:00
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00