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

Migrate https://github.com/nexB/matchcode-toolkit to https://github.com/aboutcode-org/ #10

Closed
pombredanne opened this issue May 17, 2024 · 7 comments
Assignees

Comments

@pombredanne
Copy link
Member

No description provided.

@pombredanne
Copy link
Member Author

@JonoYang this will be the first candidate to move to AboutCode-org on GitHub ... See aboutcode-org/aboutcode#136 for full details
Can you be the first one to deal with it?
Please keep a log of all the details ... I am curious to see if Azure devops still works.

@pombredanne pombredanne transferred this issue from aboutcode-org/aboutcode May 17, 2024
@JonoYang
Copy link
Member

@pombredanne

I've moved https://github.com/nexB/matchcode-toolkit to https://github.com/aboutcode-org/matchcode-toolkit using the following steps:

  1. Create empty repo on aboutcode-org
  2. Clone empty repo to system
  3. Add previous repo as remote:
  4. Merge old repo with new empty repo
    • git merge old-repo/main --allow-unrelated-histories
  5. Push to github
  6. Push tags to github
    • git push --tags
  7. Recreate releases on new repo

Azure DevOps needs access to the aboutcode-org repos for CI to work.

@JonoYang
Copy link
Member

A simpler way to achieve what I did above:

  1. Transfer the nexB repo to the aboutcode-org organization from Settings -> Danger Zone -> Transfer ownership
  2. Set up CI for that repo on Azure Devops
  • Log into the nexB organization on Azure Devops
  • Go to the project that was moved
  • On the left hand menu, click on Pipelines, and then delete the existing pipeline
  • On the same page, click New pipeline, and then click Github, then select the repo that was transferred to aboutcode-org
  • Complete adding the pipeline

@mjherzog
Copy link
Member

mjherzog commented Jun 7, 2024

Guessing that we should just ignore that most repos are based on the nexB skeleton.

@mjherzog
Copy link
Member

mjherzog commented Jun 7, 2024

More steps:

  • Update org-level permissions
  • Check org-level permissions for each repo and update repo-level permissions.
  • Update URLs over time.
  • Create new PyPI release with updated URLs.
    So we should create an Issue template / checklist for this and create a nexB org-level project.

@pombredanne
Copy link
Member Author

Guessing that we should just ignore that most repos are based on the nexB skeleton.

Good point... we need to make a test migration with a repo template too.

@JonoYang
Copy link
Member

This has been done. Closing.

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

No branches or pull requests

4 participants