Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BlueBrain/dir-content-diff
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.4.0
Choose a base ref
...
head repository: BlueBrain/dir-content-diff
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on May 10, 2023

  1. Copy the full SHA
    a16406a View commit details
  2. Copy the full SHA
    f760dd6 View commit details
  3. Copy the full SHA
    6b8e5c8 View commit details
  4. Copy the full SHA
    0dae5b8 View commit details

Commits on May 11, 2023

  1. Release: 1.5.0 (#37)

    adrien-berchet authored May 11, 2023
    Copy the full SHA
    cd3a79a View commit details

Commits on Sep 11, 2023

  1. Copy the full SHA
    c6bb072 View commit details
  2. CI(deps): Bump actions/checkout from 3 to 4 (#38)

    Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](actions/checkout@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 11, 2023
    Copy the full SHA
    5927f59 View commit details
  3. CI(deps): Bump mikepenz/action-junit-report from 3 to 4 (#39)

    Bumps [mikepenz/action-junit-report](https://github.com/mikepenz/action-junit-report) from 3 to 4.
    - [Release notes](https://github.com/mikepenz/action-junit-report/releases)
    - [Commits](mikepenz/action-junit-report@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: mikepenz/action-junit-report
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Sep 11, 2023
    Copy the full SHA
    6c013da View commit details
  4. Copy the full SHA
    4e74ef0 View commit details

Commits on Sep 12, 2023

  1. Chore: Apply Copier template (#42)

    [skip-changelog]
    adrien-berchet authored Sep 12, 2023
    Copy the full SHA
    c3256dd View commit details

Commits on Sep 29, 2023

  1. Chore: Apply Copier template (#43)

    [skip-changelog]
    adrien-berchet authored Sep 29, 2023
    Copy the full SHA
    dd0032c View commit details

Commits on Oct 31, 2023

  1. CI(dependabot): Bump actions/setup-node from 3 to 4 (#44)

    * CI(dependabot): Bump actions/setup-node from 3 to 4
    
    Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3 to 4.
    - [Release notes](https://github.com/actions/setup-node/releases)
    - [Commits](actions/setup-node@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-node
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    
    * Fix: Lint
    
    ---------
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Adrien Berchet <adrien.berchet@epfl.ch>
    dependabot[bot] and adrien-berchet authored Oct 31, 2023
    Copy the full SHA
    71f3bad View commit details

Commits on Dec 11, 2023

  1. CI(dependabot): Bump actions/setup-python from 4 to 5 (#45)

    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4 to 5.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](actions/setup-python@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 11, 2023
    Copy the full SHA
    9458968 View commit details

Commits on Dec 18, 2023

  1. CI(dependabot): Bump actions/upload-artifact from 3 to 4 (#46)

    Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
    - [Release notes](https://github.com/actions/upload-artifact/releases)
    - [Commits](actions/upload-artifact@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/upload-artifact
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Dec 18, 2023
    Copy the full SHA
    92361af View commit details

Commits on Jan 22, 2024

  1. CI(dependabot): Bump actions/cache from 3 to 4 (#47)

    Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
    - [Release notes](https://github.com/actions/cache/releases)
    - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
    - [Commits](actions/cache@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: actions/cache
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jan 22, 2024
    Copy the full SHA
    2bf5b1b View commit details

Commits on Jan 29, 2024

  1. Copy the full SHA
    e12901c View commit details
  2. Release: 1.6.0 (#49)

    adrien-berchet authored Jan 29, 2024
    Copy the full SHA
    85655bc View commit details

Commits on Feb 5, 2024

  1. CI(dependabot): Bump codecov/codecov-action from 3 to 4 (#51)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v3...v4)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 5, 2024
    Copy the full SHA
    2589c00 View commit details
  2. Copy the full SHA
    04e4ae0 View commit details
  3. Copy the full SHA
    2ad26ef View commit details
  4. Copy the full SHA
    8343c8c View commit details

Commits on Feb 8, 2024

  1. Chore: Apply Copier template (#55)

    [skip-changelog]
    adrien-berchet authored Feb 8, 2024
    Copy the full SHA
    76d8569 View commit details

Commits on Apr 8, 2024

  1. Feat: Add new comparators for Feather, Parquet and Stata files (#56)

    * Feat: Add new comparators for Feather, Parquet and Stata files
    
    * Fix: Fix coverage
    adrien-berchet authored Apr 8, 2024
    Copy the full SHA
    cf58e52 View commit details
  2. Copy the full SHA
    47b5735 View commit details

Commits on Apr 26, 2024

  1. Copy the full SHA
    55fe9eb View commit details

Commits on May 1, 2024

  1. Copy the full SHA
    d7f7d9f View commit details

Commits on Aug 29, 2024

  1. Copy the full SHA
    40a64ff View commit details
  2. Release: 1.9.0 (#61)

    adrien-berchet authored Aug 29, 2024
    Copy the full SHA
    e0d0f4d View commit details
  3. Copy the full SHA
    7db2807 View commit details
  4. Release: 1.9.1 (#63)

    adrien-berchet authored Aug 29, 2024
    Copy the full SHA
    d1a407f View commit details

Commits on Sep 9, 2024

  1. Copy the full SHA
    0b3b40e View commit details
  2. Copy the full SHA
    732ee4e View commit details

Commits on Nov 6, 2024

  1. Copy the full SHA
    154eb4f View commit details
  2. Copy the full SHA
    0508561 View commit details

Commits on Nov 12, 2024

  1. Chore: Add license headers, use pyproject.toml file and migrate docs …

    …to MyST parser (#68)
    
    * Chore: Add license headers and use pyproject.toml file
    
    * Docs: Migrate from m2r2 to MyST parser
    
    * Build: Fix dependencies
    adrien-berchet authored Nov 12, 2024
    Copy the full SHA
    afb0261 View commit details

Commits on Nov 13, 2024

  1. Copy the full SHA
    0a2bf7f View commit details

Commits on Nov 17, 2024

  1. Feat: Add CLI (#70)

    adrien-berchet authored Nov 17, 2024
    Copy the full SHA
    c630f60 View commit details

Commits on Nov 18, 2024

  1. CI(dependabot): bump codecov/codecov-action from 4 to 5 (#72)

    Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4 to 5.
    - [Release notes](https://github.com/codecov/codecov-action/releases)
    - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
    - [Commits](codecov/codecov-action@v4...v5)
    
    ---
    updated-dependencies:
    - dependency-name: codecov/codecov-action
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Nov 18, 2024
    Copy the full SHA
    a9741d8 View commit details
  2. Copy the full SHA
    3cb0e93 View commit details
  3. Release: 1.12.0 (#71)

    adrien-berchet authored Nov 18, 2024
    Copy the full SHA
    86d0d9d View commit details

Commits on Jul 3, 2025

  1. Fix: Properly update the verbosity in PDF comparator (#75)

    * Test: Fix expected results for diff-pdf-visually>=1.8.1
    
    * Fix: Properly update the verbosity in PDF comparator
    
    * CI: Drop APT cache
    
    * Chore: Update licence headers
    adrien-berchet authored Jul 3, 2025
    Copy the full SHA
    7e172e4 View commit details
  2. Copy the full SHA
    041c3b7 View commit details
  3. Copy the full SHA
    26199cb View commit details
Showing with 3,289 additions and 388 deletions.
  1. +1 −1 .auto-changelog
  2. +2 −2 .auto-changelog-template.hbs
  3. +1 −1 .codespellrc
  4. +4 −4 .copier-answers.yml
  5. +6 −0 .copyright.tmpl
  6. +11 −0 .coveragerc_min_versions
  7. +0 −7 .flake8
  8. +114 −0 .github/ISSUE_TEMPLATE/bug_report.yaml
  9. +1 −0 .github/ISSUE_TEMPLATE/config.yml
  10. +56 −0 .github/ISSUE_TEMPLATE/feature_request.yaml
  11. +91 −0 .github/ISSUE_TEMPLATE/how_to_use.yaml
  12. +3 −0 .github/dependabot.yml
  13. +24 −0 .github/pull_request_template.md
  14. +0 −71 .github/workflows/codeql.yml
  15. +6 −4 .github/workflows/commitlint.yml
  16. +4 −4 .github/workflows/publish-sdist.yml
  17. +27 −17 .github/workflows/run-tox.yml
  18. +21 −11 .pre-commit-config.yaml
  19. +2 −0 .pylintrc
  20. +2 −2 .readthedocs.yml
  21. +120 −0 CHANGELOG.md
  22. +1 −1 CONTRIBUTING.md
  23. +1 −1 LICENSE.txt
  24. +2 −0 MANIFEST.in
  25. +24 −1 README.md
  26. +117 −32 dir_content_diff/__init__.py
  27. +220 −15 dir_content_diff/base_comparators.py
  28. +188 −0 dir_content_diff/cli/__init__.py
  29. +10 −0 dir_content_diff/comparators/__init__.py
  30. +9 −0 dir_content_diff/comparators/dependencies.json
  31. +53 −0 dir_content_diff/comparators/morphio.py
  32. +54 −4 dir_content_diff/{ → comparators}/pandas.py
  33. +156 −0 dir_content_diff/comparators/voxcell.py
  34. +10 −0 dir_content_diff/pytest_plugin.py
  35. +87 −1 dir_content_diff/util.py
  36. +3 −1 docs/source/api_ref.rst
  37. +2 −1 docs/source/changelog.rst
  38. +27 −7 docs/source/conf.py
  39. +2 −1 docs/source/contributing.rst
  40. +2 −1 docs/source/index.rst
  41. +12 −12 package.json
  42. +61 −2 pyproject.toml
  43. +29 −53 setup.py
  44. +9 −0 tests/__init__.py
  45. +10 −0 tests/comparators/__init__.py
  46. +92 −0 tests/comparators/test_morphio.py
  47. +283 −53 tests/{ → comparators}/test_pandas.py
  48. +367 −0 tests/comparators/test_voxcell.py
  49. +27 −3 tests/conftest.py
  50. +10 −0 tests/generate_test_files.py
  51. +465 −42 tests/test_base.py
  52. +276 −0 tests/test_cli.py
  53. +45 −0 tests/test_missing_deps.py
  54. +34 −17 tests/test_pytest_plugin.py
  55. +49 −0 tests/test_util.py
  56. +12 −2 tests/test_version.py
  57. +44 −14 tox.ini
2 changes: 1 addition & 1 deletion .auto-changelog
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
"template": ".auto-changelog-template.hbs",
"commitLimit": false,
"backfillLimit": false,
"ignoreCommitPattern": "Release:? [0-9]+\\.[0-9]+\\.[0-9]+|Update CHANGELOG.*|.*\\[skip-changelog\\].*|\\[pre-commit.ci\\]",
"ignoreCommitPattern": "^Release:? [0-9]+\\.[0-9]+\\.[0-9]+( ?\\(#[0-9]+\\))?$|^Update CHANGELOG.*|.*\\[skip-changelog\\].*|^\\[pre-commit.ci\\]|^\\(dependabot\\) .*",
"commitUrl": "https://github.com/BlueBrain/dir-content-diff/commit/{id}",
"issueUrl": "https://github.com/BlueBrain/dir-content-diff/issues/{id}",
"mergeUrl": "https://github.com/BlueBrain/dir-content-diff/pull/{id}",
4 changes: 2 additions & 2 deletions .auto-changelog-template.hbs
Original file line number Diff line number Diff line change
@@ -136,7 +136,7 @@ Example Definitions
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
{{/commit-list}}

{{#commit-list merges heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild\(|^[dD]eprecate:|^[dD]eprecate\(|^[fF]eat:|^[fF]eat\(|^[fF]ix:|^[fF]ix\(|^[cC]hore:|^[cC]hore\(|^[cC][iI]:|^[cC][iI]\(|^[dD]ocs:|^[dD]ocs\(|^[rR]efactor:|^[rR]efactor\(|^[tT]est:|^[tT]est\(|^[sS]tyle:|^[sS]tyle\(|^[pP]erf:|^[pP]erf\(|\[skip-changelog\]'}}
{{#commit-list merges heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild ?\(|^[dD]eprecate:|^[dD]eprecate ?\(|^[fF]eat:|^[fF]eat ?\(|^[fF]ix:|^[fF]ix ?\(|^[cC]hore:|^[cC]hore ?\(|^[cC][iI]:|^[cC][iI] ?\(|^[dD]ocs:|^[dD]ocs ?\(|^[rR]efactor:|^[rR]efactor ?\(|^[tT]est:|^[tT]est ?\(|^[sS]tyle:|^[sS]tyle ?\(|^[pP]erf:|^[pP]erf ?\(|\[skip-changelog\]'}}
- {{message}} ({{author}}{{#if href}} - [#{{id}}]({{href}}){{/if}})
{{/commit-list}}

@@ -190,7 +190,7 @@ Example Definitions
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
{{/commit-list}}

{{#commit-list commits heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild\(|^[dD]eprecate:|^[dD]eprecate\(|^[fF]eat:|^[fF]eat\(|^[fF]ix:|^[fF]ix\(|^[cC]hore:|^[cC]hore\(|^[cC][iI]:|^[cC][iI]\(|^[dD]ocs:|^[dD]ocs\(|^[rR]efactor:|^[rR]efactor\(|^[tT]est:|^[tT]est\(|^[sS]tyle:|^[sS]tyle\(|^[pP]erf:|^[pP]erf\(|\[skip-changelog\]'}}
{{#commit-list commits heading='### General Changes' exclude='[bB]reaking [cC]hange:|[bB]reaking:|^[bB]uild:|^[bB]uild ?\(|^[dD]eprecate:|^[dD]eprecate ?\(|^[fF]eat:|^[fF]eat ?\(|^[fF]ix:|^[fF]ix ?\(|^[cC]hore:|^[cC]hore ?\(|^[cC][iI]:|^[cC][iI] ?\(|^[dD]ocs:|^[dD]ocs ?\(|^[rR]efactor:|^[rR]efactor ?\(|^[tT]est:|^[tT]est ?\(|^[sS]tyle:|^[sS]tyle ?\(|^[pP]erf:|^[pP]erf ?\(|\[skip-changelog\]'}}
- {{subject}} ({{author}}{{#if href}} - [{{shorthash}}]({{href}}){{/if}})
{{/commit-list}}

2 changes: 1 addition & 1 deletion .codespellrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[codespell]
skip = .git/*
skip = .git/*,*.pdf
8 changes: 4 additions & 4 deletions .copier-answers.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changes here will be overwritten by Copier

_commit: 0.1.40
_commit: 0.1.67
_src_path: git@bbpgitlab.epfl.ch:neuromath/python-template.git
author_email: ''
author_name: Blue Brain Project, EPFL
copyright_license: Apache License 2.0
copyright_year: '2022'
copyright_year: '2023'
distribution_name: dir-content-diff
download_url: https://github.com/BlueBrain/dir-content-diff
init_git: false
@@ -17,11 +17,11 @@ project_url: https://dir-content-diff.readthedocs.io
repository_name: dir-content-diff
repository_namespace: BlueBrain
repository_provider: github
setup_codeql: false
ssh_url: git@github.com:BlueBrain/dir-content-diff.git
support_py37: false
team_name: ''
tracker_url: https://github.com/BlueBrain/dir-content-diff/issues
use_pyproject_toml: false
use_pyproject_toml: true
version: 1.1.0

# End of Copier answers
6 changes: 6 additions & 0 deletions .copyright.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Copyright (c) 2023-${edit_year} Blue Brain Project, EPFL.

This file is part of dir-content-diff.
See https://github.com/BlueBrain/dir-content-diff for further info.

SPDX-License-Identifier: Apache-2.0
11 changes: 11 additions & 0 deletions .coveragerc_min_versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[paths]
source_paths =
dir_content_diff
*/site-packages/dir_content_diff
*/dir_content_diff/dir_content_diff
*/dir-content-diff/dir_content_diff

[report]
exclude_also =
return pd\.read_feather\(path, \*\*kwargs\)
data\.to_feather\(path, \*\*kwargs\)
7 changes: 0 additions & 7 deletions .flake8

This file was deleted.

114 changes: 114 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

name: Create a bug report regarding Directory Content Difference runtime behavior
description: Errors and regression reports with complete reproducing test cases and/or stack traces.
labels: [bug]
title: "[Bug report] "
body:
- type: markdown
attributes:
value: "
Thanks for taking the time to fill out this bug report!
Before submitting, make sure you search in the [issue list](https://github.com/BlueBrain/dir-content-diff/issues) that a similar issue was not already reported.
If it is not the case, please read the following guidelines.
### GUIDELINES FOR REPORTING BUGS
Bug reports that are not properly formulated and formatted or without enough details can be very hard for us to understand and fix.
In order to ensure we can help you fixing your bug, please follow these guidelines.
Your reports must include the following features:
1. **succinct description** of the problem - typically a line or two at most.
2. **succinct, dependency-free code** which reproduces the problem, otherwise known as a [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/mcve) example.
IF YOU DO NOT HAVE A COMPLETE, RUNNABLE TEST CASE WRITTEN DIRECTLY IN THE TEXTAREA BELOW, YOUR ISSUE MAY BE CLOSED.
3. **complete stack traces for all errors** - please avoid screenshots, use formatted text inside issues.
4. other relevant things as applicable: **dependencies**, **comparative performance timings** for performance issues, etc.
"

- type: textarea
attributes:
label: Describe the bug
description: A clear and concise description of what the bug is.
validations:
required: true

- type: input
id: relevant_documentation
attributes:
label: Optional link from https://dir-content-diff.readthedocs.io which documents the behavior that is expected
description: "
Please make sure the behavior you are seeing is definitely in contradiction to what's documented as the correct behavior.
"
validations:
required: false

- type: textarea
attributes:
label: To Reproduce
description: "
Provide your [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/mcve) example here."
placeholder: "# Insert code here (text area already python formatted)"
render: Python
validations:
required: true

- type: textarea
attributes:
label: Error
description: "
Provide the complete text of any errors received **including the complete stack trace**.
If the message is a warning, run your program with the ``-Werror`` flag: ``python -Werror myprogram.py``
"
placeholder: "# Copy the complete stack trace and error message here (text area already formatted for Python backtrace)"
render: Python traceback
validations:
required: true

- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false

- type: input
id: package_version
attributes:
label: dir_content_diff Version in Use
description: e.g. 1.4.42, 2.0.2, etc or commit hash
validations:
required: true

- type: input
id: python_version
attributes:
label: Python Version
description: Assumes cpython unless otherwise stated, e.g. 3.10, 3.11, pypy
validations:
required: true

- type: dropdown
id: os
attributes:
label: Operating system
description: Check all that apply
multiple: true
options:
- Linux
- MacOS
- Windows
- Other
validations:
required: true

- type: markdown
attributes:
value: "### Thanks! Have a nice day!"
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: true
56 changes: 56 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

name: Request a new use case
description: Support for new features
labels: [enhancement]
title: "[Feature request] "
body:
- type: markdown
attributes:
value: "
Thanks for taking the time to fill out this feature request!
Before submitting, make sure the feature does not already exist in the [documentation](https://dir-content-diff.readthedocs.io) and that you searched in the [issue list](https://github.com/BlueBrain/dir-content-diff/issues) that a similar feature request has not already been reported.
If it is not the case, please read the following guidelines.
### GUIDELINES FOR REQUESTING HELP
Feature requests that are not properly formulated and formatted or without enough details can be very hard for us to understand.
In order to ensure we can help you, please follow these guidelines.
Your requests must include the following features:
1. **succinct description** of the feature - typically a line or two at most to describe what the new feature would do.
2. **succinct, dependency-free code** which shows how you would like to use this feature, otherwise known as a [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/mcve) example.
3. Why do you need this feature? What would be the use cases?
"

- type: textarea
attributes:
label: Describe the feature
description: A clear and concise description of what the feature would consist in.
validations:
required: true

- type: textarea
attributes:
label: Example Use
description: Provide a clear example of what the usage of this feature would look like.
validations:
required: true

- type: textarea
attributes:
label: Use cases
description: Add as much information as possible about the use cases here.
validations:
required: true

- type: markdown
attributes:
value: "### Thanks! Have a nice day!"
91 changes: 91 additions & 0 deletions .github/ISSUE_TEMPLATE/how_to_use.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
# docs https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema

name: Ask for help about Directory Content Difference
description: Questions about dir_content_diff features.
labels: [how to use]
title: "[How to use] "
body:
- type: markdown
attributes:
value: "
Thanks for using this package and taking the time to fill out this help request!
Before submitting, make sure you read the [documentation](https://dir-content-diff.readthedocs.io) carefully.
If you still have a question, you should search in the [issue list](https://github.com/BlueBrain/dir-content-diff/issues) that a similar issue has not already been reported, you might find your answer there.
If it is not the case, please read the following guidelines.
### GUIDELINES FOR REQUESTING HELP
Questions that are not properly formulated and formatted or without enough details can be very hard for us to understand.
In order to ensure we can help you, please follow these guidelines.
Your requests must include the following features:
1. **succinct description** of the problem - typically a line or two at most to describe what you want to achieve.
2. **succinct, dependency-free code** which shows what you tried to do, otherwise known as a [Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve).
3. **expected results**
4. **complete stack traces for all errors** if you have any - please avoid screenshots, use formatted text inside issues.
5. other relevant things: **dependencies**, **operating system**, **comparative performance timings** for performance issues.
"

- type: textarea
attributes:
label: Describe the problem
description: A clear and concise description of what you want to achieve.
validations:
required: true

- type: textarea
attributes:
label: Show what you tried to do.
description: "
Provide your [Minimal, Complete, and Verifiable Example](https://stackoverflow.com/help/mcve) here."
placeholder: "# Insert code here (text area already python formatted)"
render: Python
validations:
required: true

- type: textarea
attributes:
label: Describe what you expected.
description: A clear and concise description of what you which result you expected by doing this.
validations:
required: true

- type: textarea
attributes:
label: Error
description: "
If you are facing an arror, provide the complete text of any errors received **including the complete stack trace**.
If the message is a warning, run your program with the ``-Werror`` flag: ``python -Werror myprogram.py``
"
placeholder: "# Copy the complete stack trace and error message here (text area already formatted for Python backtrace)"
render: Python traceback
validations:
required: false

- type: textarea
attributes:
label: Additional context
description: Add any other context about the problem here.
validations:
required: false

- type: input
id: package_version
attributes:
label: dir_content_diff Version in Use
description: e.g. 1.4.42, 2.0.2, etc or commit hash
validations:
required: true

- type: markdown
attributes:
value: "### Thanks! Have a nice day!"
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -11,3 +11,6 @@ updates:
directory: "/" # Check the repository's workflows under /.github/workflows/
schedule:
interval: "weekly"
commit-message:
# Prefix all commit messages with "CI(dependabot): "
prefix: "CI(dependabot): "
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!-- Provide a general summary of your proposed changes in the Title field above -->
<!-- The title should have the following form: 'Type: Subject' with 'type' in [Build,Chore,CI,Reprecate,Docs,Feat,Fix,Perf,Refactor,Revert,Style,Test] -->

### Description
<!-- Describe your changes in detail and the reasons of these changes -->

### Checklist
<!-- Go over following points. Check them with an `x` if they do apply (they turn into clickable checkboxes once the PR is submitted, so no need to do everything at once). -->

This pull request is:

- [ ] A documentation / typographical error fix
- Good to go, no issue or tests are needed
- [ ] A short code fix
- [ ] Please include: `Fixes: #<issue number>` in the description if it solves an existing issue
(which must include a complete example of the issue).
- [ ] Please include tests that fail with the `main` branch and pass with the provided fix.
- [ ] A new feature implementation or update an existing feature
- [ ] Please include: `Fixes: #<issue number>` in the description if it solves an existing issue
(which must include a complete example of the feature).
- [ ] Please include tests that cover every lines of the new/updated feature.
- [ ] Please update the documentation to describe the new/updated feature.

<!-- **Have a nice day!** -->
Loading