Monday, May 04, 2020

Re: [update] mail/mu-1.4.3

On Sun, May 03, 2020 at 01:23:34PM +0200, Stefan Hagen wrote:
> Stefan Hagen wrote:
> > Miguel wrote:
> >> - Added README for upgrade
> >
> > I just saw we can just put the release announcement here.
> > https://github.com/djcb/mu/releases/tag/1.4
> >
> > The new release is incompatible. The mu commands are reporting the
> > incompatibility, for example mu index -m ~/Mails reports, that you need
> > to run mu init first and omit the -m. But it will break scripts if the
> > user does not adapt them.
> >
> > I think it would make sense to add a pkg/MESSAGE to notified the user
> > about the incompatibility.

(Sorry for the delay replying.)

Thanks for taking care of this, Stefan. And sorry for messing up with the
missing README file -- I totally failed to prepare that diff.

> I created a new patch, but now as I see it in action I'm unsure about
> the MESSAGE:
>
> ===>Installing mu-1.4.3 from /usr/ports/packages/amd64/all/
> mu-1.4.3: ok
> New and changed readme(s):
> /usr/local/share/doc/pkg-readmes/mu
> --- +mu-1.4.3 -------------------
> The mu tools command line interface and default paths have been changed.
> Review share/doc/pkg-readmes/mu for details.
>
> The last line may be redundant. What do you think?

Well, I'm OK either way (with or without the MESSAGE). What I think it's
probably redundant is the contents of the README, which includes a lot of
info taken from a file that's already included in the package
(share/doc/mu/NEWS.org).

FWIW I'm including my original README bellow. It simply summarises what's
required for upgrading from a previous version, and this is also taken
from from NEWS.org.

Cheers,
--
Miguel

+-----------------------------------------------------------------------
| Running ${PKGSTEM} on OpenBSD
+-----------------------------------------------------------------------

Upgrading to 1.4.x
==================
- Close emacs application

- Run 'mu init'

- Make sure 'mu init' points to the right Maildir folder and add your email
address(es) the following way:

mu init --maildir=~/Maildir --my-address=jim@example.com \
--my-address=bob@example.com

- Once this is done run 'mu index'

- Don't forget to delete your old mail cache location if necessary

- see release notes in NEWS.org for more detail.

No comments:

Post a Comment