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 acstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
to read and write plaso storage files.
"""

__version__ = '20250727'
__version__ = '20251124'
4 changes: 2 additions & 2 deletions config/dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
acstore (20250727-1) unstable; urgency=low
acstore (20251124-1) unstable; urgency=low

* Auto-generated

-- Log2Timeline maintainers <log2timeline-maintainers@googlegroups.com> Sun, 27 Jul 2025 07:12:42 +0200
-- Log2Timeline maintainers <log2timeline-maintainers@googlegroups.com> Mon, 24 Nov 2025 13:10:46 +0100
7 changes: 0 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"

[tool.docformatter]
black = false
non-cap = ["dfDateTime", "dfImageTools", "dfVFS", "dfWinReg", "dtFabric", "iMessage", "iOS", "iPod", "mDNS"]
non-strict = false
wrap-summaries = 80
wrap-descriptions = 80
2 changes: 1 addition & 1 deletion run_tests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Script to run the tests."""

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = acstore
version = 20251120
version = 20251124
description = Attribute Container Storage (ACStore).
long_description = ACStore, or Attribute Container Storage, provides a stand-alone implementation to read and write attribute container storage files.
long_description_content_type = text/plain
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Installation and deployment script."""

Expand Down
14 changes: 2 additions & 12 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py3{10,11,12,13,14},coverage,docformatter,docs,lint,wheel
envlist = py3{10,11,12,13,14},coverage,docs,lint,wheel

[testenv]
allowlist_externals = ./run_tests.py
Expand All @@ -25,13 +25,6 @@ commands =
coverage: coverage xml
wheel: python -m build --no-isolation --wheel

[testenv:docformatter]
usedevelop = True
deps =
docformatter
commands =
docformatter --in-place --recursive acstore tests

[testenv:docs]
usedevelop = True
deps =
Expand All @@ -52,14 +45,11 @@ setenv =
deps =
-rrequirements.txt
-rtest_requirements.txt
docformatter
pylint >= 3.3.0, < 3.4.0
setuptools
setuptools >= 65
yamllint >= 1.26.0
commands =
docformatter --version
pylint --version
yamllint -v
docformatter --check --diff --recursive acstore setup.py tests
pylint --rcfile=.pylintrc acstore setup.py tests
yamllint -c .yamllint.yaml test_data
2 changes: 1 addition & 1 deletion utils/check_dependencies.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Script to check for the availability and version of dependencies."""

Expand Down
10 changes: 7 additions & 3 deletions utils/update_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@
EXIT_FAILURE=1;
EXIT_SUCCESS=0;

VERSION=`date -u +"%Y%m%d"`
DPKG_DATE=`date -R`
VERSION=$(date -u +"%Y%m%d")

# Update the Python module version.
sed "s/__version__ = '[0-9]*'/__version__ = '${VERSION}'/" -i acstore/__init__.py

# Update the version in the setuptools configuration.
sed "s/version = [0-9]*/version = ${VERSION}/" -i setup.cfg

# Ensure shebangs of Python scripts are consistent.
find . -name \*.py -exec sed '1s?^#!.*$?#!/usr/bin/env python3?' -i {} \;

# Update the version in the dpkg configuration files.
DPKG_DATE=$(date -R)

cat > config/dpkg/changelog << EOT
acstore (${VERSION}-1) unstable; urgency=low

Expand All @@ -25,7 +29,7 @@ acstore (${VERSION}-1) unstable; urgency=low
EOT

# Regenerate the API documentation.
tox -edocformatter,docs
tox -edocs

exit ${EXIT_SUCCESS};