-
Notifications
You must be signed in to change notification settings - Fork 270
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
metadata API: Constants for top-level rolenames #1648
Labels
backlog
Issues to address with priority for current development goals
good first issue
Bite-sized items for first time contributors
Milestone
Comments
sechkova
added
the
backlog
Issues to address with priority for current development goals
label
Nov 10, 2021
I'd like to work on that, please. |
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Adresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Addresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
3 tasks
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Adresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Addresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Adresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Addresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 12, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Addresses theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 17, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 17, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 22, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 22, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 25, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Nov 25, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Dec 2, 2021
This is a change in the metadata API to remove hardcoded rolenames and use constants instead. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
ivanayov
pushed a commit
to ivanayov/python-tuf
that referenced
this issue
Dec 2, 2021
This applies the use of constants of top-level rolenames in the tests instead of the previously hardcoded strings. Fixes theupdateframework#1648 Signed-off-by: Ivana Atanasova <iyovcheva@iyovcheva-a02.vmware.com>
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
Description of issue or feature request:
Top-level role names - "root", "timestamp", "snapshot" and "targets" - are hardcoded throughout the code base. Good coding practice suggests to create constants for these and use them instead.
See
Current behavior:
Expected behavior:
tuf/api/metadata.py
andtuf/api/*
andtuf/ngclient/*
and probably any new test modules.The text was updated successfully, but these errors were encountered: