PDLPorters / PDLPorters/SciPDL

Test go_dmg with Homebrew create-dmg instead of local clone

Open
#8 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
3
Forks
0
PR merge metrics
No merged PRs in 30d

Description

go_dmg currently hard-codes a path to a local checkout of https://github.com/create-dmg/create-dmg at ~/Dropbox/Software/SciPDL-Own-Perl/create-dmg (currently create-dmg 1.2.0).

Homebrew also offers brew install create-dmg (currently create-dmg 1.2.3) — same upstream project, slightly newer minor version. This has not been tested with the SciPDL go_dmg flow as of v2.104.

Tasks
  • brew install create-dmg
  • Edit go_dmg to use the brew-installed create-dmg instead of the local clone, e.g.:
    CREATE_DMG=$(dirname $(which create-dmg))
    
  • Run ./go_dmg end-to-end and verify the resulting .dmg looks identical to a local-clone build (icon positions, background image, Applications symlink, signing, notarisation)
  • If it works cleanly, switch the documented setup to Homebrew and update BUILDING.md
Why bother
  • One less manual git-clone step for new builders
  • Easier to keep up to date alongside other Homebrew packages
  • Removes the awkward Dropbox-path dependency in go_dmg

See BUILDING.md for current setup.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading go_dmg and the current setup instructions in BUILDING.md, then install create-dmg with Homebrew and run ./go_dmg end-to-end. Done means the Homebrew-based build produces a .dmg matching the local-clone build, including icon positions, background image, Applications symlink, signing, and notarisation; update BUILDING.md if it works cleanly.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, shell
Domain
build-system, release
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.