Skip to content

Commit abcca06

Browse files
committed
v2.1.0
v2.1.0 v2.1.0
1 parent a754a3d commit abcca06

File tree

5 files changed

+3438
-272
lines changed

5 files changed

+3438
-272
lines changed

.github/workflows/ci-alpine-build.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ jobs:
9999
- name: Docker - apk install bash ${{ inputs.distinct_id }}
100100
run: docker exec -w /root multiarch apk add bash
101101

102-
- name: Docker - Bootstrap ${{ inputs.distinct_id }}
103-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh -bs-a
102+
- name: Docker - Bootstrap deps ${{ inputs.distinct_id }}
103+
run: docker exec -w /root multiarch bash qbt-nox-static.bash bootstrap_deps
104+
105+
- name: Docker - Bootstrap build ${{ inputs.distinct_id }}
106+
run: docker exec -w /root multiarch bash qbt-nox-static.bash -bs-a
104107

105108
- name: Host - qBittorrent v5 transition ${{ inputs.distinct_id }}
106109
run: |
@@ -115,43 +118,43 @@ jobs:
115118

116119
- name: Docker - zlib-ng ${{ inputs.distinct_id }}
117120
if: env.disable_qt5 != 'yes'
118-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh zlib
121+
run: docker exec -w /root multiarch bash qbt-nox-static.bash zlib
119122

120123
- name: Docker - iconv ${{ inputs.distinct_id }}
121124
if: env.disable_qt5 != 'yes'
122-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh iconv
125+
run: docker exec -w /root multiarch bash qbt-nox-static.bash iconv
123126

124127
- name: Docker - icu ${{ inputs.distinct_id }}
125128
if: env.disable_qt5 != 'yes'
126-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh icu
129+
run: docker exec -w /root multiarch bash qbt-nox-static.bash icu
127130

128131
- name: Docker - openssl ${{ inputs.distinct_id }}
129132
if: env.disable_qt5 != 'yes'
130-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh openssl
133+
run: docker exec -w /root multiarch bash qbt-nox-static.bash openssl
131134

132135
- name: Docker - boost ${{ inputs.distinct_id }}
133136
if: env.disable_qt5 != 'yes'
134-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh boost
137+
run: docker exec -w /root multiarch bash qbt-nox-static.bash boost
135138

136139
- name: Docker - libtorrent ${{ inputs.distinct_id }}
137140
if: env.disable_qt5 != 'yes'
138-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh libtorrent
141+
run: docker exec -w /root multiarch bash qbt-nox-static.bash libtorrent
139142

140143
- name: Docker - double_conversion ${{ inputs.distinct_id }}
141144
if: matrix.qbt_build_tool == '' && env.disable_qt5 != 'yes'
142-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh double_conversion
145+
run: docker exec -w /root multiarch bash qbt-nox-static.bash double_conversion
143146

144147
- name: Docker - qtbase ${{ inputs.distinct_id }}
145148
if: env.disable_qt5 != 'yes'
146-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh qtbase
149+
run: docker exec -w /root multiarch bash qbt-nox-static.bash qtbase
147150

148151
- name: Docker - qttools ${{ inputs.distinct_id }}
149152
if: env.disable_qt5 != 'yes'
150-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh qttools
153+
run: docker exec -w /root multiarch bash qbt-nox-static.bash qttools
151154

152155
- name: Docker - qbittorrent ${{ inputs.distinct_id }}
153156
if: env.disable_qt5 != 'yes'
154-
run: docker exec -w /root multiarch bash qbittorrent-nox-static.sh qbittorrent
157+
run: docker exec -w /root multiarch bash qbt-nox-static.bash qbittorrent
155158

156159
- name: Docker - Set release asset name ${{ inputs.distinct_id }}
157160
if: env.disable_qt5 != 'yes'

.github/workflows/ci-debian-build.yml

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,12 @@ jobs:
3030
fail-fast: false
3131
matrix:
3232
container_id: [debian, ubuntu]
33-
container_codename: [bookworm, jammy, noble]
33+
container_codename: [bookworm, noble]
3434
qbt_build_tool: ["cmake", "qmake"]
3535
qbt_libtorrent_version: ["1.2", "2.0"]
3636
exclude:
37-
- container_id: debian
38-
container_codename: focal
39-
- container_id: debian
40-
container_codename: jammy
4137
- container_id: debian
4238
container_codename: noble
43-
- container_id: ubuntu
44-
container_codename: bullseye
4539
- container_id: ubuntu
4640
container_codename: bookworm
4741
include:
@@ -88,8 +82,11 @@ jobs:
8882
with:
8983
persist-credentials: false
9084

91-
- name: Bootstrap all ${{ inputs.distinct_id }}
92-
run: bash qbittorrent-nox-static.sh -bs-a
85+
- name: Bootstrap deps ${{ inputs.distinct_id }}
86+
run: bash qbt-nox-static.bash bootstrap_deps
87+
88+
- name: Bootstrap build ${{ inputs.distinct_id }}
89+
run: bash qbt-nox-static.bash -bs-a
9390

9491
- name: Host - qBittorrent v5 transition ${{ inputs.distinct_id }}
9592
run: |
@@ -103,47 +100,47 @@ jobs:
103100
104101
- name: glibc ${{ inputs.distinct_id }}
105102
if: env.disable_qt5 != 'yes'
106-
run: bash qbittorrent-nox-static.sh glibc
103+
run: bash qbt-nox-static.bash glibc
107104

108105
- name: zlib ${{ inputs.distinct_id }}
109106
if: env.disable_qt5 != 'yes'
110-
run: bash qbittorrent-nox-static.sh zlib
107+
run: bash qbt-nox-static.bash zlib
111108

112109
- name: iconv ${{ inputs.distinct_id }}
113110
if: env.disable_qt5 != 'yes'
114-
run: bash qbittorrent-nox-static.sh iconv
111+
run: bash qbt-nox-static.bash iconv
115112

116113
- name: icu ${{ inputs.distinct_id }}
117114
if: env.disable_qt5 != 'yes'
118-
run: bash qbittorrent-nox-static.sh icu
115+
run: bash qbt-nox-static.bash icu
119116

120117
- name: openssl ${{ inputs.distinct_id }}
121118
if: env.disable_qt5 != 'yes'
122-
run: bash qbittorrent-nox-static.sh openssl
119+
run: bash qbt-nox-static.bash openssl
123120

124121
- name: boost ${{ inputs.distinct_id }}
125122
if: env.disable_qt5 != 'yes'
126-
run: bash qbittorrent-nox-static.sh boost
123+
run: bash qbt-nox-static.bash boost
127124

128125
- name: libtorrent ${{ inputs.distinct_id }}
129126
if: env.disable_qt5 != 'yes'
130-
run: bash qbittorrent-nox-static.sh libtorrent
127+
run: bash qbt-nox-static.bash libtorrent
131128

132129
- name: double conversion ${{ inputs.distinct_id }}
133130
if: env.disable_qt5 != 'yes' && matrix.qbt_build_tool == 'cmake'
134-
run: bash qbittorrent-nox-static.sh double_conversion
131+
run: bash qbt-nox-static.bash double_conversion
135132

136133
- name: qtbase ${{ inputs.distinct_id }}
137134
if: env.disable_qt5 != 'yes'
138-
run: bash qbittorrent-nox-static.sh qtbase
135+
run: bash qbt-nox-static.bash qtbase
139136

140137
- name: qttools ${{ inputs.distinct_id }}
141138
if: env.disable_qt5 != 'yes'
142-
run: bash qbittorrent-nox-static.sh qttools
139+
run: bash qbt-nox-static.bash qttools
143140

144141
- name: qbittorrent ${{ inputs.distinct_id }}
145142
if: env.disable_qt5 != 'yes'
146-
run: bash qbittorrent-nox-static.sh qbittorrent
143+
run: bash qbt-nox-static.bash qbittorrent
147144

148145
- name: Upload ${{ env.artifact_name }} artifacts ${{ inputs.distinct_id }}
149146
if: env.disable_qt5 != 'yes'

changelog.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
### v2.1.0 - 17/01/2025
2+
3+
`qbt-nox-static.bash` will be a created alongside the `qbittorrent-nox-static.sh`.
4+
5+
`qbt-nox-static.bash``v2.1.0`
6+
7+
`qbt-nox-static.bash` will start `v2.1.0` and `qbittorrent-nox-static.sh` will be frozen at `v2.0.14`going forward.
8+
9+
This is to avoid breaking anything. `v2.1.0` is not really changing the outcome but the behaviour of the script towards that outcome. So the least disruptive way is the opt in route.
10+
11+
I also wanted to changed the extension from `sh` to `bash` as it is a bash script.
12+
13+
Main changes:
14+
15+
A reworked dependency and module installation logic, which has changed the default behaviour of the script. The script was designed to be run in a docker and needs `curl` and `git` to perform basic test functions. So it would automatically try to install all deps from a single array when run as root or with sudo to able to then do the basic interactions.
16+
17+
This has been changed so that the script makes does not modify the host or create files if just called by it's name. It will do basic dependency checks and offer options to install what's needed.
18+
19+
It can now only install the required test dependencies or perform basic functions if they are already installed meaning the basic features and help functions are usable without installing the full suits of dependencies.
20+
21+
Updated the default build flags to be a bit more modern which breaks building on some older systems.
22+
23+
Removed build script support for buster and focal due to conflicts with updated builds flags and will support current releases only going forward.
24+
25+
general refactoring towards more consistent use of arrays data throughout the script.
26+
27+
credits: Borrowed some build flags from here [qbittorrent/docker-qbittorrent-nox](https://github.com/qbittorrent/docker-qbittorrent-nox/blob/main/Dockerfile#L59-L61)
28+
29+
### v2.0.15 - 17/01/2025
30+
31+
`qbittorrent-nox-static.sh` only
32+
33+
fixed: optimize was not working as intended for being spelt inconsistently and the checks for crossbuilding were not correct.
34+
changed: optimize now accepts a quoted string of flags. `-o "-things -to -pass"
35+
36+
structure tweaks and layout.
37+
138
### v2.0.14 - 31/12/2024
239

340
fix: libtorrent `v1.2` and boost `1.86.0` check to not ignore `RC_1_2`

0 commit comments

Comments
 (0)