[med-svn] [Git][med-team/community/policy][master] Take over attempt to convert policy to rst from other policy repository

Andreas Tille gitlab at salsa.debian.org
Wed May 16 20:03:51 BST 2018


Andreas Tille pushed to branch master at Debian Med / community / policy


Commits:
81cbc31c by Andreas Tille at 2018-05-16T21:03:06+02:00
Take over attempt to convert policy to rst from other policy repository

- - - - -


2 changed files:

- Makefile
- + policy_short.rst


Changes:

=====================================
Makefile
=====================================
--- a/Makefile
+++ b/Makefile
@@ -8,12 +8,12 @@ policy:
 		/usr/share/xml/docbook/stylesheet/docbook-xsl/xhtml/docbook.xsl \
 		policy.xml 2>/dev/null
 
-clean:
-	rm -f policy.html
+rst2html:
+	pandoc -t html -o policy_short.html policy_short.rst 2>/dev/null
 
-publish: policy
-	rsync -a policy.* $(PUBLISHHOST):$(PUBLISHDIR)
-	ssh $(PUBLISHHOST) "chmod g+w $(PUBLISHDIR)/policy.*"
+clean:
+	rm -f policy*.html
 
 install-deps:
-	sudo apt-get install xsltproc docbook-xsl
+	sudo apt-get install xsltproc docbook-xsl pandoc
+


=====================================
policy_short.rst
=====================================
--- /dev/null
+++ b/policy_short.rst
@@ -0,0 +1,76 @@
+|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 at 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://anonscm.debian.org/viewvc/debian-med/trunk/packages/<package>/trunk/
+       Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/<package>/trunk/
+
+   or
+
+   ::
+
+       Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/<package>.git
+       Vcs-Git: https://anonscm.debian.org/git/debian-med/<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. Note that since ``dpkg`` version 1.17.6, the *XS-* prefix is
+   not necessary anymore for this field.
+
+.. |image0| image:: /img/debian-med.jpg



View it on GitLab: https://salsa.debian.org/med-team/community/policy/commit/81cbc31c36529bb44ebe957809fade92a2284c87

---
View it on GitLab: https://salsa.debian.org/med-team/community/policy/commit/81cbc31c36529bb44ebe957809fade92a2284c87
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20180516/a9ff67e3/attachment-0001.html>


More information about the debian-med-commit mailing list