[med-svn] [Debian Wiki] Update of "DebianMedQAWorkflow" by ThorstenAlteholz
Debian Wiki
debian-www at lists.debian.org
Fri Oct 21 18:18:17 UTC 2011
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.
The "DebianMedQAWorkflow" page has been changed by ThorstenAlteholz:
http://wiki.debian.org/DebianMedQAWorkflow
New page:
= Workflow for Debian Med packages =
Currently there are about 300 packages in the Debian Med svn repository,
but only 50 active uploaders. So in order to make live easier for
everybody, a uniform workflow should be established for maintainig packages.
Thus all information will be at a familiar place and nobody
has to waste time searching something.
== Tasks List ==
All software that shall be part of Debian Med should have an entry in
the Tasks List (http://debian-med.alioth.debian.org/tasks/). If you
stumble over new software, please add it to the task list. As a result
a central point of information will be created. Anybody interested in
Debian Med will see already processed packages or where there is work in
progress.
== SVN and git repositories ==
The Tasks List contains information about all packages, but the real work is
done in either the SVN- or git-repository:
* http://anonscm.debian.org/viewvc/debian-med/trunk/packages
* http://anonscm.debian.org/gitweb/ debian-med/
So in order to tell developers where work is needed, any package
in the repository should contain enough information to find hot spots.
This can be done with debian/changelog and a file called README.status
=== debian/changelog ===
Creating a good package sometimes needs a fairly long time and incomplete work
might be available in the repository. On the other side it is better
to do just a small piece of work than no work at all.
In order to distinguish these cases debian/changlog might be used.
In case of a generic maintainer line like:
-- DMPT <debian-med-packaging at lists.alioth.debian.org> <date>
no specific person takes care of it. You are welcome to improve the package
as much as you want.
=== README.status ===
Normally each package should have a status of active, thus somebody takes
care of bugs and uploads new versions.
In case of unusual situations the status of a package might change. For example
at a future time it might be maintained with git instead of svn, the package
has been
removed from Debian or it is just a first version and needs some more work.
In order to tell everybody about that situation, a file 'README.status' should
be added to 'debian-med/trunk/packages/<package>/trunk/README.status'.
It should be a yaml-file whose contents can be verified by:
kwalify -f README.status.schema.yaml README.status
or:
perl -MYAML -e '$/=""; Load(<STDIN>)' < README.status
Examples can be found in:
* debian-med/trunk/packages/abyss/trunk/README.status
* debian-med/trunk/packages/perlprimer/README.status
* debian-med/trunk/packages/ball/trunk/README.status
== New Packages ==
These are the steps to add new packages to the repository.
1. check whether there is an entry for that software in the task list
(http://debian-med.alioth.debian.org/tasks/) and maybe add one
1. create directories in svn:
* debian-med/trunk/packages/<package>/trunk
* debian-med/trunk/packages/<package>/tags
* if you like also add a 'branches' directory
1. add all files to debian-med/trunk/packages/<package>/trunk/debian/*
and don't forget the file
debian-med/trunk/packages/<package>/trunk/README.status
1. please create your files in such a way that only the following commands
are needed:
1. ./debian/rules get-orig-source
2. svn-buildpackage [--svn-ignore-new]
1. as long as the package is not ready for upload, set the following
values:
* debian/changelog: set the maintainer line to either
-- Debian Med <debian-med-packaging at lists.alioth.debian.org> <date>
or your normal line
-- Hubert von Schulzemeier <hvs at example.com> <date>
* debian/changelog: distribution = UNRELEASED
1. After everything is ready for upload, set the distribution and maintainer
accordingly and upload package.
1. If you are not able to do the upload, set distribution = SPONSOR
== Already Available Packages ==
These are the steps to upload packages that are already available in the
archive.
1. check whether there is an entry for that software in the task list
(http://debian-med.alioth.debian.org/tasks/) and maybe add one
1. change files accordingly
1. as long as the package is not ready for upload, set the following
values:
* debian/changelog: set the maintainer line to either
-- Debian Med <debian-med-packaging at lists.alioth.debian.org> <date>
or your normal line
-- Hubert von Schulzemeier <hvs at example.com> <date>
* debian/changelog: distribution = UNRELEASED
1. After everything is ready for upload, set the distribution and maintainer
accordingly and upload package.
1. If you are not able to do the upload, set distribution = SPONSOR
=== Inactive Maintainer ===
After a bug report or a new upstream version, a new entry in
debian/changelog has
to be created. In case the maintainer does not act on this for about a month
(XXX length of period needs to be discussed), this entry containing a
generic maintainer line should be added.
More information about the debian-med-commit
mailing list