Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/install_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: |
python -m pip install poetry
- name: Cache the virtualenv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install_test_coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: |
python -m pip install poetry
- name: Cache the virtualenv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/install_test_setup_py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
python -m pip install poetry
- name: Cache the virtualenv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pylint_and_mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: |
python -m pip install poetry
- name: Cache the virtualenv
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./.venv
key: ${{ runner.os }}-venv-${{ hashFiles('**/poetry.lock') }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ build/
dist/

# virtualenv
.venv/
venv/
ENV/

Expand Down
2 changes: 1 addition & 1 deletion libcloudforensics/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

# Since moving to poetry, ensure the version number tracked in pyproject.toml is
# also updated
__version__ = '20250116'
__version__ = '20250331'
5 changes: 5 additions & 0 deletions libcloudforensics/providers/gcp/forensics.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ def CreateDiskCopy(
if not disk_type:
disk_type = disk_to_copy.GetDiskType()

if disk_type.startswith('hyperdisk'):
logger.debug(
'Disk type is {0:s}, using pd-standard instead.'.format(disk_type))
disk_type = 'pd-standard'

logger.info('Disk copy of {0:s} started...'.format(disk_to_copy.name))
snapshot, created = disk_to_copy.Snapshot()
logger.debug('Snapshot created: {0:s}'.format(snapshot.name))
Expand Down
172 changes: 17 additions & 155 deletions poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "libcloudforensics"
version = "20250116"
version = "20250331"
description = "libcloudforensics is a set of tools to help acquire forensic evidence from Cloud platforms."
authors = ["cloud-forensics-utils development team <cloud-forensics-utils-dev@googlegroups.com>"]
license = "Apache-2.0"
Expand Down Expand Up @@ -46,7 +46,7 @@ setuptools = "^75.8.0"
coverage = "^7.2.7"
mock = "^5.1.0"
mypy = "^1.4.1"
pylint = "^2.17.5"
pylint = "^3.3.6"
sphinx = "^7.1.2"
sphinx-autodoc-typehints = "^1.24.0"
yapf = "^0.40.1"
Expand Down
Loading