Package: syncthing-gtk / 0.9.4.4+ds+git20221205+12a9702d29ab-6

Metadata

Package Version Patches format
syncthing-gtk 0.9.4.4+ds+git20221205+12a9702d29ab-6 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Version PEP 440.patch | (download)

setup.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 hardcode a pep-440-compliant version

This hotfix patch fixes a problem with syncthing-gtk's current
Debian version not respecting PEP-440 and thus crashing other packages. By
bypassing the get_version() function altogether, the version used by the
package doesn't include the git hash.
This patch should probably be revisited after the release of Debian Bookworm
to find long-term solution.

0002 Use raw strings for regular expressions.patch | (download)

syncthing_gtk/app.py | 2 1 + 1 - 0 !
syncthing_gtk/foldereditor.py | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use raw strings for regular expressions

This fixes the following warnings:

    .../app.py:924: SyntaxWarning: invalid escape sequence '\('
      version = re.search("protocol \(([^\)]+)\)", message)
    .../foldereditor.py:24: SyntaxWarning: invalid escape sequence '\-'
      RE_GEN_ID = re.compile("([a-zA-Z0-9\-\._]{1,64}).*")

Bug-Debian: https://bugs.debian.org/1065474

0003 Handle the case cons doesnt exist.patch | (download)

syncthing_gtk/daemon.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 handle missing keys in cons