Skip to content

Releases: postgrespro/testgres.os_ops

v3.0.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 06 Jul 10:26
d90a318

Main

  • A work with remote machines is corrected and improved
  • CI uses two machines to test RemoteOperations
  • RockyLinux is added to test

What's Changed

  • exception.py is updated (pylance) (#48)
  • [new] RO-property OsOperations::port is added (#49)
  • New tests for os_ops props: host, ssh_key, username (#50)
  • [new] RO-property OsOperations::remote is added (#51)
  • Codestyle (return) (#52)
  • [typing] RemoteOperations::_ssh_args has type typing.List[str] (#54)
  • [fix] RemoteOperations::enter is deleted (#55)
  • [fix] exec_command(get_process=True) does not respect encoding (#56)
  • fix: RemoteOperations::get_process_children is updated (+tests) (#57)
  • RemoteOperations::write is rewritten (without scp, via exec_command) (#58)
  • fix: OsOperations::write is refactored (#59)
  • Helpers::PrepareProcessInput is updated (typing) (#60)
  • test_exec_command_failure__expect_error is updated (typing) (#61)
  • OsOperations::read is updated (typing) (#62)
  • ConnectionParams is updated (typing) (#63)
  • RemoteOperations is updated (fix for _port, _ssh_cmd is added) (#64)
  • fix: RemoteOperations::readlines losts eols (#65)
  • Formal tests for ConnectionParams are added (#66)
  • [new] ConnectionParams::password is added (for sshpass) (#67)
  • RemoteOperations uses "trap '' HUP" to save child processes (#68)
  • [new] os_ops::get_basename is added (#69)
  • fix: RemoteOperations is refactored (no os.path, public uses private) (#70)
  • [new] OsOperations::get_abs_path is added (#71)
  • Tests are refactored (os_ops_descr) (#72)
  • OsOperation::makedirs is refactored (#73)
  • fix: RemoteOperations::rmdirs supports attempts and delays, too (#74)
  • correction: get_basename -> get_path_basename (#75)
  • rmt: Tests are refactored to support a real remote connection (#76)
  • Tests on remote rhel-8 (py3.6.8) are fixed (#78)
  • CI: run_tests3.sh is updated (#79)
  • CI: lint and build-check use pip-cache (#80)
  • CI: Dockerfiles are optimized by (#81)
  • CI creates two machines for RemoteOperations tests (#77)
  • CI: run_tests3.sh requires env parameter PYTHON_BINARY (#82)
  • CI: RockyLinux is added to test (#83)

Most of the difficult work was done by Mark G. (mark@google.com). Respect! )

Full Changelog: v2.4.0...v3.0.0

2.4.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 21 Jun 19:18
475f431

What's Changed

  • OsOperations::exec_command is refactored (typing) (#44)
  • LocalOperations::sm_single_instance is corrected (typing) (#45)
  • fix: RemoteOperations::read is declared with correct parameter order (#46)

Full Changelog: v2.3.0...v2.4.0

2.3.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 04 Jun 16:33
ced4df2

What's Changed

  • new: OsOperations::get_dirname is added (#42)
  • new: OsOperations::is_abs_path is added (#43)

Full Changelog: v2.2.0...v2.3.0

2.2.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 04 Jun 08:12
01921b5

What's Changed

  • RemoteOperations is cleaned (#34)
  • RemoteOperations::_ensure_cmdline is corrected (typing) by (#36)
  • OsOperations: host, ssh_key and username are ro-props (#40)
  • fix: OsOperations::readlines defines all the arguments (#41)

Full Changelog: 2.1.1...v2.2.0

2.1.1

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 25 Feb 17:25
6b0fbb0

What's Changed

  • Tests are updated (typing) (#26)
  • A suppression of E721 is removed (#28)
  • CI: Verification with ruff is added (#29)

Full Changelog: 2.1.0...2.1.1

2.1.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 02 Feb 13:27
51a78fc

Main

  • OsOperations::get_platform is added. It returns a copy of sys.platform value.

What's Changed

  • [CI] AstraLinux 1.7 is tested (#21)
  • pytest-env is used, pytest.ini is deleted (#23)
  • OsOperations::get_platform(self) is added (#24)
  • fix: RemoteOperations should not check the local platform (#25)

Full Changelog: 2.0.2...2.1.0

2.0.2

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 27 Jan 13:00
6dd667d

This is a release to fix a problem with Astra Linux 1.7. It has an old python version 3.7.3.

What's Changed

  • Min python is 3.7.3 (#19)

Full Changelog: 2.0.1...2.0.2

2.0.1

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 25 Jan 09:45
dab839b

What's Changed

  • [CI] GitHub Action is used by (#10)
  • fix: RemoteOperations::exec_command passes exec_env incorrectly (#11)
  • test_get_tmpdir__compare_with_py_info is corrected (#12)

Full Changelog: 2.0.0...2.0.1

2.0.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 16 Jan 08:57

What's Changed

  • testgres.common v1.0.0 is used
  • ExecUtilException is updated (#4)

Full Changelog: 1.1.0...2.0.0

1.1.0

Choose a tag to compare

@dmitry-lipetsk dmitry-lipetsk released this 08 Jan 09:34

What's Changed

  • pyproject.toml is used (#3)
  • License file is added

Full Changelog: 1.0.0...1.1.0