NetBSD Problem Report #55305

From www@netbsd.org  Wed May 27 06:08:16 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id BC88D1A9227
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 27 May 2020 06:08:16 +0000 (UTC)
Message-Id: <20200527060815.9EEE21A9247@mollari.NetBSD.org>
Date: Wed, 27 May 2020 06:08:15 +0000 (UTC)
From: jonthn+pkgsrc@pinacea.com
Reply-To: jonthn+pkgsrc@pinacea.com
To: gnats-bugs@NetBSD.org
Subject: Update sysutils/fzf
X-Send-Pr-Version: www-1.0

>Number:         55305
>Category:       pkg
>Synopsis:       Update sysutils/fzf
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed May 27 06:10:01 +0000 2020
>Closed-Date:    Tue Oct 13 02:36:22 +0000 2020
>Last-Modified:  Tue Oct 13 02:36:22 +0000 2020
>Originator:     jonathan buschmann
>Release:        
>Organization:
>Environment:
>Description:
Update fzf from 0.18.0 to 0.21.1

--- Changelog

# 0.21.1

### Shell extension
	* CTRL-R will remove duplicate commands)
### fzf-tmux
	* Supports tmux popup window (require tmux 3.2 or above)
### Bug fixes
	* Fixed Windows file traversal not to include directories
	* Fixed ANSI colors with --keep-right
	* Fixed _fzf_complete for zsh
# 0.21.0

- --height option is now available on Windows as well (@kelleyma49)
- Added --pointer and --marker options
- Added --keep-right option that keeps the right end of the line visible when it's too long
- More keys and actions for --bind
* Vim plugin: Built-in floating windows support

### Style changes
	* --border will now print border with rounded corners around the finder instead of printing horizontal lines above and below it. The previous style is available via --border=horizontal
	* Unicode spinner
### bash
	* Various improvements in key bindings (CTRL-T, CTRL-R, ALT-C)
		CTRL-R will start with the current command-line as the initial query
		CTRL-R properly supports multi-line commands
- Fuzzy completion API changed
* Bug fixes and improvements

# 0.20.0

- Customizable preview window color (preview-fg and preview-bg for --color)
- Removed the immediate flicking of the screen on reload action.
- Added clear-query and clear-selection actions for --bind
- It is now possible to split a composite bind action over multiple --bind expressions by prefixing the later ones with +.
- Fixed parse error of --bind expression where concatenated execute/reload action contains + character.
- Fixed bugs of reload action
	* Not triggered when there's no match even when the command doesn't have any placeholder expressions
	* Screen not properly cleared when --header-lines not filled on reload

0.19.0

- Added --phony option which completely disables search functionality. Useful when you want to use fzf only as a selector interface.
- Added "reload" action for dynamically updating the input list without restarting fzf. See https://github.com/junegunn/fzf/issues/1750 to learn more about it.
- --multi now takes an optional integer argument which indicates the maximum number of items that can be selected
- If a placeholder expression for --preview and execute action (and the new reload action) contains f flag, it is replaced to the path of a temporary file that holds the evaluated list. This is useful when you multi-select a large number of items and the length of the evaluated string may exceed ARG_MAX.
- deselect-all no longer deselects unmatched items. It is now consistent with select-all and toggle-all in that it only affects matched items.
- Due to the limitation of bash, fuzzy completion is enabled by default for a fixed set of commands. A helper function for easily setting up fuzzy completion for any command is now provided.
- Info line style can be changed by --info=STYLE
	* --info=default
	* --info=inline (same as old --inline-info)
	* --info=hidden
- Preview window border can be disabled by adding noborder to --preview-window.
- When you transform the input with --with-nth, the trailing white spaces are removed.
- ctrl-\, ctrl-], ctrl-^, and ctrl-/ can now be used with --bind
- See https://github.com/junegunn/fzf/milestone/15?closed=1 for more details


>How-To-Repeat:

>Fix:
diff --git i/sysutils/fzf/Makefile w/sysutils/fzf/Makefile
index 629acb34151..df2670388cd 100644
--- i/sysutils/fzf/Makefile
+++ w/sysutils/fzf/Makefile
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.24 2020/04/12 11:01:46 bsiegert Exp $

-DISTNAME=	fzf-0.18.0
-PKGREVISION=	5
+DISTNAME=	fzf-0.21.1
 CATEGORIES=	sysutils
 MASTER_SITES=	${MASTER_SITE_GITHUB:=junegunn/}


>Release-Note:

>Audit-Trail:
From: Thomas Klausner <tk@giga.or.at>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/55305: Update sysutils/fzf
Date: Wed, 27 May 2020 08:16:13 +0200

 On Wed, May 27, 2020 at 06:10:01AM +0000, jonthn+pkgsrc@pinacea.com wrote:
 > diff --git i/sysutils/fzf/Makefile w/sysutils/fzf/Makefile

 There should at least be an accompanying change for its distinfo file.
 Can you please check if your change is complete?
  Thomas

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 13 Oct 2020 02:36:22 +0000
State-Changed-Why:
Updated past this point to 0.23.1 as fzf had new releases since. Thanks for the patch!


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.