Skip to content

Commit

Permalink
Changes for dpkg files
Browse files Browse the repository at this point in the history
  • Loading branch information
joachimmetz committed Mar 3, 2024
1 parent 422d7fe commit 8544f72
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
version: ['38']
version: ['39']
container:
image: registry.fedoraproject.org/fedora:${{ matrix.version }}
steps:
Expand Down
2 changes: 1 addition & 1 deletion artifacts/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# -*- coding: utf-8 -*-
"""ForensicArtifacts.com Artifact Repository."""

__version__ = '20240210'
__version__ = '20240303'
2 changes: 1 addition & 1 deletion config/dpkg/artifacts-data.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
data/* usr/share/artifacts
usr/share/artifacts
4 changes: 2 additions & 2 deletions config/dpkg/changelog
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
artifacts (20240210-1) unstable; urgency=low
artifacts (20240303-1) unstable; urgency=low

* Auto-generated

-- Forensic artifacts <[email protected]> Sat, 10 Feb 2024 08:20:40 +0100
-- Forensic artifacts <[email protected]> Sun, 03 Mar 2024 10:03:58 +0100
9 changes: 8 additions & 1 deletion config/dpkg/control
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,16 @@ Standards-Version: 4.1.4
X-Python3-Version: >= 3.6
Homepage: https://github.com/ForensicArtifacts/artifacts

Package: artifacts-data
Architecture: all
Depends: ${misc:Depends}
Description: Data files for Digital Forensics Artifacts Repository
A free, community-sourced, machine-readable knowledge base of forensic
artifacts that the world can use both as an information source and within other tools.

Package: python3-artifacts
Architecture: all
Depends: python3-yaml (>= 3.10), ${misc:Depends}
Depends: artifacts-data (>= ${binary:Version}), python3-yaml (>= 3.10), ${misc:Depends}
Description: Python 3 module of Digital Forensics Artifacts Repository
A free, community-sourced, machine-readable knowledge base of forensic
artifacts that the world can use both as an information source and within other tools.
Expand Down
8 changes: 8 additions & 0 deletions config/dpkg/rules
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,11 @@
.PHONY: override_dh_auto_test
override_dh_auto_test:

.PHONY: override_dh_auto_install
override_dh_auto_install:
dh_auto_install
mkdir -p ${PWD}/debian/tmp/usr/share/artifacts/
mv ${PWD}/debian/tmp/usr/lib/python*/dist-packages/artifacts/data/* ${PWD}/debian/tmp/usr/share/artifacts/
rmdir ${PWD}/debian/tmp/usr/lib/python*/dist-packages/artifacts/data
find ${PWD}/debian/tmp/usr/bin/ -type f -exec {} {}.py \;

12 changes: 6 additions & 6 deletions docs/sources/background/Stats.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ The artifact definitions can be found in the
[artifacts/data directory](https://github.com/ForensicArtifacts/artifacts/tree/main/artifacts/data) and the format is described
in detail in the [Style Guide](https://artifacts.readthedocs.io/en/latest/sources/Format-specification.html).

Status of the repository as of 2024-01-28
Status of the repository as of 2024-03-03

Description | Number
--- | ---
Number of artifact definitions: | 822
Number of file paths: | 2178
Number of artifact definitions: | 831
Number of file paths: | 2280
Number of Windows Registry key paths: | 677

### Artifact definition source types
Expand All @@ -18,7 +18,7 @@ Identifier | Number
--- | ---
ARTIFACT_GROUP | 47
COMMAND | 10
FILE | 537
FILE | 546
PATH | 28
REGISTRY_KEY | 57
REGISTRY_VALUE | 116
Expand All @@ -28,8 +28,8 @@ WMI | 27

Identifier | Number
--- | ---
Darwin | 204
Darwin | 213
ESXi | 16
Linux | 248
Windows | 378
Windows | 379

4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = artifacts
version = 20240210
version = 20240303
description = ForensicArtifacts.com Artifact Repository.
long_description = A free, community-sourced, machine-readable knowledge base of forensic artifacts that the world can use both as an information source and within other tools.
long_description_content_type = text/plain
Expand All @@ -22,7 +22,7 @@ install_requires = file:requirements.txt
package_dir =
artifacts = artifacts
packages = find:
python_requires = >=3.7
python_requires = >=3.8

[options.package_data]
artifacts =
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,4 @@ commands =
yamllint -v
docformatter --check --diff --recursive artifacts setup.py tests
pylint --rcfile=.pylintrc artifacts setup.py tests
yamllint -c .yamllint.yaml artifacts/data test_data
yamllint -c .yamllint.yaml artifacts test_data

0 comments on commit 8544f72

Please sign in to comment.