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

Copy missing files to .m2 even when the directory exists #9

Open
ioggstream opened this issue Jan 16, 2023 · 0 comments
Open

Copy missing files to .m2 even when the directory exists #9

ioggstream opened this issue Jan 16, 2023 · 0 comments

Comments

@ioggstream
Copy link
Contributor

ioggstream commented Jan 16, 2023

I expect

  • that file provided by /app/java-validators/.m2 are added to $HOME/.m2 even when $HOME/.m2 already exists

Instead

  1. if .m2 exists files are not copied, this causes super-sast to download them again
  2. if .m2 exists and is empty, files are still not copied

Note

  • a basic implementation can just copy .m2/repository/ without overwriting
  • a more complex behavior can be implemented (e.g. via rsync) and be disabled by default with feature flag like SUPER_SAST_ALWAYS_COPY_M2=false
@ioggstream ioggstream changed the title Add files with rsync Copy missing files to .m2 even when the directory exists Jan 25, 2023
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

1 participant