Skip to content

Commit c351f9a

Browse files
jleanizIgor8mrdependabot[bot]aarontp
authored
Changes to state manager and redis datastore schema (google#1489) (google#1494)
* Added the TurbiniaRequest hashed object in Redis * Converted TurbiniaTasks to hash objects in Redis * Made get_request_data more efficient * Made get_requests_summary more efficient * Fixed some issues in request_status * Remove GCP dependencies (google#1440) * Remove gcp dependencies * Update dockerfiles * Update dockerfiles * Update gcp error reporting * Updates to formatting * Add unit test * Update unit test * Clean up * Update unit test * Update error reporting * Update file * Update config template * Catch exception * Updates * fix lint * Lint fixes * Updates * Updates * Various updates and fixes * Updates * --- (google#1483) updated-dependencies: - dependency-name: requests dependency-type: indirect dependency-group: pip - dependency-name: requests dependency-type: indirect dependency-group: pip ... * Updates * Update typo * Updates to unit tests * Updates to unit tests and linter fixes * Update table width UI * Bump the pip group across 2 directories with 1 update (google#1487) Bumps the pip group with 1 update in the / directory: [requests](https://github.com/psf/requests). Bumps the pip group with 1 update in the /turbinia/api/cli directory: [requests](https://github.com/psf/requests). Updates `requests` from 2.32.0 to 2.32.3 - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.0...v2.32.3) Updates `requests` from 2.32.0 to 2.32.3 - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](psf/requests@v2.32.0...v2.32.3) --- updated-dependencies: - dependency-name: requests dependency-type: indirect dependency-group: pip - dependency-name: requests dependency-type: indirect dependency-group: pip ... * Fix small UI bug * Minor typos/errors * Set celery task limits and fix worker timeout (google#1486) * Set celery task limits and fix worker timeout * Remove solo pool and change concurrency=1 * Add soft/hard limit buffers * Fix server timeout * Late import for psutil * small fixes, tests * fix run tests * test format string * Fix process_result test * fix execute test * revert unnecessary config changes * Handle soft timeout exception in execute() * update timeout message * Yaaaaaaaapf * Review fixes * Updates and yapf fix * Minor updates * Update docstrings * Updates to evidence_size * Updates * Change log level for message * Lint * bug fixes * Address review comments * Fix docstrings * Minor UI update --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Igor Rodrigues <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Aaron Peterson <[email protected]>
1 parent 404861e commit c351f9a

File tree

138 files changed

+2022
-1748
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+2022
-1748
lines changed

.pylintrc

-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ disable=abstract-method,
102102
no-init, # added
103103
no-member,
104104
no-name-in-module,
105-
no-self-use,
106105
nonzero-method,
107106
oct-method,
108107
old-division,

.style.yapf

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#
55
[style]
66
based_on_style = yapf
7+
COLUMN_LIMIT = 80
78
COALESCE_BRACKETS = True
89
SPLIT_BEFORE_FIRST_ARGUMENT = True
910
SPLIT_PENALTY_AFTER_OPENING_BRACKET = 0

docs/conf.py

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# import sys
1515
# sys.path.insert(0, os.path.abspath('.'))
1616

17-
from __future__ import unicode_literals
18-
1917
from recommonmark.transform import AutoStructify
2018
from docutils import nodes, transforms
2119

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ ignore_patterns = [
6767

6868
[build-system]
6969
requires = ["poetry-core"]
70-
build-backend = "poetry.core.masonry.api"
70+
build-backend = "poetry.core.masonry.api"

test_data/state_manager_test_data.json

-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
"sketch_id": null,
2525
"group_name": "",
2626
"reason": "",
27-
"all_args": "turbinia/turbiniactl.py rawdisk -l /workspaces/turbinia/test_data/artifact_disk.dd",
2827
"group_id": "55ce6e98dc154e73990b24f0c79ab07e",
2928
"requester": "root"
3029
}
@@ -70,7 +69,6 @@
7069
"sketch_id": null,
7170
"group_name": "",
7271
"reason": "",
73-
"all_args": "turbinia/turbiniactl.py rawdisk -l /workspaces/turbinia/test_data/artifact_disk.dd",
7472
"group_id": "55ce6e98dc154e73990b24f0c79ab07e",
7573
"requester": "root"
7674
}
@@ -115,7 +113,6 @@
115113
"sketch_id": null,
116114
"group_name": "",
117115
"reason": "",
118-
"all_args": "turbinia/turbiniactl.py rawdisk -l /workspaces/turbinia/test_data/artifact_disk.dd",
119116
"group_id": "55ce6e98dc154e73990b24f0c79ab07e",
120117
"requester": "root"
121118
}

tools/turbinia_config_parser.py

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# # limitations under the License.
1515
"""Turbinia Config Parser."""
1616

17-
from __future__ import unicode_literals
1817
from __future__ import print_function
1918

2019
import imp

tools/turbinia_job_graph.py

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"""Graph to visualise job/evidence relationships."""
1717

1818
from __future__ import print_function
19-
from __future__ import unicode_literals
2019

2120
import argparse
2221
import graphviz

0 commit comments

Comments
 (0)