Skip to content

Commit

Permalink
Initial 0.7 release.
Browse files Browse the repository at this point in the history
This commit brings in a few major changes to elfeed-score:

    1. Re-factors 'elfeed-score.el' into multiple, smaller files
    2. Updates the score file format to serialize rules as property
       lists
    3. When elfeed-score reads a score file in an archaic format,
       it will write a backup before updating it.
  • Loading branch information
sp1ff committed Feb 26, 2021
1 parent 1fdd6bc commit 8c895a7
Show file tree
Hide file tree
Showing 7 changed files with 50 additions and 25 deletions.
37 changes: 31 additions & 6 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
2021-02-24 Michael Herstine <sp1ff@pobox.com>
2021-02-25 Michael Herstine <sp1ff@pobox.com>

Initial 0.7 release.
This commit brings in a few major changes to elfeed-score:

1. Re-factors 'elfeed-score.el' into multiple, smaller files
2. Updates the score file format to serialize rules as property
lists
3. When elfeed-score reads a score file in an archaic format,
it will write a backup before updating it.

2021-02-25 Michael Herstine <sp1ff@pobox.com>

texinfo version updated by sanity check

Write a backup copy of the score file on version upgrade.
This commit adds a minor new feature: if elfeed-score detects,
on loading the score file, that the format version has changed,
it will write a backup copy of the score file.

2021-02-20 Michael Herstine <sp1ff@pobox.com>
2021-02-25 Michael Herstine <sp1ff@pobox.com>

Introduce score file format version 6.
With this commit, elfeed-score will serialize scoring rules as
Expand All @@ -16,15 +29,15 @@
will reduce errors on the part of rule authors & enable better
validation & error messages on the part of the package.

2021-02-08 Michael Herstine <sp1ff@pobox.com>
2021-02-25 Michael Herstine <sp1ff@pobox.com>

Stop packages from referring to private symbols in other packages.
Post-re-factor, there were a few cases of one package referring
to a prinvate symbol defined in another package. This commit
eliminates that, albeit by simply renaming the referenced
private symbosl to be public.

2021-02-06 Michael Herstine <sp1ff@pobox.com>
2021-02-25 Michael Herstine <sp1ff@pobox.com>

Update my Github workflows.
This commit:
Expand All @@ -34,7 +47,7 @@
- adds a workflow just for the 0.7 branch that will create
alpha releases

2021-02-06 Michael Herstine <sp1ff@pobox.com>
2021-02-25 Michael Herstine <sp1ff@pobox.com>

Major re-work of the elfeed-score documentation.
This commit breaks-up the bloated README:
Expand All @@ -44,7 +57,7 @@
- user documentation has been moved to a Texinfo manual
- developer documentation has been moved to the project Wiki

2021-01-31 Michael Herstine <sp1ff@pobox.com>
2021-02-25 Michael Herstine <sp1ff@pobox.com>

Re-factor 'elfeed-score.el'.
'elfeed-score.el' has grown to over 2K lines. Consequently, it
Expand All @@ -60,6 +73,18 @@
All lints now pass, as well as all unit tests. Still, this is a
major, breaking change & is not ready for release, yet.

2021-02-25 Michael Herstine <sp1ff@pobox.com>

Updated README.org with latest 0.7 alpha release

2021-02-20 Michael Herstine <sp1ff@pobox.com>

Updated the 0.7 pre-releases ann

2021-02-08 Michael Herstine <sp1ff@pobox.com>

Added an announcment about 0.7 pre-releases to the README.

2021-01-29 Michael Herstine <sp1ff@pobox.com>

Squashing commits fixing assorted issues raised by firmart:
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
elfeed-score News -- history of user-visible changes -*- outline -*-

* Changes in elfeed-score 0.7.4

** User-visible Changes

*** Below changes on the 0.7 branch now available on master
* Changes in elfeed-score 0.7.3

** User-visible Changes
Expand Down
21 changes: 8 additions & 13 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#+DESCRIPTION: Gnus-style scoring for Elfeed
#+AUTHOR: Michael Herstine
#+EMAIL: sp1ff@pobox.com
#+DATE: <2021-02-25 Thu 08:03>
#+DATE: <2021-02-25 Thu 08:11>
#+AUTODATE: t
#+OPTIONS: toc:nil org-md-headline-style:setext *:t ^:nil

Expand All @@ -11,11 +11,6 @@
[[https://github.com/sp1ff/elfeed-score/workflows/melpazoid/badge.svg][file:https://github.com/sp1ff/elfeed-score/workflows/melpazoid/badge.svg]]


* Ann: elfeed-score 0.7 pre-releases

Hello all-- in order to support some new features I'd like to add, I've started re-factoring elfeed-score from one Emacs Lisp file (over 2K LoC in size) into several. I've also made a significant change to the serialization format. Upgrading should be transparent, but out of an abundance of caution I'm doing the work on branch (=0.7=) and I've started putting up pre-releases made from that branch (the latest may be found [[https://github.com/sp1ff/elfeed-score/releases/tag/0.7.3][here]]). If anyone would like to try 'em out & let me know how it worked, I'd appreciate it. Also, apologies to anyone getting elfeed-score from MELPA Stable: I didn't realize that it picked up tags on *any* branch (as opposed to just =master=): as a result, I find myself in the odd position of hosting the latest builds on MELPA Stable, and the known-good, stable code on MELPA.

At this point, I've been letting the latest =0.7= code "bake" in my production Emacs instance; with no major issues having cropped up in the past few days I'll be mergint into =master= & releasing soon.
* Introduction

[[https://github.com/sp1ff/elfeed-score][elfeed-score]] brings Gnus-style [[https://www.gnu.org/software/emacs/manual/html_node/gnus/Scoring.html#Scoring][scoring]] to [[https://github.com/skeeto/elfeed][Elfeed]].
Expand Down Expand Up @@ -76,7 +71,7 @@ The easiest way to install elfeed-score is [[https://github.com/melpa/melpa][MEL
You can also download the Emacs package file on the GitHub releases [[https://github.com/sp1ff/elfeed-score/releases][page]] or from my personal [[https://www.unwoundstack/distros.html][page]]. Then say:

#+BEGIN_SRC elisp
(package-install-file "elfeed-score-0.7.3.tar")
(package-install-file "elfeed-score-0.7.4.tar")
#+END_SRC

** Autotools Source Distributions
Expand All @@ -85,8 +80,8 @@ You can also download Autotools source tarballs (again available either on the G

#+BEGIN_SRC bash
cd /tmp
curl -L --output elfeed-score-0.7.3.tar.gz https://github.com/sp1ff/elfeed-score/releases/download/0.7.3/elfeed-score-0.7.3.tar.gz
tar xvf elfeed-score-0.7.3.tar.gz && cd elfeed-score-0.7.3
curl -L --output elfeed-score-0.7.4.tar.gz https://github.com/sp1ff/elfeed-score/releases/download/0.7.4/elfeed-score-0.7.4.tar.gz
tar xvf elfeed-score-0.7.4.tar.gz && cd elfeed-score-0.7.4
export EMACSLOADPATH=$HOME/.emacs.d/elpa/elfeed-20200209.1942:$EMACSLOADPATH
./configure
make
Expand All @@ -101,16 +96,16 @@ The unit tests require some macros defined by the [[https://github.com/skeeto/el
#+BEGIN_SRC bash
cd /tmp
git clone https://github.com/skeeto/elfeed.git
curl -L --output=elfeed-score-0.7.3.tar.gz https://github.com/sp1ff/elfeed-score/releases/download/0.7.3/elfeed-score-0.7.3.tar.gz
tar xvf elfeed-score-0.7.3.tar.gz && cd elfeed-score-0.7.3
export EMACSLOADPATH=/tmp/elfeed-score-0.7.3:/tmp/elfeed:/tmp/elfeed/tests:$EMACSLOADPATH
curl -L --output=elfeed-score-0.7.4.tar.gz https://github.com/sp1ff/elfeed-score/releases/download/0.7.4/elfeed-score-0.7.4.tar.gz
tar xvf elfeed-score-0.7.4.tar.gz && cd elfeed-score-0.7.4
export EMACSLOADPATH=/tmp/elfeed-score-0.7.4:/tmp/elfeed:/tmp/elfeed/tests:$EMACSLOADPATH
./configure
make
make check
sudo make install
#+END_SRC

Again, unless you already use =EMACSLOADPATH=, you'll need to set =EMACSLOADPATH= appropriately to your system, something like =EMACSLOADPATH=/tmp/elfeed-score-0.7.3:/tmp/elfeed:/tmp/elfeed/tests:/usr/share/emacs/25.2/lisp=.
Again, unless you already use =EMACSLOADPATH=, you'll need to set =EMACSLOADPATH= appropriately to your system, something like =EMACSLOADPATH=/tmp/elfeed-score-0.7.4:/tmp/elfeed:/tmp/elfeed/tests:/usr/share/emacs/25.2/lisp=.

** Building From Source

Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AC_INIT([elfeed-score], [0.7.3], [sp1ff@pobox.com], [elfeed-score], [https://github.com/sp1ff/elfeed-score])
AC_INIT([elfeed-score], [0.7.4], [sp1ff@pobox.com], [elfeed-score], [https://github.com/sp1ff/elfeed-score])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_SRCDIR([./elfeed-score.el])

Expand Down
4 changes: 2 additions & 2 deletions doc/version.texi
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@set UPDATED 25 February 2021
@set UPDATED-MONTH February 2021
@set EDITION 0.7.3
@set VERSION 0.7.3
@set EDITION 0.7.4
@set VERSION 0.7.4
2 changes: 1 addition & 1 deletion elfeed-score-pkg.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(define-package
"elfeed-score"
"0.7.3"
"0.7.4"
"Gnus-style scoring for Elfeed"
'((emacs "26.1") (elfeed "3.3.0")))
4 changes: 2 additions & 2 deletions elfeed-score.el
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
;; Copyright (C) 2019-2021 Michael Herstine <sp1ff@pobox.com>

;; Author: Michael Herstine <sp1ff@pobox.com>
;; Version: 0.7.3
;; Version: 0.7.4
;; Package-Requires: ((emacs "26.1") (elfeed "3.3.0"))
;; Keywords: news
;; URL: https://github.com/sp1ff/elfeed-score
Expand Down Expand Up @@ -43,7 +43,7 @@
(require 'elfeed-score-scoring)
(require 'elfeed-score-maint)

(defconst elfeed-score-version "0.7.3")
(defconst elfeed-score-version "0.7.4")

(defgroup elfeed-score nil
"Gnus-style scoring for Elfeed entries."
Expand Down

0 comments on commit 8c895a7

Please sign in to comment.