Subject: Package names

From: [email-masked] (Martin Schulze)
Date: Fri, 14 Jun 96 13:20 MET DST

Hi folks,

I'm totally confused now.  Shall new uploads (i.e. bugfixes) use the
underscore as delimiter betwen the name of the package and the version
or do we stay on the old way until 1.1 is released?

Sorry for disturbing,

	Joey

-- 
  / Martin Schulze  *  [email-masked]  *  26129 Oldenburg /
 /                                     http://home.pages.de/~joey/
/ The only stupid question is the unasked one                   /

---

From: Guy Maor <[email-masked]>
Date: Fri, 14 Jun 1996 09:28:49 -0500 (CDT)

> or do we stay on the old way until 1.1 is released?

It doesn't matter.  dinstall will rename them to the right thing.

Guy

---

From: [email-masked]
Date: Fri, 14 Jun 96 10:36 EDT

Martin> I'm totally confused now.  Shall new uploads (i.e. bugfixes) use
  Martin> the underscore as delimiter betwen the name of the package and the
  Martin> version or do we stay on the old way until 1.1 is released?

  Guy>  It doesn't matter.  dinstall will rename them to the right thing.

It does matter. As Bruce pointed out yesterday, debian.rules should build the
Right Thing. 

So? What is the recommendation? Use dpkg-name from dpkg-1.2.6?

-- 
Dirk Eddelb"uttel                             http://qed.econ.queensu.ca/~edd

---

From: Guy Maor <[email-masked]>
Date: Fri, 14 Jun 1996 09:42:44 -0500 (CDT)

> So? What is the recommendation? Use dpkg-name from dpkg-1.2.6?

Yes.

Guy

---

From: Erick Branderhorst <[email-masked]>
Date: Fri, 14 Jun 1996 16:16:00 +0100

> It does matter. As Bruce pointed out yesterday, debian.rules should
 > build the Right Thing. 
I (Erick) recommend that debian.rules contains the following line:

dpkg --build debian-tmp && dpkg-name -o -s .. debian-tmp.deb

This will give the binary file(s) the proper underscore name.
It will leave the .tar.gz and the .diff.gz files untouched.
The current dchanges (version 3.4) will not accept this, IMHO it 
should be changed to accept this.

If we want all files to follow the underscores convention, much more
rewriting of .debian.rules needs to be done this time and again at 
the next time of a filename change (I hope this will not happen).
or
dchanges should accept all kinds of names and rename them to the
proper naming, this isn't trivial.

Erick

---

From: Manoj Srivastava <[email-masked]>
Date: 14 Jun 1996 13:34:23 -0400

Hi,

	I think that in the absence of an updated guideline document,
 there should be a clarification of whether the tar.gz and diff files
 followed the same convention of using underscores. I thought that they
 did, and agreed with the change, since all the file names looked
 similair and sorted the same, and ease-of-use to humans is what the
 whole naming convention was about.

	But Erick has a totally dis-similar view-point, and this
 should be cleared up. In the meanwhile, I have put this into my
 debian.rules files ;-)
 ...
 ...
# separators
sep1 = _
sep2 = _
sep3 = .
sep4 = .
 ...
 ...
source:
	...
	...
	( cd source-tmp && tar cvf - $(package) | \
             gzip -9f > ../../$(package)$(sep1)$(debian)$(sep3)tar$(sep4)gz )

	manoj

-- 
 I know engineers.  They love to change things. Dr. McCoy
Manoj Srivastava               Systems Research Programmer, Project Pilgrim,
Phone: (413) 545-3918                A143B Lederle Graduate Research Center,
Fax:   (413) 545-1249         University of Massachusetts, Amherst, MA 01003
<[email-masked]> <URL:http://www.pilgrim.umass.edu/%7Esrivasta/>

---

From: Andy Guy <[email-masked]>
Date: Fri, 14 Jun 1996 11:37:40 -0600

>should be changed to accept this.

I think this is wrong - we then have two different filename formats -
and it is the *source* files that really need to be parsable.

>proper naming, this isn't trivial.

dchanges cannot rename source files - it cannot tell what they if the
file names don't match.

Andy.