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

Fix archive name autodetection on OBS serveur #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sebd71
Copy link

@sebd71 sebd71 commented Oct 5, 2020

Archive filename when using "tar_scm" and "recompress" services is
_service:recompress:tar_scm:my_proj-1.0.0.tar.gz
So update code to support both localrun with "basic" filename and obs
server usecase.

go_modules service cannot be used on OBS server and generates an obscure
error:
  400 remote error:
  Error (http://obs2:5152/sourceupdate/project/golang-test)

This is due to an invalid syntax in XML description field:  '<' and '>'
characters are not valid in value string.
Archive filename when using "tar_scm" and "recompress" services is
_service:recompress:tar_scm:my_proj-1.0.0.tar.gz
So update code to support both localrun with "basic" filename and obs
server usecase.

Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
@jfkw
Copy link
Collaborator

jfkw commented Mar 22, 2021

Thanks for the note and submission. I haven't used the decorated form of re-compressed archive names personally. I will look at this subject to gain a better understanding of the need and add support if needed. I want to be particularly conservative about filename handling from a security perspective given systems source services can run on. Further review to follow, thanks again.

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

Successfully merging this pull request may close these issues.

None yet

2 participants