Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

#20: Migrate the ResourceId format #23

Merged
merged 6 commits into from
Nov 7, 2022
Merged

Conversation

hhio618
Copy link
Contributor

@hhio618 hhio618 commented Nov 1, 2022

Description

closes #20
part of #22

TODO's

  • Update ARK-Shelf?
  • Update ARK-Shelf-Desktop?
  • Update ARK-Navigator?

arklib/src/lib.rs Outdated Show resolved Hide resolved
@kirillt
Copy link
Member

kirillt commented Nov 3, 2022

  • We also should implement migration in the apps, i.e. check some value (or index version) in app data and if there is none (or version is too low) then perform index and storages upgrade. Index and previews can be upgraded by just dropping then because that's cache :) Storages must be backed up before performing upgrade and old resource ids must be replaced by new resource ids. E.g. 5839051: english, greek must be replaced with 88363-5839051: english, greek in .ark/tags, etc.

@kirillt kirillt merged commit 2d8695a into main Nov 7, 2022
@kirillt kirillt deleted the feat-migrate-resourceid branch December 20, 2022 12:08
@kirillt kirillt changed the title Migrate the ResourceId format #21: Migrate the ResourceId format Jan 19, 2023
@kirillt kirillt changed the title #21: Migrate the ResourceId format #20: Migrate the ResourceId format Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate ResourceId from crc32 to (crc32, filesize)
2 participants