Skip to content

Check setup button and a complete admin how-to - #18

Merged
rkrug merged 1 commit into
mainfrom
check-setup
Oct 29, 2026
Merged

rkrug merged 1 commit into
mainfrom
check-setup

Conversation

@rkrug

@rkrug rkrug commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Check setup (new button under the four main buttons; workflow check-setup.yml, script scripts/check_setup.py, read-only):

  • Google: sign-in works (and which account), Drive API and Docs API enabled, latest exported Doc reachable, optional GDOC_ID / GDRIVE_FOLDER_ID.
  • Zenodo: ZENODO_TARGET valid (warning on sandbox), each token accepted, and its account owns the Vision record (so new versions can be made).
  • GitHub: Pages serves gh-pages; workflows may open pull requests.
  • The run summary is a ✅ / ⚠️ / ❌ table with what to fix; the run fails only on ❌.

Admin how-to (replaces the short setup section on the panel; linked as Setup how-to next to the button): GitHub settings, Zenodo (records, tokens, target), Google (project, APIs, branding, publishing, client, sign-in — with the German labels), optional variables, first run, troubleshooting for every error we hit so far, maintenance, command line.

Tested: the check against fake Google/Zenodo/GitHub answers for "all fine", today's state (Docs API off, sandbox → warnings only) and a broken setup (exit 1 with the right messages); the panel in a browser.

🤖 Generated with Claude Code

- New workflow "Check setup" (scripts/check_setup.py, read-only): Google
  sign-in and account, Drive and Docs APIs, latest exported Doc, optional
  variables, ZENODO_TARGET, both Zenodo tokens and whether their accounts own
  the Vision records, GitHub Pages and whether workflows may open pull
  requests. The run summary lists each item as OK / warning / problem; the
  run fails if something required is missing. Button on the admin panel.
- The setup section of the admin panel becomes a complete, ordered how-to
  (GitHub, Zenodo, Google with German labels, optional variables, first run,
  troubleshooting for the errors seen so far, maintenance, command line).
- Fixes the outdated `release.py prepare --version` example.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rkrug
rkrug merged commit d547632 into main Oct 29, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant