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

Release v24.2 #340

Merged
merged 30 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
1bdc7e3
Add: v24.2 (#275)
dnzbk May 15, 2024
488f833
Add LinuxServer.io information (#276)
phnzb May 16, 2024
cb88ac9
add shutdown delay check for daemon process (#281)
OneCDOnly May 20, 2024
c200293
QNAP: don't overwrite existing config file when upgrading QPKG (#285)
OneCDOnly May 24, 2024
68ddad5
QNAP: improve package icons (#287)
OneCDOnly May 28, 2024
8648fca
added v24 versions into issue templates (#290)
luckedea May 30, 2024
0043452
Linux: migrate to CMake (#293)
phnzb Jun 3, 2024
a98e6d1
Fix: data races, multithreading improvements, compiler warnings (#282)
dnzbk Jun 4, 2024
9405f18
Windows: package managers documentation (#298)
phnzb Jun 19, 2024
515cd10
Complete migration to CMake (#301)
phnzb Jun 21, 2024
412d9e5
Fix: add missing HAVE_ALLOCA_H definition for regex (#308)
sbraz Jul 16, 2024
6fdc4fb
feature/local dockerfile build (#305)
Jhonny0007 Jul 16, 2024
014bec8
Fix: FileSystem tests on POSIX (#311)
dnzbk Jul 17, 2024
b09d1f4
Fix symlinks for lsio-migrated users (#313)
phnzb Jul 18, 2024
a7ac9a9
Remove the use of Boost.Variant and Boost.Optional (#317)
dnzbk Jul 19, 2024
6d6d973
Speed value overflow (#314)
dnzbk Jul 22, 2024
8ea21ec
Fix: POSIX build (#320)
dnzbk Jul 22, 2024
5c00f58
Fix: int32 overflow (#321)
dnzbk Jul 24, 2024
e269db5
docs/extensions: make JSON valid (#323)
sbraz Jul 25, 2024
2a54185
Fix: wrong 'number' type for doubles in xml (#326)
dnzbk Jul 26, 2024
cf1eb07
Feature/read nzbpassword from filename (#310)
Jhonny0007 Jul 29, 2024
3f71747
Doc: some corrections (#329)
dnzbk Jul 29, 2024
c5dce75
System info tab and Server Speed Tests (#303)
dnzbk Jul 31, 2024
7f8360c
Android support (#325)
phnzb Aug 1, 2024
638e32b
Fix: free/total disk size on x32 systems (#332)
dnzbk Aug 1, 2024
575cef9
Installation without nzbget.conf (#259)
dnzbk Aug 2, 2024
b44e713
Add: v24.2 changelog (#335)
dnzbk Aug 2, 2024
4c8b021
Fix building on OpenBSD (#336)
bket Aug 4, 2024
8d2c00e
CMakeLists.txt - Fix omission in CMAKE_CXX_FLAGS_DEBUG (#338)
bket Aug 4, 2024
bc9637c
Fix building with LibreSSL (#337)
bket Aug 5, 2024
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
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/01_bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,19 @@ body:
label: NZBGet Version
description: Which version of NZBGet has this bug?
options:
- v24.2-stable
- v24.3-testing
- v24.1-stable
- v24.1-testing
- v24-stable
- v24-testing
- v23-stable
- v23-testing
- v22-stable (nzbgetcom takeover)
- v22-testing (nzbgetcom takeover)
- v21 or earlier (orignal nzbget)
- latest-stable (if not listed here)
- latest-testing (if not listed here)
validations:
required: true
- type: dropdown
Expand Down
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/03_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ body:
label: NZBGet Version
description: Version of NZBGet for the scope of this issue
options:
- v24.2-stable
- v24.3-testing
- v24.1-stable
- v24.1-testing
- v24-stable
- v24-testing
- v23-stable
- v23-testing
- v22-stable (nzbgetcom takeover)
- v22-testing (nzbgetcom takeover)
- v21 or earlier (orignal nzbget)
- latest-stable (if not listed here)
- latest-testing (if not listed here)
validations:
required: true
- type: dropdown
Expand Down
47 changes: 47 additions & 0 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: android build

on:
workflow_call:
workflow_dispatch:

jobs:
build:
runs-on: [self-hosted, nzbget-android]

steps:

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Build
run: |
BUILD_PARAMS="android bin installer"
if [ "$GITHUB_REF_NAME" == "develop" ] || [ "$GITHUB_REF_NAME" == "main" ]; then
BUILD_PARAMS="$BUILD_PARAMS debug release"
else
BUILD_PARAMS="$BUILD_PARAMS release"
fi
if [ "$GITHUB_REF_NAME" != "main" ]; then
BUILD_PARAMS="$BUILD_PARAMS testing"
fi
bash linux/build-nzbget.sh $BUILD_PARAMS

- name: Rename build artifacts
if: github.ref_name != 'main' && github.ref_name != 'develop'
run: |
cd build
SUFFIX="-${GITHUB_REF_NAME/\//-}-bin-android.run"
for FILE in *.run; do
[ -f $FILE ] || continue
NEW_FILE=${FILE/-bin-android.run/$SUFFIX}
mv $FILE $NEW_FILE
done

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: nzbget-android-installers
path: build/*.run
retention-days: 5
21 changes: 8 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,15 @@ jobs:

build-linux:
uses: ./.github/workflows/linux.yml


build-android:
uses: ./.github/workflows/android.yml

build-osx:
uses: ./.github/workflows/osx.yml
permissions:
actions: write

build-synology:
uses: ./.github/workflows/synology.yml

build-qnap:
uses: ./.github/workflows/qnap.yml

build-linux-pkg:
uses: ./.github/workflows/linux-pkg.yml
with:
Expand All @@ -40,12 +37,12 @@ jobs:
needs: [build-linux]
permissions:
actions: write

generate-signatures:
env:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}
runs-on: ubuntu-latest
needs: [build-windows, build-linux, build-osx, build-synology, build-qnap, repack-qnap, build-linux-pkg]
needs: [build-windows, build-linux, build-osx, build-android, repack-qnap, build-linux-pkg]
permissions:
actions: write
steps:
Expand All @@ -58,10 +55,9 @@ jobs:
mkdir -p builds
mv nzbget-windows-installers/* builds || true
mv nzbget-linux-installers/* builds || true
mv nzbget-android-installers/* builds || true
mv nzbget-osx-installers/* builds || true
mv nzbget-synology-packages/* builds || true
mv nzbget-qnap-packages/* builds || true
mv nzbget-qnap-native-packages/* builds || true
mv nzbget-deb-packages/* builds || true
mv nzbget-rpm-packages/* builds || true
cd builds
Expand Down Expand Up @@ -110,10 +106,9 @@ jobs:
name: |
nzbget-windows-installers
nzbget-linux-installers
nzbget-android-installers
nzbget-osx-installers
nzbget-synology-packages
nzbget-qnap-packages
nzbget-qnap-native-packages

- name: Delete unneded linux packages artifacts
uses: geekyeggo/delete-artifact@v4
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: docker
context: .
file: docker/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
provenance: false
push: true
Expand Down
37 changes: 12 additions & 25 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,46 +15,33 @@ jobs:
with:
fetch-depth: 0

- name: Change version for non-release
if: github.ref_name != 'main'
run: |
VERSION=$(cat configure.ac | grep AC_INIT | cut -d , -f 2 | xargs)
NEW_VERSION="$VERSION-testing-$(date '+%Y%m%d')"
sed -e "s|AC_INIT(nzbget.*|AC_INIT(nzbget, $NEW_VERSION, https://github.com/nzbgetcom/nzbget/issues)|g" -i configure.ac
echo NEW_VERSION=$NEW_VERSION >> $GITHUB_ENV

- name: Build
run: |
rm -rf /build/nzbget
rm -rf /build/output
cp -r . /build/nzbget
cd /build
BUILD_PARAMS="linux bin installer"
if [ "$GITHUB_REF_NAME" == "develop" ] || [ "$GITHUB_REF_NAME" == "main" ]; then
DEBUG=yes
BUILD_PARAMS="$BUILD_PARAMS debug release"
else
DEBUG=no
BUILD_PARAMS="$BUILD_PARAMS release"
fi
if [ "$GITHUB_REF_NAME" != "main" ]; then
BUILD_PARAMS="$BUILD_PARAMS testing"
fi
ALL_ARCHS="i686 x86_64 aarch64 armhf armel mipseb mipsel ppc6xx ppc500 riscv64" DEBUG=$DEBUG /build/scripts/build-nzbget-ci.sh
bash linux/build-nzbget.sh $BUILD_PARAMS

- name: Rename build artifacts
if: github.ref_name != 'main' && github.ref_name != 'develop'
run: |
cd /build/output
NEW_VERSION_FEATURE="$NEW_VERSION-${GITHUB_REF_NAME/\//-}"
cd build
SUFFIX="-${GITHUB_REF_NAME/\//-}-bin-linux.run"
for FILE in *.run; do
[ -f $FILE ] || continue
NEW_FILE=${FILE/$NEW_VERSION/$NEW_VERSION_FEATURE}
mv $FILE $NEW_FILE
NEW_FILE=${FILE/-bin-linux.run/$SUFFIX}
mv $FILE $NEW_FILE
done

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: nzbget-linux-installers
path: /build/output/*.run
path: build/*.run
retention-days: 5

- name: Cleanup
run: |
rm -rf /build/nzbget
rm -rf /build/output
26 changes: 11 additions & 15 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
- name: Build
run: |
if [ "$GITHUB_REF_NAME" != "main" ]; then
bash osx/build-nzbget-x64.sh testing
bash osx/build-nzbget.sh x64 testing
else
bash osx/build-nzbget-x64.sh
bash osx/build-nzbget.sh x64
fi

- name: Rename build artifacts
Expand Down Expand Up @@ -51,34 +51,30 @@ jobs:
with:
fetch-depth: 0

- name: Change version for non-release
if: github.ref_name != 'main'
run: |
VERSION=$(cat configure.ac | grep AC_INIT | cut -d , -f 2 | xargs)
NEW_VERSION="$VERSION-testing-$(date '+%Y%m%d')"
sed -e "s|AC_INIT(nzbget.*|AC_INIT(nzbget, $NEW_VERSION, https://github.com/nzbgetcom/nzbget/issues)|g" -i '' configure.ac
echo NEW_VERSION=$NEW_VERSION >> $GITHUB_ENV

- name: Build
run: |
bash osx/build-nzbget-universal.sh
if [ "$GITHUB_REF_NAME" != "main" ]; then
bash osx/build-nzbget.sh universal testing
else
bash osx/build-nzbget.sh universal
fi

- name: Rename build artifacts
if: github.ref_name != 'main' && github.ref_name != 'develop'
run: |
cd osx/build/Release
NEW_VERSION_FEATURE="$NEW_VERSION-${GITHUB_REF_NAME/\//-}"
cd build
SUFFIX="${GITHUB_REF_NAME/\//-}"
for FILE in *.zip; do
[ -f $FILE ] || continue
NEW_FILE=${FILE/$NEW_VERSION/$NEW_VERSION_FEATURE}
NEW_FILE=${FILE/-bin-macos-universal.zip/-$SUFFIX-bin-macos-universal.zip}
mv $FILE $NEW_FILE
done

- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: nzbget-osx-installers-universal
path: osx/build/Release/*.zip
path: build/*-universal.zip
retention-days: 5

combine-osx-artifacts:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qnap-repack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Rename build artifacts
if: github.ref_name != 'main'
run: |
VERSION=$(cat configure.ac | grep AC_INIT | cut -d , -f 2 | xargs)
VERSION=$(grep "set(VERSION " CMakeLists.txt | cut -d '"' -f 2)
NEW_VERSION="$VERSION-testing-$(date '+%Y%m%d')"
cd /qnap/nzbget/build/
for FILE in *.qpkg; do
Expand Down
49 changes: 0 additions & 49 deletions .github/workflows/qnap.yml

This file was deleted.

43 changes: 0 additions & 43 deletions .github/workflows/synology.yml

This file was deleted.

Loading
Loading