NetBSD Problem Report #51910

From root@nbsd.backwatcher.com  Mon Jan 23 12:25:18 2017
Return-Path: <root@nbsd.backwatcher.com>
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 "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 562DC7A28D
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 23 Jan 2017 12:25:18 +0000 (UTC)
Message-Id: <20170123122516.EC59B2EFEC@nbsd.backwatcher.com>
Date: Mon, 23 Jan 2017 04:25:16 -0800 (PST)
From: amonk@backwatcher.com
Reply-To: amonk@backwatcher.com
To: gnats-bugs@NetBSD.org
Subject: send-pr environment variables not working
X-Send-Pr-Version: 3.95

>Number:         51910
>Category:       bin
>Synopsis:       The values of ORGANIZATION and NAME are not honored.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 23 12:30:00 +0000 2017
>Closed-Date:    Wed Jan 17 00:10:01 +0000 2018
>Last-Modified:  Wed Jan 17 00:10:01 +0000 2018
>Originator:     Kyle Amon
>Release:        NetBSD 7.0.2_PATCH
>Organization:
BackWatcher, Inc.

>Environment:


System: NetBSD nbsd.backwatcher.com 7.0.2_PATCH NetBSD 7.0.2_PATCH (XEN3_DOM0) amd64
Architecture: x86_64
Machine: amd64
>Description:
The send-pr(1) man page says ORGANIZATION and NAME are valid environment
variables that will be honored by send-pr, but they are ignored.

>How-To-Repeat:
Set ORGANIZATION and NAME in your environment, begin to send a PR with
send-pr and note that the Organization and Originator fields are not
populated with the values of these environment variables.

>Fix:
Unknown.


>Release-Note:

>Audit-Trail:
From: christos@zoulas.com (Christos Zoulas)
To: gnats-bugs@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org
Cc: 
Subject: Re: bin/51910: send-pr environment variables not working
Date: Mon, 23 Jan 2017 12:23:44 -0500

 On Jan 23, 12:30pm, amonk@backwatcher.com (amonk@backwatcher.com) wrote:
 -- Subject: bin/51910: send-pr environment variables not working

 | >Number:         51910
 | >Category:       bin
 | >Synopsis:       The values of ORGANIZATION and NAME are not honored.
 | >Confidential:   no
 | >Severity:       non-critical
 | >Priority:       low
 | >Responsible:    bin-bug-people
 | >State:          open
 | >Class:          sw-bug
 | >Submitter-Id:   net
 | >Arrival-Date:   Mon Jan 23 12:30:00 +0000 2017
 | >Originator:     Kyle Amon
 | >Release:        NetBSD 7.0.2_PATCH
 | >Organization:
 | BackWatcher, Inc.
 | 	
 | >Environment:
 | 	
 | 	
 | System: NetBSD nbsd.backwatcher.com 7.0.2_PATCH NetBSD 7.0.2_PATCH (XEN3_DOM0) amd64
 | Architecture: x86_64
 | Machine: amd64
 | >Description:
 | The send-pr(1) man page says ORGANIZATION and NAME are valid environment
 | variables that will be honored by send-pr, but they are ignored.
 | 	
 | >How-To-Repeat:
 | Set ORGANIZATION and NAME in your environment, begin to send a PR with
 | send-pr and note that the Organization and Originator fields are not
 | populated with the values of these environment variables.

 I just tried and they are; noted the ORGANIZATION should point to a file...

 I did:
 $ export NAME='foo bar'
 $ export ORGANIZATION=/etc/networks
 $ send-pr

 ...
 >Originator:    foo bar
 >Organization:
 #       $NetBSD: networks,v 1.5 1998/07/10 06:22:15 fair Exp $
 ...

 In the send-pr display; do you see that?

 christos

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Wed, 17 Jan 2018 00:10:01 +0000
State-Changed-Why:
Not actually broken.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.