Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature-133: Code clean-up for Release Prep #142

Merged
merged 22 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
65f4eeb
Update version number and authors in 'pyproject.toml'
doulikecookiedough Sep 20, 2024
a08a6b1
Review and clean up 'filehashstore_interface' test module for 'store_…
doulikecookiedough Sep 20, 2024
2e67b39
Re-organize 'delete_if_invalid_object' in 'filehashstore' module to m…
doulikecookiedough Sep 20, 2024
7ff4722
Re-organize and clean up 'delete_if_invalid_object' method pytests in…
doulikecookiedough Sep 20, 2024
73226da
Review and clean-up 'store_metadata' pytests
doulikecookiedough Sep 20, 2024
742eb88
Review and clean-up 'retrieve_object' pytests
doulikecookiedough Sep 20, 2024
6a1b072
Review and clean-up 'retrieve_metadata' pytests
doulikecookiedough Sep 20, 2024
1d5b215
Review and clean-up 'delete_object' pytests
doulikecookiedough Sep 20, 2024
cf1f11c
Review and clean-up 'delete_metadata' pytests
doulikecookiedough Sep 20, 2024
56a4315
Review and clean-up 'get_hex_digest' pytests
doulikecookiedough Sep 20, 2024
9ea9572
Fix bug in 'find_object' where sysmeta path was not returned due to i…
doulikecookiedough Sep 20, 2024
2b0346a
Re-organize 'find_object' pytests and filehashstore code placement
doulikecookiedough Sep 20, 2024
cdf377b
Cleanup 'filehashstore' pytests module part 1 via reorganization and …
doulikecookiedough Sep 20, 2024
b9d216c
Cleanup remaining 'filehashstore' pytests module for core methods
doulikecookiedough Sep 20, 2024
1582505
Cleanuo 'filehashstore' utility and supporting methods pytests part 1…
doulikecookiedough Sep 20, 2024
d58d5e8
Revise exception messaging in '_verify_object_information', review py…
doulikecookiedough Sep 23, 2024
d49cdfa
Refactor private '_delete' method and clean-up remaining pytests
doulikecookiedough Sep 24, 2024
3ab2309
Revert 'pyproject.toml' version and add version to 'hashstore/__init_…
doulikecookiedough Sep 24, 2024
22624db
Add poetry bump version code to 'pyproject.toml'
doulikecookiedough Sep 24, 2024
50b8f8d
Update version to '1.1.0' via 'poetry version minor'
doulikecookiedough Sep 24, 2024
e780711
Update 'README.md'
doulikecookiedough Sep 24, 2024
44b1f79
Add type hints to all method signatures, fix minor issues related to …
doulikecookiedough Sep 24, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -311,9 +311,9 @@ To install `hashstore` locally, create a virtual environment for python 3.9+,
install poetry, and then install or build the package with `poetry install` or `poetry build`,
respectively.

To run tests, navigate to the root directory and run `pytest -s`. The test suite contains tests that
To run tests, navigate to the root directory and run `pytest`. The test suite contains tests that
take a longer time to run (relating to the storage of large files) - to execute all tests, run
`pytest --run-slow`. To see detailed
`pytest --run-slow`.

## HashStore Client

Expand Down
7 changes: 5 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[tool.poetry]
name = "hashstore"
version = "1.0.0"
version = "1.1.0"
description = "HashStore, an object storage system using content identifiers."
authors = ["Dou Mok <[email protected]>", "Matt Jones <[email protected]>"]
authors = ["Dou Mok <[email protected]>", "Matt Jones <[email protected]>",
"Matthew Brooke", "Jing Tao", "Jeanette Clark", "Ian M. Nesbitt"]
readme = "README.md"
keywords = ["filesystem", "object storage", "hashstore", "storage"]
classifiers = [
Expand All @@ -25,6 +26,8 @@ python = ">=3.9"
pathlib = ">=1.0.1"
pyyaml = ">=6.0"

[tool.poetry_bumpversion.file."src/hashstore/__init__.py"]

[tool.poetry.group.dev.dependencies]
pytest = ">=7.2.0"
black = ">=22.10.0"
Expand Down
1 change: 1 addition & 0 deletions src/hashstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@
from hashstore.hashstore import HashStore, HashStoreFactory

__all__ = ("HashStore", "HashStoreFactory")
__version__ = "1.1.0"
Loading
Loading