Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delegated path pattern does not match the target path in basic_repo.py #2304

Open
rdimitrov opened this issue Feb 16, 2023 · 4 comments
Open

Comments

@rdimitrov
Copy link
Contributor

Please fill in the fields below to submit an issue or feature request. The
more information that is provided, the better.

Description of issue or feature request:
In the basic_repo.py example when the metadata is created the target ("basic_repo.py) is used as a Targetfile with a target path set of “manual_repo/basic_repo.py”.

But then when the delegated role is created its path pattern is “*.py” which given the spec should not match to be a delegated role for that target path.

When the generated metadata files are tested with a client, one cannot fetch the target since there's no match.

References:

Current behavior:

A client cannot fetch the desired target file since there's no match.

Expected behavior:

A client should be able to fetch the desired target file.

@rdimitrov
Copy link
Contributor Author

For myself, I fixed it by removing the folder prefix in the target path, but let me know what would work for you and I can add a fix for it 👍

@jku
Copy link
Member

jku commented Mar 20, 2023

Oh there was a sort of question there in the end, sorry for missing that. Either way works for me

@h4l0gen
Copy link
Contributor

h4l0gen commented May 25, 2024

Hi @jku, If this issue is available. Can i work on it?

@h4l0gen
Copy link
Contributor

h4l0gen commented May 28, 2024

thanks, I will create PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants