Skip to content

Commit 2f80ad5

Browse files
authored
Merge pull request #2648 from h4l0gen/change_path
change_target_file_path
2 parents c81eefd + adc0a26 commit 2f80ad5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/manual_repo/basic_repo.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ def _in(days: float) -> datetime:
104104
# 'target path', which a client uses to locate the target file relative to a
105105
# configured mirror base URL.
106106
#
107-
# |----base URL---||-------target path-------|
108-
# e.g. tuf-examples.org/repo_example/basic_repo.py
107+
# |----base artifact URL---||-------target path-------|
108+
# e.g. tuf-examples.org/artifacts/manual_repo/basic_repo.py
109109

110110
local_path = Path(__file__).resolve()
111111
target_path = f"{local_path.parts[-2]}/{local_path.parts[-1]}"
@@ -273,7 +273,7 @@ def _in(days: float) -> datetime:
273273
keyids=[delegatee_key.keyid],
274274
threshold=1,
275275
terminating=True,
276-
paths=["*.py"],
276+
paths=["manual_repo/*.py"],
277277
),
278278
},
279279
)

0 commit comments

Comments
 (0)