From 7e0fc052cd1b731ec59b0dfaa63387ed3fc16d51 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 11 Sep 2023 08:58:22 -0400 Subject: [PATCH 1/7] Run pre-commit autoupdate No effects were observed on Make-managed files. Signed-off-by: Alex Nelson --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b4161f2..09d33e9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 23.7.0 + rev: 23.9.1 hooks: - id: black - repo: https://github.com/pycqa/flake8 From 23f7c56cee386f128e084b0868bd47f65f98d592 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Fri, 20 Oct 2023 08:37:43 -0400 Subject: [PATCH 2/7] Run pre-commit autoupdate No effects were observed on Make-managed files. Signed-off-by: Alex Nelson --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 09d33e9..2818845 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 23.9.1 + rev: 23.10.0 hooks: - id: black - repo: https://github.com/pycqa/flake8 From f591356bf417e8a5ac1bcb0f373a5f1a09ea61db Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 26 Oct 2023 13:38:38 -0400 Subject: [PATCH 3/7] Review pre-commit pinned versions as prerelease step Because refreshing `pre-commit`'s pinned versions is the only supply chain check for this repository, this patch also removes the nightly supply chain review job. References: * https://github.com/casework/CASE-Implementation-PROV-O/pull/92 Signed-off-by: Alex Nelson --- .../{supply-chain.yml => prerelease.yml} | 24 +++++++++++-------- Makefile | 1 + 2 files changed, 15 insertions(+), 10 deletions(-) rename .github/workflows/{supply-chain.yml => prerelease.yml} (55%) diff --git a/.github/workflows/supply-chain.yml b/.github/workflows/prerelease.yml similarity index 55% rename from .github/workflows/supply-chain.yml rename to .github/workflows/prerelease.yml index b16ea59..2a08302 100644 --- a/.github/workflows/supply-chain.yml +++ b/.github/workflows/prerelease.yml @@ -1,22 +1,26 @@ +# Portions of this file contributed by NIST are governed by the following +# statement: +# # This software was developed at the National Institute of Standards # and Technology by employees of the Federal Government in the course -# of their official duties. Pursuant to title 17 Section 105 of the -# United States Code this software is not subject to copyright -# protection and is in the public domain. NIST assumes no -# responsibility whatsoever for its use by other parties, and makes -# no guarantees, expressed or implied, about its quality, -# reliability, or any other characteristic. +# of their official duties. Pursuant to Title 17 Section 105 of the +# United States Code, this software is not subject to copyright +# protection within the United States. NIST assumes no responsibility +# whatsoever for its use by other parties, and makes no guarantees, +# expressed or implied, about its quality, reliability, or any other +# characteristic. # # We would appreciate acknowledgement if the software is used. # This workflow uses Make to review direct dependencies of this # repository. -name: Supply Chain +name: Prerelease on: - schedule: - - cron: '15 5 * * 1,2,3,4,5' + pull_request: + branches: + - main jobs: build: @@ -37,4 +41,4 @@ jobs: with: python-version: ${{ matrix.python-version }} - name: Review dependencies - run: make check-supply-chain + run: make check-supply-chain-pre-commit diff --git a/Makefile b/Makefile index c4aa1d4..4b13058 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,7 @@ check: \ check-supply-chain: \ check-supply-chain-pre-commit +# This target is scheduled to run as part of prerelease review. check-supply-chain-pre-commit: \ .venv-pre-commit/var/.pre-commit-built.log source .venv-pre-commit/bin/activate \ From e2705d0adcb85cb55d73731f6c5bb3e46317745b Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 26 Oct 2023 13:42:21 -0400 Subject: [PATCH 4/7] Bump version Signed-off-by: Alex Nelson --- case_exiftool/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/case_exiftool/__init__.py b/case_exiftool/__init__.py index 717f430..9aab467 100644 --- a/case_exiftool/__init__.py +++ b/case_exiftool/__init__.py @@ -15,7 +15,7 @@ This tool parses the RDF output of ExifTool, mapping it into UCO properties and relationships-of-assumption. An analyst should later annotate the output with their beliefs on its verity. """ -__version__ = "0.8.0" +__version__ = "0.8.1" import argparse import contextlib From 3f4b4d869aa8a1b16fa63b162bb64dd9ad80daeb Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 26 Oct 2023 13:44:41 -0400 Subject: [PATCH 5/7] Run pre-commit autoupdate No effects were observed on Make-managed files. Signed-off-by: Alex Nelson --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 2818845..5ae8713 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/psf/black - rev: 23.10.0 + rev: 23.10.1 hooks: - id: black - repo: https://github.com/pycqa/flake8 From 3e4995a2a534e0c06f606bcaaa58016d45dae742 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 26 Oct 2023 13:55:57 -0400 Subject: [PATCH 6/7] Bump checkout action Signed-off-by: Alex Nelson --- .github/workflows/ci.yml | 2 +- .github/workflows/prerelease.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ef5cac2..47e3ed0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - '3.11' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 2a08302..246cde9 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -33,7 +33,7 @@ jobs: - '3.11' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: develop - name: Set up Python ${{ matrix.python-version }} From d7022e6b3c296e03640c4bdc34f661d32d94eab0 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Thu, 26 Oct 2023 14:48:00 -0400 Subject: [PATCH 7/7] Remove reference set for nightly reviews Signed-off-by: Alex Nelson --- .github/workflows/prerelease.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 246cde9..01cf7f1 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -34,8 +34,6 @@ jobs: steps: - uses: actions/checkout@v4 - with: - ref: develop - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v4 with: