Rename the app from tracker to fit
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 2m44s

The directory, the repo and the hostname are all fit; the module path,
the image, the namespace and the data file were still tracker. Nothing
is deployed yet, so this is free now and would not be later.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-08-01 22:03:33 -07:00
parent faf73c8be5
commit 3168a4ef96
14 changed files with 58 additions and 58 deletions

View File

@@ -284,7 +284,7 @@ func (s *Store) Export() ([]byte, error) {
func (s *Store) Import(body []byte) error {
var next data
if err := json.Unmarshal(body, &next); err != nil {
return fmt.Errorf("that file is not a tracker export: %w", err)
return fmt.Errorf("that file is not a fit export: %w", err)
}
if next.Days == nil {
next.Days = map[string]*Day{}
@@ -313,7 +313,7 @@ func (s *Store) persist() error {
}
dir := filepath.Dir(s.path)
tmp, err := os.CreateTemp(dir, ".tracker-*.json")
tmp, err := os.CreateTemp(dir, ".fit-*.json")
if err != nil {
return fmt.Errorf("create temp file: %w", err)
}