Skip to content

Commit

Permalink
rf: use gitpathspec module from datasalad library
Browse files Browse the repository at this point in the history
This module has been migrated from datalad-next to datasalad.

A deprecation warning it added to the module. All consuming code here
has been adjusted to the new imports.
  • Loading branch information
mih committed Oct 30, 2024
1 parent 895b902 commit 56046bf
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 852 deletions.
16 changes: 13 additions & 3 deletions datalad_next/gitpathspec/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,20 @@
This functionality can be used to add support for pathspecs to implementations
that rely on Git commands that do not support submodule recursion directly.
"""

__all__ = ['GitPathSpec', 'GitPathSpecs']

from .pathspec import GitPathSpec
from .pathspecs import GitPathSpecs
import warnings

from datasalad.gitpathspec import (
GitPathSpec,
GitPathSpecs,
)

warnings.warn(
'`datalad_next.gitpathspec` has been migrated to the datasalad library, '
'adjust imports to `datasalad.gitpathspec`',
DeprecationWarning,
stacklevel=1,
)
322 changes: 0 additions & 322 deletions datalad_next/gitpathspec/pathspec.py

This file was deleted.

Loading

0 comments on commit 56046bf

Please sign in to comment.