Verified Commit 1cb4640d authored by Michael R. Crusoe's avatar Michael R. Crusoe 🏳️‍🌈
Browse files

switch to ReStructuredText from docbook

parent bfe27280
Loading
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
@@ -4,16 +4,11 @@ PUBLISHDIR=/home/groups/debian-med/htdocs/docs
all: policy

policy:
	xsltproc --output policy.html \
		/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/docbook.xsl \
		policy.xml 2>/dev/null

rst2html:
	pandoc -t html -o policy_short.html policy_short.rst 2>/dev/null
	rst2html policy.rst > policy.html

clean:
	rm -f policy*.html

install-deps:
	sudo apt-get install xsltproc docbook-xsl pandoc
	sudo apt-get install python3-docutils
+1229 −413

File changed.

Preview size limit exceeded, changes collapsed.

policy.rst

0 → 100644
+1043 −0

File added.

Preview size limit exceeded, changes collapsed.

policy.xml

deleted100644 → 0
+0 −881

File deleted.

Preview size limit exceeded, changes collapsed.

policy_short.rst

deleted100644 → 0
+0 −68
Original line number Diff line number Diff line
|image0|

Policy
======

``debian/control``
------------------

1. **Section.**

   Should be “science” for the source package.

   .. list exceptions

2. **Priority.**

   Should be “optional” unless forbidden by the Debian policy (`see
   §2.5 <http://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities>`__).
   Packages of priority “extra” are excluded from some QA tests.

3. **Maintainer.**

   Maintainer should be
   ``Debian Med Packaging Team debian-med-packaging@lists.alioth.debian.org``.
   Please subscribe to this list if you list yourself in the
   ``Uploaders:`` field of one of Debian Med's packages. You can refer
   to the `QA
   page <http://qa.debian.org/developer.php?login=debian-med-packaging@lists.alioth.debian.org>`__
   corresponding to this email to gather information about the packages.

4. **Uploaders.**

   Please add yourself as an uploader when you have a significant
   interest in a package. Being Uploader means that you are expected to
   answer to the bug reports. For more occasional works, you can do a
   `team
   upload <http://www.debian.org/doc/developers-reference/pkgs#nmu-team-upload>`__.

5. **Standards-Version.**

   Please always use the latest unless there are concerns for
   backporting. If no changes are needed, please indicate this fact in
   the changelog, and increment the value of the field.

6. **Homepage.**

   should be documented whenever possible

7. **Vcs-Svn|Git: and Vcs-Browser:.**

   Please use the following templates, and refer to the Debian Policy
   `§ 5.6.26 <http://www.debian.org/doc/debian-policy/ch-controlfields.html#s-f-VCS-fields>`__
   for details:

   ::

       Vcs-Browser: https://salsa.debian.org/med-team/<package>
       Vcs-Git: https://salsa.debian.org/med-team/<package>.git

8. **Testsuite: autopkgtest.**

   Field and value to declare that a testsuite compatible with
   `autopkgtest <http://dep.debian.net/deps/dep8/>`__ is available. Such
   testsuite can be executed via the ``adt-run`` command from the
   autopkgtest package or the ``sadt`` command from the devscripts
   package.

.. |image0| image:: /img/debian-med.jpg