mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
chore(regroup): clean up migration scripts
This commit is contained in:
parent
50b0dc178e
commit
264b75cd68
13
scripts/repo-migration/README.md
Normal file
13
scripts/repo-migration/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Repo migration scripts
|
||||
|
||||
> [!NOTE]
|
||||
> These scripts were designed to be single use only, since they took care of migrating between repos. As such, they are not actively maintained and are to be used for reference only.
|
||||
|
||||
These scripts were used in the process of migrating from the forked [Notes](https://github.com/TriliumNext/Notes) repo to the original [Trilium](https://github.com/TriliumNext/Trilium) repo.
|
||||
Since Git only migrates the code and not the GitHub-specific data, we had to create scripts that handle the migration of:
|
||||
|
||||
* Issues, using the "Transfer" function for each issue (via `gh cli`).
|
||||
* The migration logs are available in `migrated-issues.txt`.
|
||||
* Discussions, which transferred each discussion from the original repo. This one is a bit more complicated (and potentially flaky) since it works via playwright, by manually selecting the "Transfer" function (no API available at the time).
|
||||
* The migration logs are available in`migrated-discussions.txt`.
|
||||
* Releases, by manually downloading the assets from the source repo and creating new releases into the destination repo.
|
||||
Loading…
x
Reference in New Issue
Block a user