Skip to content

Nightly scripts fix - #8549

Open
danoli3 wants to merge 1 commit into
openframeworks:masterfrom
danoli3:of-menu-nightly-scripts
Open

Nightly scripts fix#8549
danoli3 wants to merge 1 commit into
openframeworks:masterfrom
danoli3:of-menu-nightly-scripts

Conversation

@danoli3

@danoli3 danoli3 commented Aug 31, 2026

Copy link
Copy Markdown
Member

Fix missing scripts on nightly

  • ./of is missing
  • scripts/of.sh sources scripts/dev/lib_sources.shdownloadApothecaryLibs: command not found on of update libs
  • scripts/osx/download_libs.sh --help dies immediately: sha_verify.sh: No such file or directory (set -e)
  • .git is stripped (expected for a zip), so there is no way to git pull

Changes

Package keep-list (scripts/dev/create_package.sh):

  • stop deleting ./of; chmod +x it
  • copy lib_sources.sh, sha_verify.sh, and upgrade.sh into the slim scripts/dev/ that nightlies keep (alongside download_libs.sh / downloader.sh / download_pg.sh / init_submodules.sh)

of Menu 0.4.5 (scripts/of.sh):

  • tolerate a missing scripts/ci (nightlies don't ship it)
  • if the tree has no .git / HEAD, show clone() in the interactive menu and accept of clone
  • of clone does git init + origin = https://github.com/openframeworks/openFrameworks.git + shallow fetch of master + checkout -f in place
  • downloaded libs, projectGenerator, and apps/myApps stay untracked; files the zip stripped (full scripts/dev, tests, other platforms) come back
  • OF_GIT_REMOTE / OF_GIT_BRANCH override the default remote/branch
  • already a checkout → no-op, prints current branch/remote

Nightly packages dropped ./of, lib_sources.sh, and sha_verify.sh, so
of.sh could not download libs and download_libs.sh --help already failed.
Keep those scripts in the package, and when the tree has no .git offer
`of clone` to attach openFrameworks.git (shallow master) in place.
@danoli3 danoli3 changed the title Ship of Menu scripts in nightlies and add of clone Nightly scripts fix Aug 31, 2026
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