Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

docs/19949: The description of /usr/share/examples/cvsup/refuse is inconsistent with cvsup(1).

0 views
Skip to first unread message

ush...@msa.biglobe.ne.jp

unread,
Jul 15, 2000, 3:00:00 AM7/15/00
to

>Number: 19949
>Category: docs
>Synopsis: The description of /usr/share/examples/cvsup/refuse is inconsistent with cvsup(1).
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Jul 15 09:20:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Jun Ushida
>Release: 4.1-RC
>Organization:
secret!!
>Environment:
FreeBSD olive.localdomain 4.1-RC FreeBSD 4.1-RC #0: Sat Jul 15 08:35:55 JST 2000 ro...@olive.localdomain:/usr1/obj/usr1/src/sys/WAKANA i386

>Description:
An error in writing of the explanation in /usr/share/examples/cvsup/refuse
causes misinterpretation and inconsistency with cvsup(1).
Although cvsup(1) says `There is currently no provision for comments
in refuse files.', in /usr/share/examples/cvsup/refuse:
#You can copy this file to your sup directory and uncomment or add
#whatever you would like.

I propose to change the above two lines in /usr/share/examples/cvsup/refuse to:

#You can copy this file to your sup directory and uncomment or add
#whatever you would like. It should be noted that any comment must be
#removed from refuse files as there is currently no provision for comments.

or add the following lines to /usr/share/examples/cvsup/refuse.
#----------------------------------------------------------------------------
#CAUTION:Any comment must be removed from refuse files as there is currently
# no provision for comments.
#----------------------------------------------------------------------------

If there are comments in /usr/sup/refuse by mistake caused by the explanation
in /usr/share/examples/cvsup/refuse, the behavior of `cvsup' depends strongly
on the server-defined collection of files and even on the comments.
This is the cause of the delayed finding of this problem. For example,
1. If one uses the whole /usr/share/examples/cvsup/refuse as /usr/sup/refuse,
cvsup works for `ports-all' and donsn't work for 'src-all'(no error but
never update).
2. If one uses the modified /usr/share/examples/cvsup/refuse where the second
line from the end of the file
(#Use this feature with care -- many parts of the src distribution depend)
are removed, cvsup works for `ports-all' and `src-all'.

Best regards,

Jun Ushida
>How-To-Repeat:
Uses the whole /usr/share/examples/cvsup/refuse as /usr/sup/refuse.
The command `cvsup' works for `ports-all' and donsn't work for
'src-all'(no error but never update).

>Fix:
Modify /usr/share/examples/cvsup/refuse as I proposed.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message


Ben Smithurst

unread,
Jul 15, 2000, 3:00:00 AM7/15/00
to
The following reply was made to PR docs/19949; it has been noted by GNATS.

From: Ben Smithurst <b...@FreeBSD.org>
To: ush...@msa.biglobe.ne.jp
Cc: freebsd-gn...@FreeBSD.org
Subject: Re: docs/19949: The description of /usr/share/examples/cvsup/refuse is inconsistent with cvsup(1).
Date: Sat, 15 Jul 2000 17:47:39 +0100

ush...@msa.biglobe.ne.jp wrote:

> or add the following lines to /usr/share/examples/cvsup/refuse.
> #----------------------------------------------------------------------------
> #CAUTION:Any comment must be removed from refuse files as there is currently
> # no provision for comments.
> #----------------------------------------------------------------------------

Hmm, how about this:

--- refuse 2000/04/13 14:40:39 1.1
+++ refuse 2000/07/15 16:45:55
@@ -8,6 +8,11 @@
#CVSup "base" directory, your sup directory is /usr/sup. If you have
#changed your base directory, your sup directory is /path/to/base/sup.
#
+#NOTE: CVSup currently does not understand comments (lines beginning
+#with a `#' character) in refuse files, so please remember to remove all
+#such comments if you intend to use this file as a starting point for
+#creating your own refuse file.
+#
#Use this example if you have modified /usr/src/etc/sendmail/freebsd.mc
#to reflect your local configuration, and you do not want CVSup to
#overwrite it:

If no-one objects, or beats me to it, I'll commit this soon.

--
Ben Smithurst / b...@FreeBSD.org / PGP: 0x99392F7D
FreeBSD Documentation Project /

Jun USHIDA

unread,
Jul 15, 2000, 3:00:00 AM7/15/00
to
The following reply was made to PR docs/19949; it has been noted by GNATS.

From: Jun USHIDA <ush...@msa.biglobe.ne.jp>
To: b...@FreeBSD.org
Cc: freebsd-gn...@FreeBSD.org
Subject: Re: docs/19949: The description of /usr/share/examples/cvsup/refuse
is inconsistent with cvsup(1).

Date: Sun, 16 Jul 2000 03:17:32 +0900 (JST)

In article <2000071517...@strontium.scientia.demon.co.uk>


b...@FreeBSD.org wrote:

|Hmm, how about this:

--- an omission of a middle part ---


|If no-one objects, or beats me to it, I'll commit this soon.

Thank you for your prompt reply.
I approve of your proposal.
--
Jun Ushida

b...@freebsd.org

unread,
Jul 16, 2000, 3:00:00 AM7/16/00
to
Synopsis: The description of /usr/share/examples/cvsup/refuse is inconsistent with cvsup(1).

State-Changed-From-To: open->closed
State-Changed-By: ben
State-Changed-When: Sun Jul 16 21:33:51 BST 2000
State-Changed-Why:
Committed in -current and 4-stable, thanks!

http://www.freebsd.org/cgi/query-pr.cgi?pr=19949

0 new messages