Hi, asciinema developer here.
First, many thanks to Gustavo for packaging asciinema for Debian. I really
appreciate that.
The reason why 0.9.8 was deprecated is that it’s almost 2 years old release
which uses unsafe http (not https) URL for uploading recordings.
This version doesn’t save the recording to the filesystem before uploading and
as you noticed the recording is lost when then upload fails for any reason. It
also doesn’t consult the API about possible deprecations before starting
recording.
These issues (https, saving to tmp file) has been addressed in 0.9.9 (the
latest version is 1.1.1 btw).
Versions 0.9.8 also use documented, open format for the recordings.
I have just re-enabled support for 0.9.8 on the server side to fix this
problem, but I’d like to stop supporting it in the near future (unsafe http
connection is the #1 reason).
Is there a chance to update this Debian package to the latest upstream version
in not so distant future?
Marcin Kulik
On Fri, 31 Jul 2015 23:04:19 + (UTC) Daniel Shahaf wrote:
Package: asciinema
Version: 0.9.8-1
Severity: grave
Tags: upstream
Justification: renders package unusable
Dear Maintainer,
asciinema cannot upload new recordings:
% asciinema -c /bin/true
~ Asciicast recording finished.
~ Do you want to upload it? [Y/n] y
~ Uploading...
~ Upload failed: Your client version is no longer supported. Please upgrade
to the latest version.
I expected the upload to succeed.
Moreover, if the asciinema client is too old to upload, then either that
should be reported prior to starting the recorded command, or the
recorded session should be saved in a file that the error message names;
doing neither causes user effort (the recorded session) to be lost.
I'm on jessie/stable, however, Carsten Hey (carsten@d.o) reproduced this in
sid.
Cheers,
Daniel
-- System Information:
Debian Release: 8.1
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing-updates'), (500,
'stable-updates'), (200, 'unstable'), (200, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages asciinema depends on:
ii python3 3.4.2-2
ii python3-requests 2.4.3-6
pn python3:any
asciinema recommends no packages.
asciinema suggests no packages.
-- debconf-show failed
--
Marcin