From 88fb73aaa482c9c493d1e2998c00212ae9d80e89 Mon Sep 17 00:00:00 2001 From: Andinus Date: Tue, 24 Nov 2020 17:39:48 +0530 Subject: Bump version to v0.3.0, add update News to README --- README.org | 12 ++++++++++++ draco.1 | 2 +- draco.pl | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index 0becfb5..c415335 100644 --- a/README.org +++ b/README.org @@ -70,6 +70,18 @@ sudo apt install libunicode-linebreak-perl libjson-maybexs-perl \ sudo dnf install perl-JSON-MaybeXS perl-HTTP-Tiny perl-Unicode-LineBreak #+END_SRC * News +** v0.3.0 - 2020-11-24 +This version adds code to fetch all the comments in a thread. Now users +can archive the whole thread. + +Everyone should get this update, the code has become a lot more complex +since v0.1.3. If you don't want to update then you can get the patches +for small changes from the git history. + ++ Fetch all the comments. ++ Add debug message for HTTP calls. + It'll print a "." for every HTTP call. Users will be able to tell when + the script is making HTTP calls. ** v0.2.2 - 2020-11-24 This version is mostly structural changes, it'll now be easier to add code to fetch comments hidden behind "continue this thread". diff --git a/draco.1 b/draco.1 index 1b6062c..3dec7f0 100644 --- a/draco.1 +++ b/draco.1 @@ -22,7 +22,7 @@ multiple HTTP calls. The options are as follows: .Bl -tag -width Ds .It Fl d -Turn on debug messages. Debug messages will be printed to STDERR. I +Turn on debug messages. Debug messages will be printed to STDERR. .It Fl v Print version. .It Fl h diff --git a/draco.pl b/draco.pl index 419f755..012be58 100755 --- a/draco.pl +++ b/draco.pl @@ -17,7 +17,7 @@ binmode(STDOUT, "encoding(UTF-8)"); die "usage: draco [-dhv] \n" unless scalar @ARGV; my $DEBUG; -my $VERSION = "v0.2.2"; +my $VERSION = "v0.3.0"; # Dispatch table to be parsed before url. my %dispatch = ( '-v' => sub { print "Draco $VERSION\n"; exit; }, @@ -36,7 +36,7 @@ Options: Environment Variables: FETCH_ALL Fetch all comments. This will make multiple HTTP calls to - reddit. This doesn't fetch *all* the comments. + reddit. }; exit; }, -- cgit 1.4.1-2-gfad0