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

Commit a7443c4

Browse files
John Andersenpdxjohnny
authored andcommitted
scripts: skel: Feature skel becomes operation skel
Signed-off-by: John Andersen <[email protected]>
1 parent 915d47a commit a7443c4

File tree

22 files changed

+241
-210
lines changed

22 files changed

+241
-210
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
- OperationImplementation add_label and add_orig_label methods now use op.name
1010
instead of ENTRY_POINT_ORIG_LABEL and ENTRY_POINT_NAME.
1111
- Make output specs and remap arguments optional for Operations CLI commands.
12+
- Feature skeleton project is now operations skeleton project
1213
### Fixed
1314
- MemoryOperationImplementationNetwork instantiates OperationImplementations
1415
using their `withconfig()` method.

scripts/create.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MODULE_PATH="$(dirname "$0")/.."
88
SKEL="${MODULE_PATH}/scripts/skel/${PROJECT_TYPE}/"
99

1010
if [ "x$PROJECT_TYPE" = "x" ] || [ "x$NAME" = "x" ]; then
11-
echo "Usage: $0 feature|model name_of_new_thing" >&2
11+
echo "Usage: $0 operations|model name_of_new_thing" >&2
1212
exit 1
1313
fi
1414

@@ -18,6 +18,7 @@ if [ ! -d "${SKEL}" ]; then
1818
fi
1919

2020
rm -rf "${MODULE_PATH}/${PROJECT_TYPE}/${NAME}"
21+
mkdir -p "${MODULE_PATH}/${PROJECT_TYPE}/"
2122
cp -r "${SKEL}" "${MODULE_PATH}/${PROJECT_TYPE}/${NAME}"
2223

2324
cd "${MODULE_PATH}/${PROJECT_TYPE}/${NAME}"

scripts/skel/feature/README.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

scripts/skel/feature/dffml_feature_feature_name/feature/log.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

scripts/skel/feature/dffml_feature_feature_name/feature/misc.py

Lines changed: 0 additions & 82 deletions
This file was deleted.

scripts/skel/feature/dffml_feature_feature_name/version.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

scripts/skel/feature/setup.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

scripts/skel/feature/tests/__init__.py

Whitespace-only changes.

scripts/skel/feature/tests/test_feature.py

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)