ActivityWatch / activitywatch

The best free and open-source automated time tracker. Cross-platform, extensible, privacy-focused.
https://activitywatch.net/
Mozilla Public License 2.0
12.35k stars 556 forks source link

The Great Migration #424

Open ErikBjare opened 4 years ago

ErikBjare commented 4 years ago

There are currently a few migrations planned, here I'll try to document them so that we can have some general discussion and clarity on what migration debts have to be repaid.

There are more info about these in issues that I haven't yet referenced here.

johan-bjareholt commented 4 years ago

some watchers: old bucket types

My assumed plan for this is:

  1. Fix so the webui supports both new and old names
  2. Make aw-watcher-afk/aw-watcher-window/aw-watcher-android use the new names
  3. Make aw-server-rust have a migration which changes the old names for the new names
  4. (Optional) Make newly created buckets with the old name be replaced with the new name. This is necessary for imports of old buckets to work.
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

johan-bjareholt commented 4 years ago

Updated your post with another point

  • new behavior (proposal): watchers no longer have hostname in their name, they are assumed to be owned by the server they have requested to create a bucket for. All buckets in /api/0/buckets are local and "external" buckets from other devices can be on a seperate endpoint.
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

timwsuqld commented 3 years ago

not stale. @ErikBjare do we have a tag to prevent things like this being marked as stale?