Skip to content
This repository has been archived by the owner on Aug 25, 2024. It is now read-only.

Commit

Permalink
configloader: jsonschema: Rename due to typosquat
Browse files Browse the repository at this point in the history
cd configloader/jsonschema/
mv dffml_config_jsonschema dffml_configloader_jsonschema
sed -i -e 's/dffml_config_jsonschema/dffml_configloader_jsonschema/g' $(git grep dffml_config_jsonschema | sed -e 's/:.*//g' | sort | uniq)
sed -i -e 's/dffml-config-jsonschema/dffml-configloader-jsonschema/g' $(git grep dffml-config-jsonschema | sed -e 's/:.*//g' | sort | uniq)
git add $(git status | grep modified | awk '{print $NF}')
git diff --staged
git commit -sm 'configloader: jsonschema: Rename due to typosquat'

Signed-off-by: John Andersen <[email protected]>
  • Loading branch information
pdxjohnny authored and aliceoa-intel committed Jan 2, 2024
1 parent 685fb82 commit 5226a95
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion configloader/jsonschema/.coveragerc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[run]
source =
dffml_config_jsonschema
dffml_configloader_jsonschema
tests
branch = True

Expand Down
2 changes: 1 addition & 1 deletion configloader/jsonschema/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
include README.rst
include LICENSE
recursive-include dffml_config_jsonschema *
recursive-include dffml_configloader_jsonschema *
2 changes: 1 addition & 1 deletion configloader/jsonschema/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Install from pip

.. code-block:: console
$ pip install dffml-config-jsonschema
$ pip install dffml-configloader-jsonschema
Usage

Expand Down
2 changes: 1 addition & 1 deletion configloader/jsonschema/entry_points.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[dffml.configloader]
jsonschema = dffml_config_jsonschema.configloader:JSONSchemaConfigLoader
jsonschema = dffml_configloader_jsonschema.configloader:JSONSchemaConfigLoader
8 changes: 4 additions & 4 deletions configloader/jsonschema/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[metadata]
name = dffml-config-jsonschema
description = DFFML config dffml-config-jsonschema
version = attr: dffml_config_jsonschema.version.VERSION
name = dffml-configloader-jsonschema
description = DFFML config dffml-configloader-jsonschema
version = attr: dffml_configloader_jsonschema.version.VERSION
long_description = file: README.rst
author = Unknown
author_email = [email protected]
maintainer = Unknown
maintainer_email = [email protected]
url = https://github.com/coder/dffml-config-jsonschema
url = https://github.com/coder/dffml-configloader-jsonschema
license = MIT
keywords = dffml
classifiers =
Expand Down
6 changes: 3 additions & 3 deletions configloader/jsonschema/tests/test_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from dffml.util.asynctestcase import AsyncTestCase

# from dffml_config_jsonschema.configloader import JSONSchemaConfigLoader
# ------------------- BEGIN dffml_config_jsonschema.configloader ------------------
# from dffml_configloader_jsonschema.configloader import JSONSchemaConfigLoader
# ------------------- BEGIN dffml_configloader_jsonschema.configloader ------------------
import ast
import json
import enum
Expand Down Expand Up @@ -72,7 +72,7 @@ class JSONSchemaConfigLoader(BaseConfigLoader):
CONFIG = JSONSchemaConfigLoaderConfig


# ------------------- END dffml_config_jsonschema.configloader ------------------
# ------------------- END dffml_configloader_jsonschema.configloader ------------------


TEST_0_SCHEMA_SHOULD_BE = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ $ dffml version
dffml 0.4.0 /src/dffml/dffml 5c89b6780 (dirty git repo)
dffml-config-yaml 0.1.0 /src/dffml/configloader/yaml/dffml_config_yaml 5c89b6780 (dirty git repo)
dffml-config-image not installed
dffml-config-jsonschema 0.0.1 /src/dffml/configloader/jsonschema/dffml_config_jsonschema 5c89b6780 (dirty git repo)
dffml-configloader-jsonschema 0.0.1 /src/dffml/configloader/jsonschema/dffml_configloader_jsonschema 5c89b6780 (dirty git repo)
dffml-model-scratch not installed
dffml-model-scikit not installed
dffml-model-tensorflow not installed
Expand Down

0 comments on commit 5226a95

Please sign in to comment.