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

Web-Ui file upload structure #3776

Open
lorriborri opened this issue Jan 8, 2025 · 0 comments
Open

Web-Ui file upload structure #3776

lorriborri opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@lorriborri
Copy link
Member

Situation

Currently, the normal file upload (e.g. my_custom.zip) only works for codeScan, which is outdated. Refer to the following environment variables:

PDS_JOB_SOURCECODE_UNZIPPED_FOLDER (outdated)
PDS_JOB_EXTRACTED_SOURCES_FOLDER (new structure)

The new PDS requires a structure for the zip files as follows: data//sourcecode. The corresponding configuration must reference the unique name.

Wanted

We do not want the user to pack his file manually in the required structure. The user should just select a .zip file or .tar

Solution

Solution 1: Implement the packing in the web client (like the cli) - not recommended
Solution 2: Implement an upload function for the web-ui where the server saves the upload in the necessary structure

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

No branches or pull requests

1 participant