[Git][reproducible-builds/diffoscope][master] 4 commits: Fix link syntax
Mattia Rizzolo
gitlab at salsa.debian.org
Tue Sep 18 10:59:57 CEST 2018
Mattia Rizzolo pushed to branch master at Reproducible Builds / diffoscope
Commits:
069c7fbe by Xavier Briand at 2018-06-15T17:42:43Z
Fix link syntax
- - - - -
23d3adb1 by Xavier Briand at 2018-06-15T18:00:23Z
Add "Add a comparator" section in CONTRIBUTING
- - - - -
c39b518d by Mattia Rizzolo at 2018-09-18T08:54:37Z
Merge branch 'contributing' of salsa.debian.org:xavierbriand-guest/diffoscope
MR: https://salsa.debian.org/reproducible-builds/diffoscope/merge_requests/9
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
34898e40 by Mattia Rizzolo at 2018-09-18T08:59:21Z
editorial improvements to the previous merge
Signed-off-by: Mattia Rizzolo <mattia at debian.org>
- - - - -
1 changed file:
- CONTRIBUTING.rst
Changes:
=====================================
CONTRIBUTING.rst
=====================================
@@ -27,7 +27,7 @@ You can also submit patches via *merge request* to Salsa, Debian's Gitlab. Start
by forking the `diffoscope Git
repository <https://salsa.debian.org/reproducible-builds/diffoscope>`__
(see
-`documentation <https://salsa.debian.org/help/gitlab-basics/fork-project.md>__`),
+`documentation <https://salsa.debian.org/help/gitlab-basics/fork-project.md>`__),
make your changes and commit them as you normally would. You can then push your
changes and submit a *merge request* via Salsa. See `Gitlab documentation
<https://salsa.debian.org/help/gitlab-basics/add-merge-request.md>`__ about
@@ -52,6 +52,23 @@ The ``format-patch`` command will create a series of ``.patch`` files in your
checkout. Attach these files to your submission in your e-mail client or
reportbug.
+Add a comparator
+================
+
+Diffoscope doesn't support a specific file type? Please contribute to the
+project! Each file type is handled by a comparator, and writing a new one is
+usually very easy.
+Here are the steps to add a new comparator:
+
+- Add the new comparator in ``diffoscope/comparators/`` (have a look at the
+ other comparators in the same directory to have an idea of what to do)
+- Declare the comparator File class in ``ComparatorManager`` in
+ ``diffoscope/comparators/__init__.py``
+- Add a test in ``tests/comparators/``
+- If required, update the ``Build-Depends`` list in ``debian/control``
+- If required, update the ``EXTERNAL_TOOLS`` list in
+ ``diffoscope/external_tools.py``
+
Uploading the package
=====================
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/compare/f23ff140faab7277ec326db73d1a08fb07b3ffa6...34898e40ecc4892a9da39d84cc3719cc917a65c4
--
View it on GitLab: https://salsa.debian.org/reproducible-builds/diffoscope/compare/f23ff140faab7277ec326db73d1a08fb07b3ffa6...34898e40ecc4892a9da39d84cc3719cc917a65c4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/rb-commits/attachments/20180918/e9be359b/attachment.html>
More information about the rb-commits
mailing list