# Path: dgitcore/plugins/common.py
# def plugins_get_mgr():
#     """
#     Get the global plugin manager
#     """
#     global pluginmgr
#     return pluginmgr
# 
# Path: dgitcore/exceptions.py
# class UnknownRepository(Exception):
# class RepositoryExists(Exception):
# class IntegrityFailure(Exception):
# class IncompleteParameters(Exception):
# class InvalidParameters(Exception):
# class NotImplemented(Exception):
# class InvalidFilenamePattern(Exception):
# class InvalidFileContent(Exception):
# class NetworkError(Exception):
# class NetworkInvalidConfiguration(Exception):
#     def __init__(self, missing):
#     def __init__(self, missing):
#     def __init__(self, invalid):
#     def __init__(self, message):
#     def __init__(self, pattern):
#     def __init__(self, message):
#     def __init__(self, message):


import os, sys, json
from ..plugins.common import plugins_get_mgr
from dgitcore import exceptions
                continue
            if k == "files" and input_matching_files is not None:
                # Use the files specified on the command line..
                transformers[t][k] = input_matching_files
            else:
                # Try to match the specification
                if transformers[t][k] is None or len(transformers[t][k]) == 0:
                    transformers[t][k] = []
                else:
                    matching_files = repo.find_matching_files(transformers[t][k])
                    transformers[t][k] = matching_files

    return transformers

def transform(repo,
              name=None,
              filename=None,
              force=False,
              args=[]):
    """
    Materialize queries/other content within the repo.

    Parameters
    ----------

    repo: Repository object
    name: Name of transformer, if any. If none, then all transformers specified in dgit.json will be included.
    filename: Pattern that specifies files that must be processed by the generators selected. If none, then the default specification in dgit.json is used.

    """

# Path: dgitcore/plugins/common.py
# def plugins_get_mgr():
#     """
#     Get the global plugin manager
#     """
#     global pluginmgr
#     return pluginmgr
# 
# Path: dgitcore/exceptions.py
# class UnknownRepository(Exception):
# class RepositoryExists(Exception):
# class IntegrityFailure(Exception):
# class IncompleteParameters(Exception):
# class InvalidParameters(Exception):
# class NotImplemented(Exception):
# class InvalidFilenamePattern(Exception):
# class InvalidFileContent(Exception):
# class NetworkError(Exception):
# class NetworkInvalidConfiguration(Exception):
#     def __init__(self, missing):
#     def __init__(self, missing):
#     def __init__(self, invalid):
#     def __init__(self, message):
#     def __init__(self, pattern):
#     def __init__(self, message):
#     def __init__(self, message):


# Path: dgitcore/datasets/transformation.py
import os, sys, json
from ..plugins.common import plugins_get_mgr
from dgitcore import exceptions

                continue
            if k == "files" and input_matching_files is not None:
                # Use the files specified on the command line..
                transformers[t][k] = input_matching_files
            else:
                # Try to match the specification
                if transformers[t][k] is None or len(transformers[t][k]) == 0:
                    transformers[t][k] = []
                else:
                    matching_files = repo.find_matching_files(transformers[t][k])
                    transformers[t][k] = matching_files

    return transformers

def transform(repo,
              name=None,
              filename=None,
              force=False,
              args=[]):
    """
    Materialize queries/other content within the repo.

    Parameters
    ----------

    repo: Repository object
    name: Name of transformer, if any. If none, then all transformers specified in dgit.json will be included.
    filename: Pattern that specifies files that must be processed by the generators selected. If none, then the default specification in dgit.json is used.

    """

    mgr = plugins_get_mgr()