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

Move admin email into Django setting #2205

Merged
merged 2 commits into from
Mar 12, 2025

Conversation

asmacdo
Copy link
Member

@asmacdo asmacdo commented Mar 6, 2025

Fixes #605

This will need a new value DJANGO_DANDI_ADMIN_EMAIL to be added to the production deployment.

I hand tested this by adding (uncommited) log messages to the /api/users/me/ endpoint, but let me know if there's a better way to try this out.

asmacdo added a commit to asmacdo/dandi-cli that referenced this pull request Mar 6, 2025
@asmacdo
Copy link
Member Author

asmacdo commented Mar 6, 2025

Is there a process for using a dandi-cli PR for those integration tests here?

@jjnesbitt
Copy link
Member

Thanks for this contribution. This will depend on dandi/dandi-infrastructure#218 being merged, since that will add the required values to our heroku deploy. Once that's merged, this can follow suit (assuming no issues arise).

@jjnesbitt
Copy link
Member

jjnesbitt commented Mar 7, 2025

Is there a process for using a dandi-cli PR for those integration tests here?

Afaik, not in any way that's worthwhile. I think the best course of action is to merge the PRs in this order:

  • Infrastructure
  • CLI
  • API

@mvandenburgh
Copy link
Member

mvandenburgh commented Mar 7, 2025

Is there a process for using a dandi-cli PR for those integration tests here?

Afaik, not in any way that's worthwhile. I think in this case the best course of action is just to allow them to fail for this PR, and merge in the order:

  • Infrastructure
  • API
  • CLI

Wouldn't merging the CLI PR before the API PR solve the issue? I'm assuming adding an extra env var doesn't cause the CLI tests to fail.

@jjnesbitt
Copy link
Member

Wouldn't merging the CLI PR before the API PR solve the issue? I'm assuming adding an extra env var doesn't cause the CLI tests to fail.

I was under the impression that it wouldn't be possible either way, due to the specifics of how the integration tests are run, but I may have been mistaken about that. Regardless, it doesn't hurt to try to merge the CLI PR first, the worst case scenario is the tests still fail. I'll update that comment.

@yarikoptic
Copy link
Member

ok we merged (and should get released)

@mvandenburgh
Copy link
Member

I reran the dandi-cli tests, and they're passing now.

@jjnesbitt jjnesbitt merged commit 0aca4cc into dandi:master Mar 12, 2025
13 of 17 checks passed
@dandibot
Copy link
Member

🚀 PR was released in v0.4.25 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Mar 13, 2025
@dandibot
Copy link
Member

🚀 PR was released in v0.4.25 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make DANDI admin email a Django setting
5 participants