RFC: Summary of new upload procedure
Hi folks!
The discussion about the new upload procedure seems to have reached a
point where a summary is needed. I considered every opinion that was
presented here so far. If you still think that I'm missing something or
that something should be changed please tell me.
This is definitely just a _first draft_ of the summary. Please feel free
to send me any comments. If everyone agrees with this, I'll post this to
debian-devel-announce to make it official. (Though, it would be good to
here Ian's and Guy's opinion this before we make it official.)
Thanks,
Chris
--------------------------------------------------------------------------
Procedure for package uploads
-----------------------------
Maintainer's part:
1.) [Only for new packages:] discuss the package on debian-devel
2.) Upload package to master, chiark, erlangen, whatever
dinstall's part:
3.) [check for new packages every ten minutes]
Check if package upload was complete and files are correct
(i.e. check PGP signature, MD5 sums, correct .changes file, etc.)
If there is an error send mail to maintainer and stop
4.) Send announcement to debian-changes or debian-devel-changes
5.) [once a day]
Install packages into the archive
(In case of a new package or a stable upload, this requires the
acknowledgement of the archive maintainer)
6.) Close bug reports by sending the last entry in the .changes file to
xxxxx-done@bugs.debian.org for each bug report listed in the
.changes file (field "Closed:")
An example
----------
Here is an excerpt of the debian/changelog file:
foo (1.0-1) unstable; urgency=low, closes=10002 11930 10109
* Initial Release.
-- Wile E. Coyote <coyote@debian.org> Wed, 29 Oct 1997 14:22:37 -0600
And here is the .changes file as generated by dpkg-genchanges
Format: 1.5
Date: Wed, 29 Oct 1997 14:22:37 -0600
Source: foo
Binary: foo
Architecture: source all
Version: 1.0-1
Distribution: unstable
Urgency: low
Maintainer: Wile E. Coyote <coyote@debian.org>
Description:
foo - Foos and Bars
Changes:
foo (1.0-1) unstable; urgency=low, closes=10002 11930 10109
.
* Initial Release.
Files:
66909c6d1adc62c961f0618bb58fd2b5 194 doc extra foo_1.0-1.dsc
c4b3cabd889396dcf5251e0ea529bea7 983 doc extra foo_1.0-1.tar.gz
6d653b5f4dffd6e45109380e86dfe4e6 1038 doc extra foo_1.0-1_all.deb
Closed: 10002 11930 10109
Patches
-------
Here is a simple patch to make /usr/lib/dpkg/parsechangelog/debian handle
the closes field:
--- /tmp/debian Thu Oct 30 01:09:01 1997
+++ /usr/lib/dpkg/parsechangelog/debian Thu Oct 30 01:19:18 1997
@@ -40,9 +40,9 @@
}
}
-%mapkv=(); # for future use
+%mapkv=(Closes=>Closed); # for future use
$i=100;grep($fieldimps{$_}=$i--,
- qw(Source Version Distribution Urgency Maintainer Date Changes));
+ qw(Source Version Distribution Urgency Maintainer Date Changes
Closed));
$i=1;grep($urgencies{$_}=$i++,
qw(low medium routine high urgent emergency));
And here is a little patch to dpkg-genchanges to turn off a warning message
it would print out otherwise:
--- /tmp/dpkg-genchanges Thu Oct 30 01:21:45 1997
+++ /usr/bin/dpkg-genchanges Thu Oct 30 01:24:46 1997
@@ -166,7 +166,7 @@
#print STDERR "L key >$_< value >$v<\n";
if (m/^Source$/) {
&setsourcepackage;
- } elsif (m/^(Version|Maintainer|Changes|Urgency|Distribution|Date)$/)
{
+ } elsif
(m/^(Version|Maintainer|Changes|Urgency|Distribution|Date|Closed)$/) {
$f{$_}= $v;
} elsif (s/^X[BS]*C[BS]*-//i) {
$f{$_}= $v;
-- Christian Schwarz
schwarz@monet.m.isar.de, schwarz@schwarz-online.com,
Debian is looking schwarz@debian.org, schwarz@mathematik.tu-muenchen.de
for a logo! Have a
look at our drafts PGP-fp: 8F 61 EB 6D CF 23 CA D7 34 05 14 5C C8 DC 22 BA
at http://fatman.mathematik.tu-muenchen.de/~schwarz/debian-logo/
Reply to: