Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

acstore

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

acstore - npm Package Compare versions

Comparing version
20240128
to
20240406
+12
-23
.github/workflows/test_docker.yml

@@ -10,3 +10,3 @@ # Run tests on Fedora and Ubuntu Docker images using GIFT CORP and GIFT PPA on commit

matrix:
version: ['38']
version: ['39', '40']
container:

@@ -22,3 +22,3 @@ image: registry.fedoraproject.org/fedora:${{ matrix.version }}

dnf copr -y enable @gift/dev
dnf install -y @development-tools python3 python3-devel python3-pyyaml python3-setuptools
dnf install -y @development-tools python3 python3-build python3-devel python3-pyyaml python3-setuptools python3-wheel
- name: Run tests

@@ -32,12 +32,8 @@ env:

if test -f tests/end-to-end.py; then PYTHONPATH=. python3 ./tests/end-to-end.py --debug -c config/end-to-end.ini; fi
- name: Build source distribution
- name: Build source distribution (sdist)
run: |
python3 ./setup.py sdist
- name: Build binary distribution
python3 -m build --no-isolation --sdist
- name: Build binary distribution (wheel)
run: |
python3 ./setup.py bdist
- name: Run build and install test
run: |
python3 ./setup.py build
python3 ./setup.py install
python3 -m build --no-isolation --wheel
test_ubuntu:

@@ -47,3 +43,3 @@ runs-on: ubuntu-latest

matrix:
version: ['22.04']
version: ['24.04']
container:

@@ -65,3 +61,3 @@ image: ubuntu:${{ matrix.version }}

apt-get update -q
apt-get install -y build-essential python3 python3-dev python3-distutils python3-pip python3-setuptools python3-wheel python3-yaml
apt-get install -y build-essential python3 python3-build python3-dev python3-distutils python3-pip python3-setuptools python3-wheel python3-yaml
- name: Run tests

@@ -77,14 +73,7 @@ env:

if test -f tests/end-to-end.py; then PYTHONPATH=. python3 ./tests/end-to-end.py --debug -c config/end-to-end.ini; fi
- name: Update setuptools
- name: Build source distribution (sdist)
run: |
python3 -m pip install -U setuptools
- name: Build source distribution
python3 -m build --no-isolation --sdist
- name: Build binary distribution (wheel)
run: |
python3 ./setup.py sdist
- name: Build binary distribution
run: |
python3 ./setup.py bdist
- name: Run build and install test
run: |
python3 ./setup.py build
python3 ./setup.py install
python3 -m build --no-isolation --wheel

@@ -17,4 +17,2 @@ # Run tox tests on Ubuntu Docker images using GIFT PPA

include:
- python-version: '3.7'
toxenv: 'py37,wheel'
- python-version: '3.8'

@@ -21,0 +19,0 @@ toxenv: 'py38,wheel'

Metadata-Version: 2.1
Name: acstore
Version: 20240128
Version: 20240406
Summary: Attribute Container Storage (ACStore).

@@ -11,3 +11,3 @@ Home-page: https://github.com/log2timeline/acstore

Classifier: Programming Language :: Python
Requires-Python: >=3.7
Requires-Python: >=3.8
Description-Content-Type: text/plain

@@ -18,3 +18,4 @@ License-File: ACKNOWLEDGEMENTS

License-File: README
Requires-Dist: PyYAML>=3.10
ACStore, or Attribute Container Storage, provides a stand-alone implementation to read and write attribute container storage files.

@@ -8,2 +8,2 @@ # -*- coding: utf-8 -*-

__version__ = '20240128'
__version__ = '20240406'

@@ -92,2 +92,7 @@ # -*- coding: utf-8 -*-

try:
schema = cls._CONTAINERS_MANAGER.GetSchema(container_type)
except ValueError:
schema = {}
supported_attribute_names = attribute_container.GetAttributeNames()

@@ -102,4 +107,11 @@ for attribute_name, attribute_value in json_dict.items():

data_type = schema.get(attribute_name, None)
serializer = schema_helper.SchemaHelper.GetAttributeSerializer(
data_type, 'json')
if serializer:
attribute_value = serializer.DeserializeValue(attribute_value)
setattr(attribute_container, attribute_name, attribute_value)
return attribute_container

@@ -669,3 +669,3 @@ # -*- coding: utf-8 -*-

column_names = []
values = []
row_values = []
for name, data_type in sorted(schema.items()):

@@ -683,3 +683,3 @@ attribute_value = getattr(container, name, None)

column_names.append(f'{name:s} = ?')
values.append(row_value)
row_values.append(row_value)

@@ -695,3 +695,3 @@ column_names_string = ', '.join(column_names)

try:
self._cursor.execute(query, values)
self._cursor.execute(query, row_values)

@@ -698,0 +698,0 @@ except (sqlite3.InterfaceError, sqlite3.OperationalError) as exception:

@@ -30,3 +30,3 @@ # Installation instructions

## Ubuntu 18.04 and 20.04 LTS
## Ubuntu 22.04 LTS

@@ -53,2 +53,3 @@ To install ACStore from the [GIFT Personal Package Archive (PPA)](https://launchpad.net/~gift):

* main; branch intended for the "packaged release" of ACStore and dependencies;
* staging; branch intended for testing pre-releases of ACStore;
* dev; branch intended for the "development release" of ACStore;

@@ -60,4 +61,3 @@ * testing; branch intended for testing newly created packages.

The script requires [pywin32](https://github.com/mhammond/pywin32/releases) and
[Python WMI](https://pypi.org/project/WMI).
The script requires [pywin32](https://github.com/mhammond/pywin32/releases).

@@ -64,0 +64,0 @@ To install the release versions of the dependencies run:

Metadata-Version: 2.1
Name: acstore
Version: 20240128
Version: 20240406
Summary: Attribute Container Storage (ACStore).

@@ -11,3 +11,3 @@ Home-page: https://github.com/log2timeline/acstore

Classifier: Programming Language :: Python
Requires-Python: >=3.7
Requires-Python: >=3.8
Description-Content-Type: text/plain

@@ -18,3 +18,4 @@ License-File: ACKNOWLEDGEMENTS

License-File: README
Requires-Dist: PyYAML>=3.10
ACStore, or Attribute Container Storage, provides a stand-alone implementation to read and write attribute container storage files.

@@ -7,5 +7,5 @@ [build-system]

black = false
non-cap = ["dfDateTime", "dfImageTools", "dfVFS", "dfWinReg", "dtFabric"]
non-cap = ["dfDateTime", "dfImageTools", "dfVFS", "dfWinReg", "dtFabric", "iMessage", "iOS", "iPod", "mDNS"]
non-strict = false
wrap-summaries = 80
wrap-descriptions = 80
[metadata]
name = acstore
version = 20240128
version = 20240406
description = Attribute Container Storage (ACStore).

@@ -25,3 +25,3 @@ long_description = ACStore, or Attribute Container Storage, provides a stand-alone implementation to read and write attribute container storage files.

packages = find:
python_requires = >=3.7
python_requires = >=3.8

@@ -36,14 +36,2 @@ [options.packages.find]

[bdist_rpm]
release = 1
packager = Log2Timeline maintainers <log2timeline-maintainers@googlegroups.com>
doc_files =
ACKNOWLEDGEMENTS
AUTHORS
LICENSE
README
build_requires = python3-setuptools
requires =
python3-pyyaml >= 3.10
[bdist_wheel]

@@ -50,0 +38,0 @@ universal = 1

[tox]
envlist = py3{7,8,9,10,11,12},coverage,docformatter,docs,lint,wheel
envlist = py3{8,9,10,11,12},coverage,docformatter,docs,lint,wheel

@@ -22,3 +22,3 @@ [testenv]

commands =
py3{7,8,9,10,11,12}: ./run_tests.py
py3{8,9,10,11,12}: ./run_tests.py
coverage: coverage erase

@@ -25,0 +25,0 @@ coverage: coverage run --source=acstore --omit="*_test*,*__init__*,*test_lib*" run_tests.py

Sorry, the diff of this file is not supported yet