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

explain how to customize root collection in "running in Docker" tutorial #11201

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

pdurbin
Copy link
Member

@pdurbin pdurbin commented Jan 30, 2025

What this PR does / why we need it:

In Milestone F of the container proposal and in recent discussions, we've said we want people to be able to configure the alias and name of the root collection.

Which issue(s) this PR closes:

Special notes for your reviewer:

This PR is an alternative to #11196. It allows more customization.

Please feel free to discuss here or at https://dataverse.zulipchat.com/#narrow/channel/375812-containers/topic/in.20demo.2Feval.20env.2C.20configure.20root.20collection.20alias.20and.20name/near/496383414

Suggestions on how to test this:

Follow the provided instructions. Your root collection should look like this:

Screenshot 2025-01-30 at 3 57 53 PM

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?:

Yes, included.

Additional documentation:

https://dataverse-guide--11201.org.readthedocs.build/en/11201/container/running/demo.html#root-collection-customization-alias-name-etc

@pdurbin pdurbin added Component: Containers Anything related to cloudy Dataverse, shipped in containers. Size: 3 A percentage of a sprint. 2.1 hours. labels Jan 30, 2025

This comment has been minimized.

1 similar comment

This comment has been minimized.

@pdurbin pdurbin added the FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) label Jan 31, 2025
@@ -19,6 +19,13 @@ echo ""
echo "Setting DOI provider to \"FAKE\"..."
curl -sS -X PUT -d FAKE "${DATAVERSE_URL}/api/admin/settings/:DoiProvider"

API_TOKEN=$(grep apiToken "/tmp/setup-all.sh.out" | jq ".data.apiToken" | tr -d \")
export API_TOKEN

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add "if file exists" here, perhaps.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Kris-LIBIS I added the "if" in this commit: 4f8ea65

Please take a look! Thanks!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great.

@pdurbin pdurbin self-assigned this Feb 12, 2025
@pdurbin pdurbin removed their assignment Feb 12, 2025
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:10541-root-alias-name2
ghcr.io/gdcc/configbaker:10541-root-alias-name2

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

@cmbz cmbz added the FY25 Sprint 17 FY25 Sprint 17 (2025-02-12 - 2025-02-26) label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. FY25 Sprint 16 FY25 Sprint 16 (2025-01-29 - 2025-02-12) FY25 Sprint 17 FY25 Sprint 17 (2025-02-12 - 2025-02-26) Size: 3 A percentage of a sprint. 2.1 hours.
Projects
Status: Ready for Review ⏩
Development

Successfully merging this pull request may close these issues.

In containers, document how to change the root collection alias and name (milestone F)
3 participants