Compare commits
12 Commits
Author | SHA1 | Date |
---|---|---|
|
f50e10625d | |
|
64a478605e | |
|
da9da4ac32 | |
|
04b76bdabc | |
|
2db0ae5d7a | |
|
56976381bb | |
|
65716bc1f8 | |
|
275805583b | |
|
23c4054e0e | |
|
7a25bd45f3 | |
|
ae06220449 | |
|
1206252faa |
|
@ -1,22 +0,0 @@
|
||||||
{{ range .Versions }}<a name="{{ .Tag.Name }}"></a>
|
|
||||||
|
|
||||||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
|
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/{{ .Tag.Name }}/)
|
|
||||||
|
|
||||||
{{ range .CommitGroups -}}
|
|
||||||
### {{ .Title }}
|
|
||||||
|
|
||||||
{{ range reverse .Commits -}}
|
|
||||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end -}}
|
|
||||||
|
|
||||||
{{- if .RevertCommits -}}
|
|
||||||
### Reverts
|
|
||||||
|
|
||||||
{{ range .RevertCommits -}}
|
|
||||||
- {{ .Revert.Header }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end -}}
|
|
||||||
{{ end -}}
|
|
|
@ -1,25 +0,0 @@
|
||||||
style: github
|
|
||||||
template: CHANGELOG.md.tpl
|
|
||||||
info:
|
|
||||||
title: CHANGELOG
|
|
||||||
repository_url: https://github.com/libretime/libretime
|
|
||||||
options:
|
|
||||||
commits:
|
|
||||||
filters:
|
|
||||||
Type: [feat, fix, docs, test, ci]
|
|
||||||
sort_by: Date
|
|
||||||
commit_groups:
|
|
||||||
title_maps:
|
|
||||||
feat: Features
|
|
||||||
fix: Bug Fixes
|
|
||||||
docs: Documentation
|
|
||||||
test: Tests
|
|
||||||
ci: CI
|
|
||||||
sort_by: Custom
|
|
||||||
title_order: [feat, fix, docs, test, ci]
|
|
||||||
header:
|
|
||||||
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
|
|
||||||
pattern_maps:
|
|
||||||
- Type
|
|
||||||
- Scope
|
|
||||||
- Subject
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
{
|
||||||
|
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
||||||
|
"bootstrap-sha": "26737abad231d96fc198fbf12c043f2d867be79c",
|
||||||
|
"include-component-in-tag": false,
|
||||||
|
"include-v-in-tag": false,
|
||||||
|
"packages": {
|
||||||
|
".": {
|
||||||
|
"release-type": "simple",
|
||||||
|
"package-name": "libretime",
|
||||||
|
"extra-files": [
|
||||||
|
"analyzer/setup.py",
|
||||||
|
"api/setup.py",
|
||||||
|
"api-client/setup.py",
|
||||||
|
"playout/setup.py",
|
||||||
|
"shared/setup.py",
|
||||||
|
"worker/setup.py"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
{".":"3.2.1"}
|
|
@ -26,7 +26,7 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- uses: actions/cache@v3
|
- uses: actions/cache@v3
|
||||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,34 @@
|
||||||
|
name: Backport
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- closed
|
||||||
|
- labeled
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
backport:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
# Only react to merged PRs for security reasons.
|
||||||
|
# See https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target.
|
||||||
|
if: >
|
||||||
|
github.event.pull_request.merged
|
||||||
|
&& (
|
||||||
|
github.event.action == 'closed'
|
||||||
|
|| (
|
||||||
|
github.event.action == 'labeled'
|
||||||
|
&& contains(github.event.label.name, 'backport')
|
||||||
|
)
|
||||||
|
)
|
||||||
|
steps:
|
||||||
|
- uses: jooola/backport@main
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
title_template: <%= title %> (<%= base %>)
|
||||||
|
body_template: |
|
||||||
|
Backport <%= mergeCommitSha %> from #<%= number %>.
|
||||||
|
|
||||||
|
BEGIN_COMMIT_OVERRIDE
|
||||||
|
<%= title %>
|
||||||
|
END_COMMIT_OVERRIDE
|
|
@ -44,7 +44,7 @@ jobs:
|
||||||
type=semver,pattern={{major}}.{{minor}}
|
type=semver,pattern={{major}}.{{minor}}
|
||||||
|
|
||||||
- name: Upload metadata bake file
|
- name: Upload metadata bake file
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: meta-${{ matrix.target }}
|
name: meta-${{ matrix.target }}
|
||||||
path: ${{ steps.meta.outputs.bake-file }}
|
path: ${{ steps.meta.outputs.bake-file }}
|
||||||
|
@ -76,7 +76,9 @@ jobs:
|
||||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Download all metadata bake files
|
- name: Download all metadata bake files
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
|
with:
|
||||||
|
pattern: meta-*
|
||||||
|
|
||||||
- name: Guess LIBRETIME_VERSION
|
- name: Guess LIBRETIME_VERSION
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -75,7 +75,7 @@ jobs:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/stale@v8
|
- uses: actions/stale@v9
|
||||||
with:
|
with:
|
||||||
stale-issue-message: >
|
stale-issue-message: >
|
||||||
This issue has been automatically marked as stale because it has not had
|
This issue has been automatically marked as stale because it has not had
|
||||||
|
|
|
@ -27,6 +27,8 @@ jobs:
|
||||||
ui
|
ui
|
||||||
worker
|
worker
|
||||||
deps
|
deps
|
||||||
|
main
|
||||||
|
stable
|
||||||
subjectPattern: ^(?![A-Z]).+$
|
subjectPattern: ^(?![A-Z]).+$
|
||||||
subjectPatternError: |
|
subjectPatternError: |
|
||||||
The subject "{subject}" found in the pull request title "{title}"
|
The subject "{subject}" found in the pull request title "{title}"
|
||||||
|
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.x"
|
python-version: "3.x"
|
||||||
- run: make all
|
- run: make all
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: Release-Please
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
- stable
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release-please:
|
||||||
|
# Do not run on forks.
|
||||||
|
if: github.repository == 'libretime/libretime'
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: google-github-actions/release-please-action@v4
|
||||||
|
with:
|
||||||
|
config-file: .github/release-please-config.json
|
||||||
|
manifest-file: .github/release-please-manifest.json
|
||||||
|
target-branch: ${{ github.ref_name }}
|
|
@ -22,12 +22,9 @@ jobs:
|
||||||
- name: Build tarball
|
- name: Build tarball
|
||||||
run: make tarball
|
run: make tarball
|
||||||
|
|
||||||
- name: Create Release
|
- name: Upload tarball
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
body_path: docs/releases/${{ github.ref_name }}.md
|
|
||||||
draft: true
|
|
||||||
prerelease: true
|
|
||||||
files: |
|
files: |
|
||||||
libretime-*.tar.gz
|
libretime-*.tar.gz
|
||||||
sha256sums.txt
|
sha256sums.txt
|
||||||
|
|
|
@ -33,7 +33,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: prettier
|
- id: prettier
|
||||||
files: \.(md|mdx|yml|yaml|js|jsx|ts|tsx|json|css)$
|
files: \.(md|mdx|yml|yaml|js|jsx|ts|tsx|json|css)$
|
||||||
exclude: ^legacy/public(?!/js/airtime)
|
exclude: ^(legacy/public(?!/js/airtime)|CHANGELOG.md$|.github/release-please-manifest.json)
|
||||||
|
|
||||||
- repo: https://github.com/asottile/pyupgrade
|
- repo: https://github.com/asottile/pyupgrade
|
||||||
rev: v3.15.0
|
rev: v3.15.0
|
||||||
|
@ -48,13 +48,13 @@ repos:
|
||||||
args: [--target-version, "4.2"]
|
args: [--target-version, "4.2"]
|
||||||
|
|
||||||
- repo: https://github.com/pycqa/isort
|
- repo: https://github.com/pycqa/isort
|
||||||
rev: 5.12.0
|
rev: 5.13.2
|
||||||
hooks:
|
hooks:
|
||||||
- id: isort
|
- id: isort
|
||||||
args: [--resolve-all-configs]
|
args: [--resolve-all-configs]
|
||||||
|
|
||||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||||
rev: 23.11.0
|
rev: 23.12.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: black
|
- id: black
|
||||||
|
|
||||||
|
|
31
CHANGELOG.md
31
CHANGELOG.md
|
@ -1,4 +1,13 @@
|
||||||
<a name="3.2.0"></a>
|
# Changelog
|
||||||
|
|
||||||
|
## [3.2.1](https://github.com/libretime/libretime/compare/3.2.0...3.2.1) (2023-12-22)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* add parent function name in setValue exception ([#2777](https://github.com/libretime/libretime/issues/2777)) ([c764a5a](https://github.com/libretime/libretime/commit/c764a5a648ac6cf6c1f63cd9be6de9fe07c40988))
|
||||||
|
* **api:** enum schema description ([#2803](https://github.com/libretime/libretime/issues/2803)) ([976b70e](https://github.com/libretime/libretime/commit/976b70ed32a0e774cc0b72b8332372be32799ed1))
|
||||||
|
* **legacy:** allow uploading opus files ([#2804](https://github.com/libretime/libretime/issues/2804)) ([1206252](https://github.com/libretime/libretime/commit/1206252faadaa8ca61c7cb7becb36a7dd306d05f))
|
||||||
|
|
||||||
## [3.2.0](https://github.com/libretime/libretime/compare/3.1.0...3.2.0) (2023-10-16)
|
## [3.2.0](https://github.com/libretime/libretime/compare/3.1.0...3.2.0) (2023-10-16)
|
||||||
|
|
||||||
|
@ -38,8 +47,6 @@
|
||||||
|
|
||||||
- **playout:** check unsupported liquidsoap aac output
|
- **playout:** check unsupported liquidsoap aac output
|
||||||
|
|
||||||
<a name="3.1.0"></a>
|
|
||||||
|
|
||||||
## [3.1.0](https://github.com/libretime/libretime/compare/3.0.2...3.1.0) (2023-05-26)
|
## [3.1.0](https://github.com/libretime/libretime/compare/3.0.2...3.1.0) (2023-05-26)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.1.0/)
|
- [Release note](https://libretime.org/docs/releases/3.1.0/)
|
||||||
|
@ -230,8 +237,6 @@
|
||||||
|
|
||||||
- chore(api): install django-rest-framework from git ([#2518](https://github.com/libretime/libretime/issues/2518))
|
- chore(api): install django-rest-framework from git ([#2518](https://github.com/libretime/libretime/issues/2518))
|
||||||
|
|
||||||
<a name="3.0.2"></a>
|
|
||||||
|
|
||||||
## [3.0.2](https://github.com/libretime/libretime/compare/3.0.1...3.0.2) (2023-02-21)
|
## [3.0.2](https://github.com/libretime/libretime/compare/3.0.1...3.0.2) (2023-02-21)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.2/)
|
- [Release note](https://libretime.org/docs/releases/3.0.2/)
|
||||||
|
@ -263,8 +268,6 @@
|
||||||
- don't squash commits during docs sync
|
- don't squash commits during docs sync
|
||||||
- test project weekly
|
- test project weekly
|
||||||
|
|
||||||
<a name="3.0.1"></a>
|
|
||||||
|
|
||||||
## [3.0.1](https://github.com/libretime/libretime/compare/3.0.0...3.0.1) (2022-12-20)
|
## [3.0.1](https://github.com/libretime/libretime/compare/3.0.0...3.0.1) (2022-12-20)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.1/)
|
- [Release note](https://libretime.org/docs/releases/3.0.1/)
|
||||||
|
@ -293,8 +296,6 @@
|
||||||
- sync docs with libretime/website repository
|
- sync docs with libretime/website repository
|
||||||
- pin vale version to v2.21.3
|
- pin vale version to v2.21.3
|
||||||
|
|
||||||
<a name="3.0.0"></a>
|
|
||||||
|
|
||||||
## [3.0.0](https://github.com/libretime/libretime/compare/3.0.0-beta.2...3.0.0) (2022-10-10)
|
## [3.0.0](https://github.com/libretime/libretime/compare/3.0.0-beta.2...3.0.0) (2022-10-10)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0/)
|
||||||
|
@ -315,8 +316,6 @@
|
||||||
|
|
||||||
- **analyzer:** fix wrong bit_rate values
|
- **analyzer:** fix wrong bit_rate values
|
||||||
|
|
||||||
<a name="3.0.0-beta.2"></a>
|
|
||||||
|
|
||||||
## [3.0.0-beta.2](https://github.com/libretime/libretime/compare/3.0.0-beta.1...3.0.0-beta.2) (2022-10-03)
|
## [3.0.0-beta.2](https://github.com/libretime/libretime/compare/3.0.0-beta.1...3.0.0-beta.2) (2022-10-03)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0-beta.2/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0-beta.2/)
|
||||||
|
@ -345,8 +344,6 @@
|
||||||
- allow failure when linting /docs/releases
|
- allow failure when linting /docs/releases
|
||||||
- use github.ref_name to get tag
|
- use github.ref_name to get tag
|
||||||
|
|
||||||
<a name="3.0.0-beta.1"></a>
|
|
||||||
|
|
||||||
## [3.0.0-beta.1](https://github.com/libretime/libretime/compare/3.0.0-beta.0...3.0.0-beta.1) (2022-09-23)
|
## [3.0.0-beta.1](https://github.com/libretime/libretime/compare/3.0.0-beta.0...3.0.0-beta.1) (2022-09-23)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0-beta.1/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0-beta.1/)
|
||||||
|
@ -379,8 +376,6 @@
|
||||||
- don't check github.com/libretime/libretime/(issues|pulls) links
|
- don't check github.com/libretime/libretime/(issues|pulls) links
|
||||||
- run docs workflow on vale files changes
|
- run docs workflow on vale files changes
|
||||||
|
|
||||||
<a name="3.0.0-beta.0"></a>
|
|
||||||
|
|
||||||
## [3.0.0-beta.0](https://github.com/libretime/libretime/compare/3.0.0-alpha.13...3.0.0-beta.0) (2022-09-16)
|
## [3.0.0-beta.0](https://github.com/libretime/libretime/compare/3.0.0-alpha.13...3.0.0-beta.0) (2022-09-16)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0-beta.0/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0-beta.0/)
|
||||||
|
@ -530,8 +525,6 @@
|
||||||
- improve containers build caching
|
- improve containers build caching
|
||||||
- add container tags
|
- add container tags
|
||||||
|
|
||||||
<a name="3.0.0-alpha.13"></a>
|
|
||||||
|
|
||||||
## [3.0.0-alpha.13](https://github.com/libretime/libretime/compare/3.0.0-alpha.12...3.0.0-alpha.13) (2022-07-15)
|
## [3.0.0-alpha.13](https://github.com/libretime/libretime/compare/3.0.0-alpha.12...3.0.0-alpha.13) (2022-07-15)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0-alpha.13/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0-alpha.13/)
|
||||||
|
@ -692,8 +685,6 @@
|
||||||
- disable codecov project status check
|
- disable codecov project status check
|
||||||
- disable codecov patch status check
|
- disable codecov patch status check
|
||||||
|
|
||||||
<a name="3.0.0-alpha.12"></a>
|
|
||||||
|
|
||||||
## [3.0.0-alpha.12](https://github.com/libretime/libretime/compare/3.0.0-alpha.11...3.0.0-alpha.12) (2022-03-29)
|
## [3.0.0-alpha.12](https://github.com/libretime/libretime/compare/3.0.0-alpha.11...3.0.0-alpha.12) (2022-03-29)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0-alpha.12/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0-alpha.12/)
|
||||||
|
@ -708,8 +699,6 @@
|
||||||
- add missing data to release note
|
- add missing data to release note
|
||||||
- fix and update links ([#1714](https://github.com/libretime/libretime/issues/1714))
|
- fix and update links ([#1714](https://github.com/libretime/libretime/issues/1714))
|
||||||
|
|
||||||
<a name="3.0.0-alpha.11"></a>
|
|
||||||
|
|
||||||
## [3.0.0-alpha.11](https://github.com/libretime/libretime/compare/3.0.0-alpha.10...3.0.0-alpha.11) (2022-03-28)
|
## [3.0.0-alpha.11](https://github.com/libretime/libretime/compare/3.0.0-alpha.10...3.0.0-alpha.11) (2022-03-28)
|
||||||
|
|
||||||
- [Release note](https://libretime.org/docs/releases/3.0.0-alpha.11/)
|
- [Release note](https://libretime.org/docs/releases/3.0.0-alpha.11/)
|
||||||
|
|
3
Makefile
3
Makefile
|
@ -31,9 +31,6 @@ dev: .env dev-certs
|
||||||
VERSION:
|
VERSION:
|
||||||
tools/version.sh
|
tools/version.sh
|
||||||
|
|
||||||
changelog:
|
|
||||||
tools/changelog.sh
|
|
||||||
|
|
||||||
.PHONY: tarball
|
.PHONY: tarball
|
||||||
tarball: VERSION
|
tarball: VERSION
|
||||||
$(MAKE) -C legacy build
|
$(MAKE) -C legacy build
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
version = "3.2.1" # x-release-please-version
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="libretime-analyzer",
|
name="libretime-analyzer",
|
||||||
version="3.2.0",
|
version=version,
|
||||||
description="Libretime Analyzer",
|
description="Libretime Analyzer",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
url="https://github.com/libretime/libretime",
|
url="https://github.com/libretime/libretime",
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
version = "3.2.1" # x-release-please-version
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="libretime-api-client",
|
name="libretime-api-client",
|
||||||
version="3.2.0",
|
version=version,
|
||||||
description="LibreTime API Client",
|
description="LibreTime API Client",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
url="https://github.com/libretime/libretime",
|
url="https://github.com/libretime/libretime",
|
||||||
|
|
|
@ -8,4 +8,4 @@ drf-spectacular>=0.22.1,<0.28
|
||||||
gunicorn>=20.1.0,<21.3
|
gunicorn>=20.1.0,<21.3
|
||||||
psycopg[c]>=3.1.8,<3.2
|
psycopg[c]>=3.1.8,<3.2
|
||||||
requests>=2.31.0,<2.32
|
requests>=2.31.0,<2.32
|
||||||
uvicorn[standard]>=0.17.6,<0.25.0
|
uvicorn[standard]>=0.17.6,<0.26.0
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
version = "3.2.1" # x-release-please-version
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="libretime-api",
|
name="libretime-api",
|
||||||
version="3.2.0",
|
version=version,
|
||||||
description="LibreTime API",
|
description="LibreTime API",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
url="https://github.com/libretime/libretime",
|
url="https://github.com/libretime/libretime",
|
||||||
|
@ -35,7 +37,7 @@ setup(
|
||||||
"prod": [
|
"prod": [
|
||||||
"gunicorn>=20.1.0,<21.3",
|
"gunicorn>=20.1.0,<21.3",
|
||||||
"psycopg[c]>=3.1.8,<3.2",
|
"psycopg[c]>=3.1.8,<3.2",
|
||||||
"uvicorn[standard]>=0.17.6,<0.25.0",
|
"uvicorn[standard]>=0.17.6,<0.26.0",
|
||||||
],
|
],
|
||||||
"dev": [
|
"dev": [
|
||||||
"django-coverage-plugin>=3.0.0,<4",
|
"django-coverage-plugin>=3.0.0,<4",
|
||||||
|
|
|
@ -6,47 +6,17 @@ title: Releases
|
||||||
|
|
||||||
This guide walks you through the steps required to release a new version of LibreTime.
|
This guide walks you through the steps required to release a new version of LibreTime.
|
||||||
|
|
||||||
:::caution
|
### 1. Inspect the release pull request
|
||||||
|
|
||||||
This guide is still a work in progress, and doesn't cover every use cases. Depending on
|
A release pull request is maintained by [`release-please`](https://github.com/googleapis/release-please). `release-please` guesses the next version to release based on the commit history, and will generate a changelog for that release.
|
||||||
the version bump, some steps might be wrong. For example, in case of a patch release,
|
|
||||||
the documentation requires different changes.
|
|
||||||
|
|
||||||
:::
|
Once a release is desired, checkout the release branch:
|
||||||
|
|
||||||
Before releasing a new version, make sure linter don't fail and tests are passing.
|
|
||||||
|
|
||||||
Start by cleaning the repository and make sure you don't have uncommitted changes:
|
|
||||||
|
|
||||||
```
|
|
||||||
git checkout main
|
|
||||||
make clean
|
|
||||||
git status
|
|
||||||
```
|
|
||||||
|
|
||||||
Choose the next version based the our [versioning schema](#versioning-schema):
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
export VERSION=3.0.0-beta.0
|
# For a release on the main branch
|
||||||
```
|
git checkout release-please--branches--main--components--libretime
|
||||||
|
# For a release on the stable branch
|
||||||
Create a new `release-$VERSION` branch and release commit to prepare a release pull request:
|
git checkout release-please--branches--stable--components--libretime
|
||||||
|
|
||||||
```bash
|
|
||||||
git checkout -b "release-$VERSION"
|
|
||||||
export COMMIT_MESSAGE="chore: release $VERSION"
|
|
||||||
git commit --allow-empty --message="$COMMIT_MESSAGE"
|
|
||||||
```
|
|
||||||
|
|
||||||
### 1. Version bump
|
|
||||||
|
|
||||||
Write the new `$VERSION` to the VERSION file, and bump the python packages version:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
bash tools/bump-python-version.sh "$VERSION"
|
|
||||||
|
|
||||||
git add .
|
|
||||||
git commit --fixup ":/$COMMIT_MESSAGE"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### 2. Release note
|
### 2. Release note
|
||||||
|
@ -72,48 +42,16 @@ Reset and clean the `docs/releases/unreleased.md` file for a future version.
|
||||||
Commit the release note changes:
|
Commit the release note changes:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git add .
|
git add docs/releases
|
||||||
git commit --fixup ":/$COMMIT_MESSAGE"
|
git commit -m "docs: add release note"
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Create a new pull request
|
### 4. Merge the release pull request
|
||||||
|
|
||||||
Squash the changes and open a pull request for others to review:
|
Push any changes that we previously made to the release branch:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git rebase --autosquash --interactive main
|
git push
|
||||||
```
|
```
|
||||||
|
|
||||||
Merge the pull request when it's reviewed and ready.
|
Once the pull request CI succeeded and everything is ready, merge the release pull request. `release-please` will create a tag and a release, which will trigger the final release pipeline that will upload the tarball as release assets.
|
||||||
|
|
||||||
### 4. Create and push a tag
|
|
||||||
|
|
||||||
Pull the merged release commit:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git checkout main
|
|
||||||
git pull upstream main
|
|
||||||
```
|
|
||||||
|
|
||||||
Make sure `HEAD` is the previously merged release commit and tag it with the new version:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git show --quiet
|
|
||||||
|
|
||||||
git tag -a -m "$VERSION" "$VERSION"
|
|
||||||
```
|
|
||||||
|
|
||||||
Generate the changelog for the newly tagged version:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
make changelog
|
|
||||||
|
|
||||||
git add .
|
|
||||||
git commit -m "chore: generate changelog for $VERSION"
|
|
||||||
```
|
|
||||||
|
|
||||||
Push the tag upstream to finalize the release process:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git push upstream main --follow-tags
|
|
||||||
```
|
|
||||||
|
|
|
@ -0,0 +1,20 @@
|
||||||
|
---
|
||||||
|
title: LibreTime 3.2.1
|
||||||
|
---
|
||||||
|
|
||||||
|
import ReleaseHead from './\_release-head.md';
|
||||||
|
|
||||||
|
<ReleaseHead date='2023-12-22' version='3.2.1'/>
|
||||||
|
|
||||||
|
## :sparkling_heart: Contributors
|
||||||
|
|
||||||
|
The LibreTime project wants to thank the following contributors for authoring PRs to this release:
|
||||||
|
|
||||||
|
- @jooola
|
||||||
|
- @mp3butcher
|
||||||
|
|
||||||
|
## :bug: Bug fixes
|
||||||
|
|
||||||
|
- add parent function name in setValue exception ([#2777](https://github.com/libretime/libretime/issues/2777)) ([c764a5a](https://github.com/libretime/libretime/commit/c764a5a648ac6cf6c1f63cd9be6de9fe07c40988))
|
||||||
|
- **api:** enum schema description ([#2803](https://github.com/libretime/libretime/issues/2803)) ([976b70e](https://github.com/libretime/libretime/commit/976b70ed32a0e774cc0b72b8332372be32799ed1))
|
||||||
|
- **legacy:** allow uploading opus files ([#2804](https://github.com/libretime/libretime/issues/2804)) ([1206252](https://github.com/libretime/libretime/commit/1206252faadaa8ca61c7cb7becb36a7dd306d05f))
|
|
@ -32,6 +32,10 @@ class FileDataHelper
|
||||||
$mimes = self::getAudioMimeTypeArray();
|
$mimes = self::getAudioMimeTypeArray();
|
||||||
unset($mimes['audio/x-ms-wma']);
|
unset($mimes['audio/x-ms-wma']);
|
||||||
|
|
||||||
|
// audio/opus is not a real mime type, we only set it here to allow uploading
|
||||||
|
// .opus files
|
||||||
|
$mimes['audio/opus'] = 'opus';
|
||||||
|
|
||||||
return $mimes;
|
return $mimes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -841,16 +841,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpseclib/phpseclib",
|
"name": "phpseclib/phpseclib",
|
||||||
"version": "3.0.33",
|
"version": "3.0.34",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpseclib/phpseclib.git",
|
"url": "https://github.com/phpseclib/phpseclib.git",
|
||||||
"reference": "33fa69b2514a61138dd48e7a49f99445711e0ad0"
|
"reference": "56c79f16a6ae17e42089c06a2144467acc35348a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/33fa69b2514a61138dd48e7a49f99445711e0ad0",
|
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/56c79f16a6ae17e42089c06a2144467acc35348a",
|
||||||
"reference": "33fa69b2514a61138dd48e7a49f99445711e0ad0",
|
"reference": "56c79f16a6ae17e42089c06a2144467acc35348a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -931,7 +931,7 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
"issues": "https://github.com/phpseclib/phpseclib/issues",
|
||||||
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.33"
|
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.34"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
|
@ -947,7 +947,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2023-10-21T14:00:39+00:00"
|
"time": "2023-11-27T11:13:31+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "psr/http-message",
|
"name": "psr/http-message",
|
||||||
|
@ -3711,16 +3711,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpdoc-parser",
|
"name": "phpstan/phpdoc-parser",
|
||||||
"version": "1.24.3",
|
"version": "1.24.5",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpstan/phpdoc-parser.git",
|
"url": "https://github.com/phpstan/phpdoc-parser.git",
|
||||||
"reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083"
|
"reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/12f01d214f1c73b9c91fdb3b1c415e4c70652083",
|
"url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc",
|
||||||
"reference": "12f01d214f1c73b9c91fdb3b1c415e4c70652083",
|
"reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3752,9 +3752,9 @@
|
||||||
"description": "PHPDoc parser with support for nullable, intersection and generic types",
|
"description": "PHPDoc parser with support for nullable, intersection and generic types",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
|
"issues": "https://github.com/phpstan/phpdoc-parser/issues",
|
||||||
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.3"
|
"source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5"
|
||||||
},
|
},
|
||||||
"time": "2023-11-18T20:15:32+00:00"
|
"time": "2023-12-16T09:33:33+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/dbunit",
|
"name": "phpunit/dbunit",
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
version = "3.2.1" # x-release-please-version
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="libretime-playout",
|
name="libretime-playout",
|
||||||
version="3.2.0",
|
version=version,
|
||||||
description="LibreTime Playout",
|
description="LibreTime Playout",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
url="https://github.com/libretime/libretime",
|
url="https://github.com/libretime/libretime",
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
version = "3.2.1" # x-release-please-version
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="libretime-shared",
|
name="libretime-shared",
|
||||||
version="3.2.0",
|
version=version,
|
||||||
description="LibreTime Shared",
|
description="LibreTime Shared",
|
||||||
url="https://github.com/libretime/libretime",
|
url="https://github.com/libretime/libretime",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Bump the version in the setup.py files.
|
|
||||||
|
|
||||||
set -u
|
|
||||||
|
|
||||||
error() {
|
|
||||||
echo >&2 "error: $*"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
command -v sed > /dev/null || error "sed command not found!"
|
|
||||||
|
|
||||||
version="$1"
|
|
||||||
|
|
||||||
for setup_path in */setup.py; do
|
|
||||||
sed --in-place \
|
|
||||||
"s/version=\".*\",/version=\"$version\",/" \
|
|
||||||
"$setup_path" ||
|
|
||||||
error "could not bump version for $setup_path!"
|
|
||||||
done
|
|
|
@ -1,25 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -u
|
|
||||||
|
|
||||||
error() {
|
|
||||||
echo >&2 "error: $*"
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
command -v git > /dev/null || error "git command not found!"
|
|
||||||
command -v git-chglog > /dev/null || error "git-chglog command not found!"
|
|
||||||
|
|
||||||
changelog="CHANGELOG.md"
|
|
||||||
tag="${tag:-$(git describe --abbrev=0 --tags || error "could not extract latest tag")}"
|
|
||||||
|
|
||||||
if grep --quiet "<a name=\"$tag\"></a>" "$changelog"; then
|
|
||||||
error "changelog has already been generated for tag $tag!"
|
|
||||||
fi
|
|
||||||
|
|
||||||
cat <(git-chglog "$tag") "$changelog" > "$changelog.tmp"
|
|
||||||
mv "$changelog.tmp" "$changelog"
|
|
||||||
|
|
||||||
if command -v npx > /dev/null; then
|
|
||||||
npx prettier --write "$changelog"
|
|
||||||
fi
|
|
|
@ -1,8 +1,10 @@
|
||||||
from setuptools import find_packages, setup
|
from setuptools import find_packages, setup
|
||||||
|
|
||||||
|
version = "3.2.1" # x-release-please-version
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="libretime-worker",
|
name="libretime-worker",
|
||||||
version="3.2.0",
|
version=version,
|
||||||
description="LibreTime Worker",
|
description="LibreTime Worker",
|
||||||
author="LibreTime Contributors",
|
author="LibreTime Contributors",
|
||||||
url="https://github.com/libretime/libretime",
|
url="https://github.com/libretime/libretime",
|
||||||
|
|
Loading…
Reference in New Issue