[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #25549 [Core Tor/Tor]: Add tor CI config for AppVeyor
#25549: Add tor CI config for AppVeyor
-------------------------------------------------+-------------------------
Reporter: isis | Owner: saper
Type: enhancement | Status:
| needs_review
Priority: Medium | Milestone: Tor:
| 0.3.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Resolution:
Keywords: tor-ci, tor-testing, 034-roadmap- | Actual Points:
subtask, 034-triage-20180328, |
034-included-20180328 |
Parent ID: #25550 | Points: 2
Reviewer: isis, catalyst | Sponsor:
| Sponsor3
-------------------------------------------------+-------------------------
Comment (by isis):
Replying to [comment:22 saper]:
> Funny thing: we need utf-8 support for IRC:)
>
> {{{
> :charm.oftc.net NOTICE AUTH :*** Looking up your hostname...
> :charm.oftc.net NOTICE AUTH :*** Checking Ident
> :charm.oftc.net NOTICE AUTH :*** Couldn't look up your hostname
> :charm.oftc.net NOTICE AUTH :*** No Ident response
> :charm.oftc.net NOTICE appveyor-ci :*** Connected securely via TLSv1.2
ECDHE-RSA-AES256-GCM-SHA384-256
> :charm.oftc.net 001 appveyor-ci :Welcome to the OFTC Internet Relay Chat
Network appveyor-ci
> PRIVMSG #tor-ci :git://repo.or.cz/tor/appveyor.git 0master 5a3cbaf -
Marcin Cieślak: tests: do not hardcode path for IRC notifications
> ERROR: Failed to send notification:
> Traceback (most recent call last):
> File "C:\projects\appveyor\scripts\test\appveyor-irc-notify.py", line
195, in <module>
> notify()
> File "C:\projects\appveyor\scripts\test\appveyor-irc-notify.py", line
188, in notify
> irc_sock.send('PRIVMSG #{} :{}\r\n'.format(channel, msg).encode())
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 81:
ordinal not in range(128)
> }}}
Yeah… that script is a bit janky. The original (at least the one that I
took) is [https://github.com/nexB/scancode-
toolkit/blob/ea08cf2313583e36ccf1c4f5c4e9fd45d90fbb1f/etc/scripts/irc-
notify.py here]. It definitely doesn't handle UTF-8. :'( I'm sorry it
messed up your name!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25549#comment:24>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs