Subject: Re: uploading to m68k

From: Guy Maor <[email-masked]>
Date: Mon, 10 Jun 1996 04:31:21 -0500 (CDT)

On Mon, 10 Jun 1996, Juergen Menden wrote:

> the binary packages are uploaded as
>    hello-1.3-6.m68k.deb
> so i would propose the coresponding changes file to be
>    hello-1.3-6.m68k.changes
> is this ok?

That's fine.

Guy

---

From: Guy Maor <[email-masked]>
Date: Sun, 9 Jun 1996 07:41:43 -0500 (CDT)

Sorry for taking a while to get back to you.

Anyway the script works fine on multiarchitecture uploads already.  I'm
lazy though so haven't written the documentation YET!.  It's extremely
easy though:

1. Rename your packages with dpkg-name.

2. Run dchanges to produce a changes file.  You have to conform to
dchanges(5).  A bit more info on this at the end of this email.

3. Upload the whole mess to Incoming.

4. Wait for email saying it's been rejected and installed.

5. If it's been rejected, you'll find what you've uploaded in
Incoming/REJECT.  You won't have to upload it again if the reason was a
bad .changes file or only part of the upload was corrupted.

6. If it's been installed, go have a beer. :)

>  - Michael Schmitz has a fairly good connection to master and has 
>    volunteered to clear our incomming. unfortunately he can do
>    this job only until the end of the month.

I'll help Michael with this.

>  - Frank Neumann and Sven Rudolph are moving the m68k area back to
>    europe, so that the incoming processing is easier to maintain
>    for us.

Don't do this yet.  If Incoming gets processed every day or two, I
don't think this will be necessary.

> it seems that the script 
> did already run on our incoming once?

Yeah, I tried to run the script, but your changes files were all very
old so didn't work.  dinstall understands formats 1.4 and higher.

Be sure and read dchanges(5) as it documents the format.  That's what I
went by when I wrote dinstall.  dchanges itself is just an
implementation of dchanges(5).  For example,  I think it has a bug
producing binary only changes files, which is what you guys will
produce, but there's a patch in bug report 3104.

master is down right now (Argh! Why is it so flaky?) so I can't check
the exact reasons that your changes files were rejected.  Here are some
I remember:

In the Architecture field, put m68k.  Don't put source unless you're
uploading source.  You shouldn't be.

In the Distribution field, put one of unstable, non-free, contib, or
experimental.

In the Binary field put the name of the package(s) you're uploading.

The Files section is most important.
For format 1.4 it's
<md5sum> <size> <section> <name>
For format 1.5 it's
<md5sum> <size> <section> <priority> <name>
It doesn't matter what you put in the section and priority fields as
I'll override them anyway.  It's ok to just put `-' in both, and that's
what I suggest.  One mistake I remember - only list the files you want
installed here.  Some of you were listing source files here which of
course you weren't uploading.

For the Maintainer field, don't put the original maintainer; put
yourself.  This field is used to figure out who get's the email.

Also, forget about the seperate m68k/Incoming.  Put your uploads in the
main Incoming directory.  But be extra careful to not overwrite
somebody else's files.  So do 2 things:

1. Use dpkg-name to rename your deb files before uploading them.
2. Make sure your changes file has a unique name.  Start it with m68k or
something else.

That's about it.  I'll finish the documentation today and put it in
doc/package-developer today (I promise!).

Guy

---

From: Juergen Menden <[email-masked]>
Date: Mon, 10 Jun 1996 11:22:23 +0200 (MET DST)

On Sun, 9 Jun 1996, Guy Maor wrote:
> 
> Anyway the script works fine on multiarchitecture uploads already.  

ok, tomorrow i will try to upload the current dpkg to test it... 
lets look what happens ;-))

> For example,  I think it [dchanges-3.3] has a bug

i'll post the patch to debian-m68k tomorrow. with this change
dchanges works very nice, without it refuses to include the
Files-section, which is important.

> 1. Use dpkg-name to rename your deb files before uploading them.

never used dpkg-name, but i will try it.

jjm

-- 
Juergen Menden                   | Disclaimer: The opinions expressed by me, 
tel:    +49 (89) 289 - 22387     +-----------+ are (usually) not the opinions 
e-mail: [email-masked]     | of anyone else on this planet.

Hi! I'm a .signature virus!  Add me to your .signature and join in the fun!