Skip to content

Commit a65acad

Browse files
authored
Merge pull request #222 from MightyCreak/update-to-gnome-45
chore: update flatpak manifest
2 parents a64ae4f + 3a13b53 commit a65acad

File tree

4 files changed

+34
-9
lines changed

4 files changed

+34
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Changed
11+
12+
- Update from GNOME 44 to 45 (@sabriunal)
13+
- Flatpak manifest now runs the tests (@sabriunal)
14+
1015
### Removed
1116

1217
- Remove support for the SVK CVS (@MightyCreak)
1318

1419
### Fixed
1520

1621
- Fix compatibility with Python 3.12: remove use of `distutils` (@MightyCreak)
22+
- Fix new errors raised by Flake8 (@MightyCreak)
1723

1824
## 0.8.2 - 2023-04-16
1925

docs/developers/release-process.md

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,27 @@ few manual steps.
4444
## Create new release on Flatpak
4545
4646
1. Clone the Flathub repository: <https://github.com/flathub/io.github.mightycreak.Diffuse>
47-
2. Copy the contents of Diffuse's `io.github.mightycreak.Diffuse.yml` to Flathub's
48-
3. Keep Flathub's `config-opts` and `sources` sections
49-
4. In `sources` section, change the `commit` and `tag`
50-
5. Create commit with changes and push to `master`
51-
6. Check the build on Flathub: <https://flathub.org/builds/>
52-
7. When it's done and successful, publish the build
47+
2. Copy the contents of `io.github.mightycreak.Diffuse.yml` in Diffuse repository
48+
to Flathub's
49+
3. Edit the file:
50+
- Replace the content of the `diffuse` module with these lines:
51+
52+
```yaml
53+
- name: diffuse
54+
builddir: true
55+
buildsystem: meson
56+
config-opts:
57+
- -Dlog_print_output=true
58+
- -Duse_flatpak=true
59+
sources:
60+
- type: git
61+
url: https://github.com/MightyCreak/diffuse
62+
tag: <tag>
63+
commit: <tag_commit>
64+
```
65+
66+
- Replace `<tag>` with the release tag (e.g. `v1.2.3`)
67+
- Replace `<tag_commit>` with the release tag commit (e.g. `c0cefac1c4ab99a309b65002e820f5c815e368e1`)
68+
4. Create commit with changes and push to `main`
69+
5. Check the build on Flathub: <https://flathub.org/builds/>
70+
6. When it's done and successful, publish the build

io.github.mightycreak.Diffuse.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
app-id: io.github.mightycreak.Diffuse
22
runtime: org.gnome.Platform
3-
runtime-version: '44'
3+
runtime-version: '45'
44
sdk: org.gnome.Sdk
55
command: diffuse
66
finish-args:
@@ -12,8 +12,9 @@ finish-args:
1212
- --talk-name=org.freedesktop.Flatpak
1313
modules:
1414
- name: diffuse
15-
builddir: true
1615
buildsystem: meson
16+
builddir: true
17+
run-tests: true
1718
config-opts:
1819
- -Dlog_print_output=true
1920
- -Dlog_print_stack=true

src/diffuse/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ def popenRead(
185185
prefs.convertToNativePath('/bin/bash.exe'),
186186
'-l',
187187
'-c',
188-
f"cd {_bash_escape(cwd)}; {' '.join([ _bash_escape(arg) for arg in cmd ])}"
188+
f"cd {_bash_escape(cwd)}; {' '.join([_bash_escape(arg) for arg in cmd])}"
189189
]
190190
opt_cwd = None
191191

0 commit comments

Comments
 (0)