Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: import legacy Mapeo data #978

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

feat: import legacy Mapeo data #978

wants to merge 1 commit into from

Conversation

EvanHahn
Copy link
Contributor

@EvanHahn EvanHahn commented Dec 18, 2024

Depends on digidem/comapeo-schema#280.

This adds a new method to MapeoProject, $importLegacyMapeoData, which takes a legacy export format file and imports its observations into CoMapeo.

This will be used in CoMapeo Headless to help with importing. Putting it here also makes it easy to add elsewhere in the future, such as in the desktop app or the cloud server.

@awana-lockfile-bot
Copy link

awana-lockfile-bot bot commented Dec 18, 2024

package-lock.json changes

Summary

Status Count
ADDED 28
Click to toggle table visibility
Name Status Previous Current
@mapeo/legacy-export-format ADDED - 0.3.0
array-lru ADDED - 1.1.1
atomic-batcher ADDED - 1.0.2
bitfield-rle ADDED - 2.2.1
buffer-alloc-unsafe ADDED - 1.1.0
buffer-alloc ADDED - 1.2.0
buffer-fill ADDED - 1.0.0
bulk-write-stream ADDED - 1.1.4
count-trailing-zeros ADDED - 1.0.1
fast-bitfield ADDED - 1.2.2
fd-lock ADDED - 1.2.0
from2 ADDED - 2.3.0
hypercore-protocol ADDED - 6.12.0
inspect-custom-symbol ADDED - 1.1.1
last-one-wins ADDED - 1.0.4
memory-pager ADDED - 1.5.0
merkle-tree-stream ADDED - 3.0.3
multifeed ADDED - 4.3.0
nan ADDED - 2.22.0
nanoguard ADDED - 1.3.0
pretty-hash ADDED - 1.0.1
sorted-indexof ADDED - 1.0.0
sparse-bitfield ADDED - 3.0.3
thunky ADDED - 1.1.0
uint64be ADDED - 2.0.2
unordered-array-remove ADDED - 1.0.2
unordered-set ADDED - 2.0.1
valibot ADDED - 1.0.0-beta.9

EvanHahn added a commit to digidem/mapeo-legacy-export-format that referenced this pull request Dec 18, 2024
We plan to use this in CoMapeo Core (see [this pull request][0]) so we
need to make sure we're compatible with Node 18.

[0]: digidem/comapeo-core#978
EvanHahn added a commit to digidem/mapeo-legacy-export-format that referenced this pull request Dec 18, 2024
We plan to use this in CoMapeo Core (see [this pull request][0]) so we
need to make sure we're compatible with Node 18.

[0]: digidem/comapeo-core#978
EvanHahn added a commit to digidem/mapeo-legacy-export-format that referenced this pull request Dec 18, 2024
We plan to use this in CoMapeo Core (see [this pull request][0]) so we
need to make sure we're compatible with Node 18.

[0]: digidem/comapeo-core#978
This adds a new method to `MapeoProject`, `$importLegacyMapeoData`,
which takes a [legacy export format file][0] and imports its
observations into CoMapeo.

This will be used in [CoMapeo Headless][1] to help with importing.
Putting it here also makes it easy to add elsewhere in the future, such
as in the desktop app or the cloud server.

[0]: https://github.com/digidem/mapeo-legacy-export-format
[1]: https://github.com/digidem/comapeo-headless
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant