Skip to content

Commit 8ea0ce3

Browse files
chore: update copyright headers to Istari SPDX format (#305)
## Summary - Update SPDX copyright headers in `retry.py` and `test_retry.py` from `© 2025` to `© 2025-2026` - Update `api.proto` SPDX header from email format to year-range format (`© 2017-2026 Istari Digital, Inc.`) - Remove `<dgraph-admin@istaridigital.com>` email from `__maintainer__` and `__author__` module metadata across 21 Python files Aligns pydgraph copyright headers with the format established in dgraph4j PR #284. **Stacked on top of #304** to incorporate the trivy v0.68.2 → v0.69.3 fix so CI code checks don't fail. (the old release was removed from GitHub). ## Test plan - [x] Verify no files contain old `<dgraph-admin@istaridigital.com>` email in copyright headers - [x] Verify all SPDX headers use year-range format - [ ] CI passes (no functional changes) --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 0a4cd8e commit 8ea0ce3

11 files changed

Lines changed: 21 additions & 22 deletions

File tree

.trunk/trunk.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ lint:
6363
- name: check-merge-conflict
6464
enabled: true
6565
enabled:
66-
- trivy@0.68.2
67-
- trivy@0.58.2
66+
- trivy@0.69.3
6867
- renovate@42.64.0
6968
- actionlint@1.7.9
7069
- bandit@1.9.2

examples/simple/uv.lock

Lines changed: 11 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pydgraph/proto/api.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* SPDX-FileCopyrightText: © Istari Digital, Inc. <dgraph-admin@istaridigital.com>
2+
* SPDX-FileCopyrightText: © 2017-2026 Istari Digital, Inc.
33
* SPDX-License-Identifier: Apache-2.0
44
*/
55

pydgraph/retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: © 2025 Istari Digital, Inc.
1+
# SPDX-FileCopyrightText: © 2025-2026 Istari Digital, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

44
"""Transaction retry utilities for handling Dgraph transaction conflicts.

tests/test_acl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from . import helper
1919

2020
__author__ = "Animesh Pathak <animesh@dgrpah.io>"
21-
__maintainer__ = "Istari Digital <contact@istaridigital.com>"
21+
__maintainer__ = "Istari Digital, Inc. <dgraph-admin@istaridigital.com>"
2222

2323

2424
class ACLTestBase(helper.ClientIntegrationTestCase):

tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from __future__ import annotations
77

88
__author__ = "Garvit Pahal"
9-
__maintainer__ = "Istari Digital, Inc. "
9+
__maintainer__ = "Istari Digital, Inc. <dgraph-admin@istaridigital.com>"
1010

1111
import unittest
1212

tests/test_namespace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from __future__ import annotations
55

6-
__author__ = "Istari Digital, Inc. <dgraph-admin@istaridigital.com>"
6+
__author__ = "Istari Digital, Inc."
77
__maintainer__ = "Istari Digital, Inc. <dgraph-admin@istaridigital.com>"
88

99
import logging

tests/test_retry.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# SPDX-FileCopyrightText: © 2025 Istari Digital, Inc.
1+
# SPDX-FileCopyrightText: © 2025-2026 Istari Digital, Inc.
22
# SPDX-License-Identifier: Apache-2.0
33

44
"""Tests for transaction retry utilities."""

tests/test_type_system.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from tests import helper
1313

1414
__author__ = "Animesh Pathak <animesh@dgrpah.io>"
15-
__maintainer__ = "Istari Digital <contact@istaridigital.com>"
15+
__maintainer__ = "Istari Digital, Inc. <dgraph-admin@istaridigital.com>"
1616

1717

1818
class TestTypeSystem(helper.ClientIntegrationTestCase):

tests/test_upsert_block.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from . import helper
1515

1616
__author__ = "Animesh Pathak <animesh@dgrpah.io>"
17-
__maintainer__ = "Istari Digital <contact@istaridigital.com>"
17+
__maintainer__ = "Istari Digital, Inc. <dgraph-admin@istaridigital.com>"
1818

1919

2020
class TestUpsertBlock(helper.ClientIntegrationTestCase):

0 commit comments

Comments
 (0)