diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2022-02-07 06:56:10 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2022-02-07 06:56:10 +0100 |
commit | 43f33c72804e63306580755049c09d5a81ad83e3 (patch) | |
tree | 805caeb00a832ed96a331907987d4e6a2056a391 /tools | |
parent | 0f86c5490ea7c2218a4394bf4c21bf3f9267a47c (diff) | |
parent | 6427d36e269d8c14e6bc55373102a4ebc971ca38 (diff) |
Merge branch 'release/debian/1.1.1-1'debian/1.1.1-1
Diffstat (limited to 'tools')
-rw-r--r-- | tools/NEWS.template.jinja | 30 | ||||
-rwxr-xr-x | tools/epson2usb.pl | 3 |
2 files changed, 30 insertions, 3 deletions
diff --git a/tools/NEWS.template.jinja b/tools/NEWS.template.jinja new file mode 100644 index 0000000..afb5c11 --- /dev/null +++ b/tools/NEWS.template.jinja @@ -0,0 +1,30 @@ +{% for section, _ in sections|dictsort(by='key') %} +{% set underline = "-" %} +{% if section %} +----- {{section}} + +{% endif %} +{% if sections[section] %} +{% for category, val in definitions|dictsort if category in sections[section]%} + +### {{ definitions[category]['name'] }} + +{% for text, values in sections[section][category]|dictsort(by='value') %} +- {{ text }} +{% endfor %} + +{% if sections[section][category]|length == 0 %} + +No significant changes. + + +{% else %} +{% endif %} +{% endfor %} +{% else %} + +No significant changes. + + +{% endif %} +{% endfor %} diff --git a/tools/epson2usb.pl b/tools/epson2usb.pl index 6d542d7..b1e63dd 100755 --- a/tools/epson2usb.pl +++ b/tools/epson2usb.pl @@ -42,11 +42,8 @@ use warnings; next unless $m->{'usbid'} =~ /"0x04b8"\s+"(0x[[:xdigit:]]+)"/; my $id = $1; - # print $id, "\n"; - $id =~ s/0x0/0x/; - $m->{'model'} =~ s/;.+$//; $m->{'model'} =~ s/\"//g; $m->{'model'} =~ s/\s+$//; |