Skip to content
New issue

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

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

Already on GitHub? # to your account

Add a migration guide #59

Open
cmungall opened this issue Mar 15, 2023 · 0 comments
Open

Add a migration guide #59

cmungall opened this issue Mar 15, 2023 · 0 comments

Comments

@cmungall
Copy link
Member

We should add a guide (or just a few lines to the README) that descibes how to migrate an older linkml repo to cookiecutter

there is no one size fits all approach here. Approaches vary from:

  1. abandon old repo and create a new repo
    • disadvantages:
      • history broken (may not matter with small projects)
      • issues forked (can be migrated one by one using gh interface)
  2. remove all files from current repo. create new repo using cc. copy all files across using cp -pr. git add -a
    • similar to above but issues preserved
  3. create a new repo using cc
    • do not push
    • use new repo as an exemplar
    • manually rm and mv files in the existing repo to match the template
    • this is more work than 1/2 but should preserve history/issues
    • note that if you miss a file or put something in the wrong place it could lead to hard to debug makefile issues
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant