Skip to content

Metadata API: stop using formats.py #1384

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

Closed
jku opened this issue May 12, 2021 · 1 comment · Fixed by #1432
Closed

Metadata API: stop using formats.py #1384

jku opened this issue May 12, 2021 · 1 comment · Fixed by #1432
Assignees
Labels
backlog Issues to address with priority for current development goals good first issue Bite-sized items for first time contributors
Milestone

Comments

@jku
Copy link
Member

jku commented May 12, 2021

Currently we have one use of tuf/formats.py in tuf/api/metadata.py. I think we should try to keep the two implementations separate.

Current behavior:
formats.expiry_string_to_datetime() is used in metadata.py

Expected behavior:
We should do the conversion in metadata.py (and I think we should not raise securesystemslib errors like current implementation does).

@jku jku added the good first issue Bite-sized items for first time contributors label May 12, 2021
@jku jku added the backlog Issues to address with priority for current development goals label May 26, 2021
@sechkova sechkova added this to the weeks22-23 milestone May 26, 2021
@avelichka
Copy link
Contributor

I'd like to work on that :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issues to address with priority for current development goals good first issue Bite-sized items for first time contributors
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants