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

debs artifact "name" field looks to be being modified #105

Open
awhitcroft opened this issue Jan 15, 2024 · 3 comments
Open

debs artifact "name" field looks to be being modified #105

awhitcroft opened this issue Jan 15, 2024 · 3 comments

Comments

@awhitcroft
Copy link

The name field in the artifacts "table" entry for a debs entry looks to be being modified in an unexpected way. Note that the name has an _ in it which is not a valid package name, and I presume was a . in the original:

{
"id": 12000,
"name": "linux-generic-hwe-20_04",
"version": "5.15.0.91.101~20.04.48",
"track": null,
"store": null,
"series": "focal",
"repo": "main",
"stage": "updates",
"status": "UNDECIDED",
"assignee": null
},

@jocave
Copy link
Collaborator

jocave commented Jan 15, 2024

It's not being modified by test-observer - part of the Cert's team infrastructure does this and sends the artefact name with this change

I understand that this is not ideal for you, but would suggest that we track that against of test infra project rather than here.

@awhitcroft
Copy link
Author

It's not being modified by test-observer - part of the Cert's team infrastructure does this and sends the artefact name with this change

I understand that this is not ideal for you, but would suggest that we track that against of test infra project rather than here.

Anywhere is fine. Can you elaborate on the modifications being done, if they are reversible then I can use that to recover the original. (Right now I am assuming that only "." is replaced by "_" and therefore that it is reversible, but I cannot be 100% sure obviously.

@jocave
Copy link
Collaborator

jocave commented Jan 16, 2024

Yes exactly what you said "." are replaced with "_" as we had problems with a component that relies on JSONPaths, but we could not seem to escape the "." chars in package names.

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

2 participants