Skip to content

Document or offer a one-shot migrate from combined checkout+data to repo/ #36

Description

@splaice

potential-improvement — found while implementing #7.

New installs clone to ~/.local/share/omacase/repo so caches (generated/, backgrounds/, upstream/) sit beside the worktree. Existing public installs that already have .git in ~/.local/share/omacase are kept in place on purpose (zero users, forced migrate not worth the risk).

.gitignore is only defense in depth. Those machines still write theme caches into the updater checkout.

What would help

A documented, opt-in move:

  1. git -C ~/.local/share/omacase is a worktree.
  2. Move that worktree to ~/.local/share/omacase/repo.
  3. Leave generated/, backgrounds/, upstream/ where they are (they become siblings).
  4. Relink /opt/homebrew/bin/omacase at the new path.

omacase doctor (see sibling issue) can detect the old layout and print the recipe. Do not auto-migrate in boot.sh.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    potential-improvementRobustness, security, speed, or ease-of-use improvement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions