Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepare for the 1.7.0 release #183

Merged
merged 44 commits into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
735404f
fix typos in comments
Apr 6, 2024
88fb671
improve search for clang compilers in the quality script
Apr 6, 2024
343a271
Fix dashes in man page
h3xx Dec 12, 2023
607a52a
get rid of trailing whitespace and extra newlines
Apr 6, 2024
8dda9fd
update nettle and don't use deprecated header
Jan 11, 2025
2938fb2
fix dysfunctional mac CI job
Jan 11, 2025
9ab08a1
polish CI jobs
Jan 11, 2025
591be24
routine maintenance of CI #168
pauldreik Jan 11, 2025
0347de3
run CI actions on branch main, develop
Jan 12, 2025
5bef005
polish readme
Jan 12, 2025
7eb392a
fix badges in readme.md #169
pauldreik Jan 12, 2025
f86108b
the devel branch is spelled devel, not develop
Jan 12, 2025
5ee23be
fix #106: allow test to run as root
Jan 12, 2025
0a6b58b
add debian to CI
Jan 12, 2025
0c9dd8a
add debian CI and fix running tests as root #170
pauldreik Jan 12, 2025
9ac0428
add clang format CI job
Jan 12, 2025
d70a586
run clang format
Jan 12, 2025
74a1505
add fedora CI job
Jan 12, 2025
d285323
switch to C++17
Jan 12, 2025
45135f8
fix som cppcheck issues
Jan 12, 2025
64a6725
fix buggy unit test, bug in check for getDigestLength() and make it i…
Jan 12, 2025
1acbf12
avoid irrelevant c_str()
Jan 12, 2025
8340af7
add shellcheck script and workflow
trollkarlen Jan 23, 2025
46bc68f
fix shellcheck in all files except test cases
trollkarlen Jan 23, 2025
6ac64fa
fix shellcheck in test cases
trollkarlen Jan 23, 2025
3ae7cfe
fix yamllint in workflows
trollkarlen Jan 23, 2025
af25db5
add inofficial cmake support
Jan 26, 2025
4ef2506
drop unused include
Jan 26, 2025
b2f34eb
add buffersize argument
trollkarlen Jan 13, 2025
106beae
add buffersize to man file
trollkarlen Jan 22, 2025
8a97264
add buffersize test cases
trollkarlen Jan 23, 2025
623b317
detect xxhash in configure.ac
Jan 12, 2025
a6cfdcc
add xxhash support to cmake
Feb 1, 2025
c67fe71
add optional xxHash checksum support
Jan 12, 2025
53c44b9
update manpages for xxhash
trollkarlen Jan 22, 2025
c3915fe
add workflow and tests for xxhash
trollkarlen Jan 22, 2025
565cefc
fix mistake in comment and error message
Feb 3, 2025
adf3e7a
add script for formatting shell files
Feb 3, 2025
8fed68d
add ci job for shell script formatting
Feb 3, 2025
3752a77
auto format shell scripts
Feb 3, 2025
c9f1dfa
extend buffersize test to cover 2KiB-128MiB
Feb 3, 2025
b09beff
merge main into devel
Feb 3, 2025
057bfd7
update changelog, news, readme for 1.7.0
Feb 3, 2025
b1870b0
update version to 1.7.next
Feb 3, 2025
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
38 changes: 19 additions & 19 deletions .github/workflows/clang18.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: clang 18

on:
"on":
push:
branches:
- main
Expand All @@ -14,21 +15,20 @@ jobs:
runs-on: ubuntu-24.04

steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: sudo apt install build-essential nettle-dev time clang-18
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure CXX=clang++-18
- name: build
run: make
- name: check
run: make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'

- name: checkout
uses: actions/checkout@v4
- name: install packages
run: sudo apt install build-essential nettle-dev time clang-18
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure CXX=clang++-18
- name: build
run: make
- name: check
run: make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
60 changes: 31 additions & 29 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
Expand All @@ -11,12 +12,12 @@
#
name: "CodeQL"

on:
"on":
push:
branches: [ "main", "devel" ]
branches: ["main", "devel"]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "devel" ]
branches: ["main", "devel"]
schedule:
- cron: '39 4 * * 0'

Expand All @@ -32,39 +33,40 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ 'cpp' ]
language: ['cpp']
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby', 'swift' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Checkout repository
uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install autoconf autoconf-archive nettle-dev build-essential g++ -y
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install autoconf autoconf-archive nettle-dev build-essential g++ -y

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Build
run: |
./bootstrap.sh
./configure
make
# For more details on CodeQL's query packs, refer to:
# https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
- name: Build
run: |
./bootstrap.sh
./configure
make

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
26 changes: 13 additions & 13 deletions .github/workflows/cppcheck.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: cppcheck

on:
"on":
push:
branches:
- main
Expand All @@ -14,15 +15,14 @@ jobs:
runs-on: ubuntu-20.04

steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: sudo apt install cppcheck
- name: run cppcheck
run: cppcheck/run_cppcheck.sh
- name: store the cppcheck output as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: 'cppcheck/out/*'

- name: checkout
uses: actions/checkout@v4
- name: install packages
run: sudo apt install cppcheck
- name: run cppcheck
run: cppcheck/run_cppcheck.sh
- name: store the cppcheck output as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: 'cppcheck/out/*'
55 changes: 28 additions & 27 deletions .github/workflows/debian-bookworm.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: debian 12 bookworm

on:
"on":
push:
branches:
- main
Expand All @@ -14,29 +15,29 @@ jobs:
container:
image: debian:bookworm-slim
steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++17
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++17
- name: build with hardened build flags
run: |
make clean
eval $(DEB_CXXFLAGS_APPEND=-std=c++17 DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh)
./configure
make
make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++17
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++17
- name: build with hardened build flags
run: |
make clean
eval $(DEB_CXXFLAGS_APPEND=-std=c++17 DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh)
./configure
make
make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
55 changes: 28 additions & 27 deletions .github/workflows/debian-bullseye.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: debian 11 bullseye

on:
"on":
push:
branches:
- main
Expand All @@ -14,29 +15,29 @@ jobs:
container:
image: debian:bullseye-slim
steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++17
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++17
- name: build with hardened build flags
run: |
make clean
eval $(DEB_CXXFLAGS_APPEND=-std=c++17 DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh)
./configure
make
make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++17
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++17
- name: build with hardened build flags
run: |
make clean
eval $(DEB_CXXFLAGS_APPEND=-std=c++17 DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh)
./configure
make
make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
55 changes: 28 additions & 27 deletions .github/workflows/debian-trixie.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: debian 13 trixie

on:
"on":
push:
branches:
- main
Expand All @@ -14,29 +15,29 @@ jobs:
container:
image: debian:trixie-slim
steps:
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++17
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++17
- name: build with hardened build flags
run: |
make clean
eval $(DEB_CXXFLAGS_APPEND=-std=c++17 DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh)
./configure
make
make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
- name: checkout
uses: actions/checkout@v4
- name: install packages
run: apt-get update && apt-get install autoconf build-essential nettle-dev libcap2-bin --yes
- name: bootstrap
run: ./bootstrap.sh
- name: configure
run: ./configure --enable-warnings CXXFLAGS=-std=c++17
- name: make
run: make
- name: make check
run: make check
- name: make distcheck
run: make distcheck CXXFLAGS=-std=c++17
- name: build with hardened build flags
run: |
make clean
eval $(DEB_CXXFLAGS_APPEND=-std=c++17 DEB_BUILD_MAINT_OPTIONS="hardening=+all qa=+all,-canary reproducible=+all" dpkg-buildflags --export=sh)
./configure
make
make check
- name: store the logs as an artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
path: '**/*.log'
Loading
Loading