-
Notifications
You must be signed in to change notification settings - Fork 492
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
rev Maven from 3.8.4 to 3.8.5 #8537
Conversation
Without this fix I'm definitely getting errors on develop (c5d1df2):
|
Hmm, even on this pull request (2ec7a88) I'm getting errors:
The @carlsonp did you run |
Hello. I wasn't able to finish the other steps. I got the same message you did, I don't think that Ultimately, I'm looking for an easy way to get this all setup using Docker. It seems as if there are multiple methods and/or community maintained versions? I was able to get further with dataverse-docker. Unfortunately, there still seem to be some pieces that aren't well documented like the default credentials, turning off DOI validation, etc. Uploading files seems to be fairly hit-or-miss with things like custom logos not being applied properly. It would be great if this community work could be rolled into this official repo. Clearly there are a lot of dependencies and pieces to Dataverse but an easy container build that ties into the existing codebase would make it a lot easier for beginners to get up and running. |
@carlsonp your PR runs through cleanly for me on Ubuntu: What platform are you using? Probably best to move the entire build process inside the container, but this PR as it stands runs cleanly on Linux. |
Thank you @carlsonp for telling the same story I am trying to sell since ever I joined Dataverse hacking. I am working on this as a worktime side project of my usual stuff. There are a few issues in this tracker regarding this, the most current one is #8250. |
@carlsonp a workaround to get docker-aio working is to build the war file before you run I'm not sure where to go from here. docker-aio the most supported code we have for running Dataverse in Docker, supported by the core team at IQSS, I mean. Since the "prep it" script doesn't "just work" for you (it doesn't build the war file), would you mind creating an issue about this? Please indicate if you're on Windows, Mac, or Linux and the version. One thought @donsizemore and I have is to try moving the building of the war file inside the container (Linux, like we do with Vagrant) rather than building it on the client machine (Windows, Mac, or Linux). The dataverse-docker repo is completely community created and supported. I do try to keep an eye on issues that are opened but I don't usually have much to say. There's also dataverse-kubernetes (used in production at https://data.fz-juelich.de ) at https://github.com/gdcc/dataverse-kubernetes by @poikilotherm which is also community supported. We try to explain this at https://guides.dataverse.org/en/5.10/developers/containers.html Even docker-aio is community created but at least we try to keep it working since it's in the main git repo. 😄 What's going on here is that core team doesn't use Docker or containers at all but the community has created some interesting solutions. I'd say @poikilotherm has been leading the charge to make it easier to containerize Dataverse by making a variety of pull requests (thanks again, @poikilotherm). What's missing for the core team is a reason to publish images. So far we've been letting the community do that. |
Thank you all for the details and background information. This is very helpful to understand where the project is at. Let me look through the code and think on this some more. I'll open another PR if I have additional code to share or questions. |
@carlsonp if you'd like to submit your own Dockerfile and would like inspiration: https://github.com/fzappa/rocky-dataverse/blob/main/rocky-dataverse.sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the 404 when downloading Maven.
Note that while building the war file using conf/docker-aio/prep_it.bash
"just works" on some platforms (Linux), the war file might built on other platforms (Mac, others?) prior to running that script.
@carlsonp sounds good. Please feel free to pop in https://chat.dataverse.org anytime where @donsizemore @poikilotherm and I hang out. Or we can pick this up in a new issue or PR. I went ahead and approved this PR since it fixes that 404. Thanks. |
@carlsonp would you mind refreshing from develop branch? thanks |
2ec7a88
to
1740acd
Compare
Done, rebased on top of latest |
What this PR does / why we need it:
Maven 3.8.4 binary downloads yields a 404. This fixes the download.
Which issue(s) this PR closes:
Closes #
Special notes for your reviewer:
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
No
Is there a release notes update needed for this change?:
Additional documentation: