Skip to content

Studio: Windows — saved projects and settings folders in one form (#936) #950

Backlog

Description

@danielrispler

Parent

#936

What to build

Paths that enter plotkeeper outside the event log are kept and compared in one form on Windows.

  • A project saved by plotkeeper add or the start-up registration is stored through read.
  • The switchboard and the projects list compare projects with same.
  • The folders in settings.json read through read.
  • The temporary-folder list gains std::env::temp_dir(), canonicalised and in the rule's form (it can be an 8.3 short name). Tests that compare a temp folder with git's output canonicalise it the same way.

Acceptance criteria

  • Rows: a project added as c:\Repo and seen in the log as C:/repo is one project.
  • Rows: a settings folder written C:\\x matches a check run in C:/x.
  • A Windows-job row: a repository under %TEMP% is not saved as a project.
  • Existing saved projects on macOS and Linux read unchanged.
  • npm run check and npm run check:windows pass.

Reading

Touches

  • Files: server/src/projects.rs, server/src/switchboard.rs, server/src/settings.rs, server/src/bin/plotkeeper.rs, server/tests/plotkeeper_bin.rs
  • Session: auto mode
  • Route: strong · effort high — persistence: the saved projects file

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentwindows

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions