Skip to content

Commit

Permalink
[Release] Prepare release of v2.8.14
Browse files Browse the repository at this point in the history
  • Loading branch information
bugwelle committed Feb 6, 2022
1 parent 0431858 commit 84e18bb
Show file tree
Hide file tree
Showing 12 changed files with 74 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**MediaElch Version:**
- [ ] 2.8.13-dev (nightly)
- [ ] 2.8.12 stable
- [ ] 2.8.15-dev (nightly)
- [ ] 2.8.14 stable
<!-- older stable versions are not supported; please update -->

**Operating System:**
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/scraper-does-not-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ assignees: ''
Add a list of information that is not loaded correctly.

**MediaElch Version:**
- [ ] 2.8.13-dev (nightly)
- [ ] 2.8.12 stable
- [ ] 2.8.15-dev (nightly)
- [ ] 2.8.14 stable

**Operating System:**
- [ ] Windows
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 2.8.13 - *tbd*
## 2.8.14 - Coridian (2022-02-06)

### Notes

Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.13.0 FATAL_ERROR)

project(
mediaelch
VERSION 2.8.13
VERSION 2.8.14
DESCRIPTION "Media Manager for Kodi"
HOMEPAGE_URL "https://mediaelch.github.io/"
)
Expand Down
6 changes: 3 additions & 3 deletions MediaElch.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleGetInfoString</key>
<string>2.8.13</string>
<string>2.8.14</string>
<key>CFBundleVersion</key>
<string>2.8.13</string>
<string>2.8.14</string>
<key>CFBundleShortVersionString</key>
<string>2.8.13</string>
<string>2.8.14</string>
<key>CFBundleExecutable</key>
<string>MediaElch</string>
<key>CFBundleHelpBookFolder</key>
Expand Down
4 changes: 2 additions & 2 deletions Version.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ namespace mediaelch {
namespace constants {

constexpr char AppName[] = "MediaElch";
constexpr char AppVersionStr[] = "2.8.13"; // major.minor.patch
constexpr char AppVersionFullStr[] = "2.8.13-dev"; // major.minor.patch-identifier
constexpr char AppVersionStr[] = "2.8.14"; // major.minor.patch
constexpr char AppVersionFullStr[] = "2.8.14"; // major.minor.patch-identifier
constexpr char VersionName[] = "Coridian";
constexpr char OrganizationName[] = "kvibes";

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
mediaelch (2.8.14-1) xenial; urgency=medium

* next release

-- Andre Meyering <[email protected]> Sun, 06 Feb 2022 13:46:14 +0100

mediaelch (2.8.8.2-1~bionic) bionic; urgency=medium

* next build
Expand Down
19 changes: 16 additions & 3 deletions docs/admin/coverity.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ The next steps are shown in following bash script. You need to add Coverity's
`bin` directory to your `$PATH`.

```sh
export PATH="/path/to/coverity-analysis/bin/:$PATH"
export PATH="/path/to/cov-analysis-linux64-2020.09/bin/:$PATH"
git clone https://github.com/Komet/MediaElch.git
cd MediaElch
mkdir build && cd build
cmake .. -DUSE_EXTERN_QUAZIP=ON
cov-build --dir cov-int make -j 4
cov-build --dir cov-int make -j 8
if grep "compilation units (100%) successfully" cov-int/build-log.txt; then
tar caf myproject.xz cov-int
fi
Expand All @@ -39,7 +39,20 @@ fine.

Check that the Coverity build was successful and if it was then upload the
generated `myproject.xz` file to [Coverity][newcoverity]. Note that the
generated `.xz` file is multiple hundrets of megabytes large.
generated `.xz` file is multiple hundreds of megabytes large.

### Troubleshooting
It can happen that Coverity fails with e.g. only 3% of successful compilation
units. The reason is unknown to me but I think it may have to do with custom
(more modern) GCC versions that I've installed locally that use more modern
standard library headers. If it fails, try to build inside a docker container:

```sh
docker run -it -v "$(pwd):/opt" ubuntu:latest /bin/bash
```

You will need to install all of MediaElch's dependencies and then follow the
steps of the previous section.


## How often should a new build be uploaded to Coverity?
Expand Down
16 changes: 8 additions & 8 deletions docs/admin/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,20 +37,20 @@ file was missed. In the latter case, update the list above.

## Update Changelogs

1. [main changelog](#user-content-notes--main-changelog) (`changelog.md`)
2. [debian changelog](#user-content-notes--debian-changelog) (use `dch -v "${ME_VERSION}-1" -D xenial -M`)
3. [obs changelog](#user-content-notes--obs-changelog) (`obs/MediaElch.changes`)
1. [main changelog](#main-changelog) (`changelog.md`)
2. [debian changelog](#debian-changelog) (use `dch -v "${ME_VERSION}-1" -D xenial -M`)
3. [obs changelog](#obs-changelog) (`obs/MediaElch.changes`)

### Main Changelog
The main changelog should already contain all relevant changes because
they should have been added right with the corresponding commits.
But better check all commit messages since the last version tag:

```sh
# Print all commits between the git tag v2.8.13 and the current master branch
git log --oneline v2.8.13..master
# Print all commits between the git tag v2.8.14 and the current master branch
git log --oneline v2.8.14..master
# Count the number of commits since the last version
git log --oneline v2.8.13..master | wc -l
git log --oneline v2.8.14..master | wc -l
```


Expand Down Expand Up @@ -87,7 +87,7 @@ add a Git tag (see next section), it includes the latest documentation state.
1. Commit your changes (MediaElch version and changelogs).
2. Add a version tag and push your changes

- `git tag -a v2.8.13 -m "MediaElch Version 2.8.13"`
- `git tag -a v2.8.14 -m "MediaElch Version 2.8.14"`
- `git push origin master`
- `git push --tags`

Expand Down Expand Up @@ -159,7 +159,7 @@ Your GPG key may be outdated. Please see: <https://help.ubuntu.com/community/Gnu

### openSUSE
Releases for openSUSE are distributed using the [open build service](https://openbuildservice.org/).
See: https://github.com/Komet/MediaElch/blob/master/obs/README.md
See [obs/README.md](https://github.com/Komet/MediaElch/blob/master/obs/README.md).


## Publish Release Notes in Forums
Expand Down
25 changes: 25 additions & 0 deletions obs/MediaElch.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Sun Feb 6 12:50:09 UTC 2022 - Andre Meyering <[email protected]>

- Update to MediaElch v2.8.14

-------------------------------------------------------------------
Mon May 10 07:01:43 UTC 2021 - Andre Meyering <[email protected]>

- Update to MediaElch v2.8.12

-------------------------------------------------------------------
Mon May 3 18:26:18 UTC 2021 - Andre Meyering <[email protected]>

- Update to MediaElch v2.8.10

-------------------------------------------------------------------
Mon Apr 26 16:21:21 UTC 2021 - Andre Meyering <[email protected]>

- Fix spec file

-------------------------------------------------------------------
Mon Apr 26 15:36:48 UTC 2021 - Andre Meyering <[email protected]>

- Update to MediaElch v2.8.8

-------------------------------------------------------------------
Fri Jan 22 12:40:07 UTC 2021 - Andre Meyering <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion obs/MediaElch.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

Name: MediaElch
Version: 2.8.13
Version: 2.8.14
Release: 1%{?dist}
License: LGPL-3.0-only
Summary: A Media Manager for Kodi
Expand Down
10 changes: 7 additions & 3 deletions obs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ cp /path/to/MediaElch/obs/MediaElch.* .
# Package MediaElch into MediaElch-${ME_VERSION}.tar.gz
# See "Compress MediaElch" for an example.

# Update MediaElch.changes => copy changelog.md
# Update MediaElch.changes
# => Add entry "Update to MediaElch v2.X.Y"
# => Copy changelog to MediaElch repository
osc vc
osc add *.spec *.changes *.tar.gz
osc commit
Expand All @@ -53,7 +55,9 @@ cd home:bugwelle/MediaElch
# Delete the old .tar.gz
# Update MediaElch.spec

# Update MediaElch.changes => copy changelog.md
# Update MediaElch.changes
# => Add entry "Update to MediaElch v2.X.Y"
# => Copy changelog to MediaElch repository
osc vc

osc addremove *.spec *.changes *.tar.gz
Expand All @@ -65,7 +69,7 @@ osc commit
```sh
rm MediaElch-*.tar.gz

export ME_VERSION=2.8.13
export ME_VERSION=2.8.14
# Clone latest version.
git clone https://github.com/Komet/MediaElch.git MediaElch
cd MediaElch
Expand Down

0 comments on commit 84e18bb

Please sign in to comment.