Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/actions/common/license-namespace-checker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,36 @@ fi

git config --global --add safe.directory "${SOURCE_DIR}"

# Third-party vendored files with their own (non-Intel) copyright headers
THIRD_PARTY_FILES=(
"include/dlstreamer/gst/metadata/gstanalyticsgroupmtd.h"
"include/dlstreamer/gst/metadata/gstanalyticskeypointmtd.h"
"include/dlstreamer/gst/metadata/gstvideometa_matrix.h"
"src/gst/metadata/gstanalyticsgroupmtd.c"
"src/gst/metadata/gstanalyticskeypointmtd.c"
"src/gst/metadata/gstvideometa_matrix.c"
)

pushd "${SOURCE_DIR}"

result=0
for file in "$@"; do # Iterate over all files passed as arguments
if [ ! -f "${file}" ]; then
continue
fi

# Skip third-party vendored files
skip=0
for tp_file in "${THIRD_PARTY_FILES[@]}"; do
if [ "${file}" = "${tp_file}" ]; then
echo "Skipping third-party file: ${file}"
skip=1
break
fi
done
if [ ${skip} -eq 1 ]; then
continue
fi

commit_time=$(git log --reverse --diff-filter=A --format="%ct" -- "${file}")
if [ ! -z "${commit_time}" ]; then
Expand Down
5 changes: 5 additions & 0 deletions docs/user-guide/dev_guide/dev_guide_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
- [Ubuntu advanced installation - build Docker image](./advanced_install/advanced_build_docker_image.md)
- [Ubuntu advanced uninstall guide](./advanced_install/advanced_uninstall_guide.md)
- [Metadata](./metadata.md)
- [Keypoint Descriptor API](./keypoint_descriptor.md)
- [Built-in descriptors](./keypoint_descriptor.md#built-in-descriptors)
- [C API](./keypoint_descriptor.md#c-api)
- [Python API (GObject Introspection)](./keypoint_descriptor.md#python-api-gobject-introspection)
- [How descriptors relate to keypoint metadata](./keypoint_descriptor.md#how-descriptors-relate-to-keypoint-metadata)
- [Model Preparation](./model_preparation.md)
- [1. Model file format used by OpenVINO™ Toolkit](./model_preparation.md#1-model-file-format-used-by-openvino-toolkit)
- [2. Model pre- and post-processing](./model_preparation.md#2-model-pre--and-post-processing)
Expand Down
Loading
Loading