[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#610083: Remove requirement to document upstream source location in debian/copyright ?



Le Sun, Jan 16, 2011 at 09:38:51AM +0100, Thijs Kinkhorst a écrit :
> On Sun, January 16, 2011 03:17, Russ Allbery wrote:
> >
> > I'm opposed to this change as proposed because it means that we can have
> > packages without any hint as to where the upstream source came from (since
> > Homepage is not required).
> 
> I'm not enthousiastic yet either, because the proposal lacks the
> information about what cost is associated with the current sitiuation.
> Really, it's just a few keystrokes when first creating the package and
> hardly needs to be changed afterward. I have never found this to be a
> burden in any way, and the information in the Homepage field may indeed be
> not as complete.
> 
> What problem is this trying to solve?

In a recent discussion about DEP-5, it was noted that often the Homepage field
is redundant with the information in debian/copyright:

http://lists.debian.org/20110113213843.GB11512@gnu.kitenet.net

The goal of the patch that I attached here is to give the possiblity for
the maintainers to factorise information if they wish.

Note that the purpose of the Homepage field, perhaps unfortunately more
in the Policy than in the practice, is already to lead to the upstream
sources:

  5.6.23 Homepage
  
  The URL of the web site for this package, preferably (when applicable) the site
  from which the original source can be obtained and any additional upstream
  documentation or information may be found. The content of this field is a
  simple URL without any surrounding characters such as <>.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan
>From 7e676c99a24a29d0d38deff142762bec09123b98 Mon Sep 17 00:00:00 2001
From: Charles Plessy <plessy@debian.org>
Date: Sun, 16 Jan 2011 17:37:15 +0900
Subject: [PATCH] Document upstream source location with Homepage or debian/copyright.

Closes: #610083
---
 policy.sgml |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/policy.sgml b/policy.sgml
index 6e04c81..f981ad1 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -9608,8 +9608,15 @@ END-INFO-DIR-ENTRY
 	</p>
 
 	<p>
-	  In addition, the copyright file must say where the upstream
-	  sources (if any) were obtained.  It should name the original
+	  In addition, source and binary packages must document where the
+	  upstream sources (if any) were obtained. The copyright file must
+	  be used for that purpose. As an exception, if the
+	  <qref id="f-Homepage">Homepage</qref> clearly provides the
+	  information, the copyright file may omit it.
+	</p>
+
+	<p>
+	  The copyright file should name the original
 	  authors of the package and the Debian maintainer(s) who were
 	  involved with its creation.
 	</p>
-- 
1.7.2.3


Reply to: