wiki:FAQ/GitHubMigration

Version 11 (modified by larryv (Lawrence Velázquez), 7 years ago) (diff)

tweak heading about commit privs

GitHub Migration FAQ

  1. Why
  2. Git
    1. How can I use Git for my ports tree?
  3. GitHub
    1. Where can I find the MacPorts source now?
    2. I am a MacPorts developer. How do I get commit privileges for the repositories on GitHub?
  4. Trac
    1. How can I associate my old tickets with my new Trac account?
    2. I am a MacPorts developer and could edit tickets on the old Trac. How can I do so on the new one?

Why

See Ryan's announcement email.

Git

How can I use Git for my ports tree?

See the "Syncing with Git" HOWTO.

GitHub

Where can I find the MacPorts source now?

As part of the migration, we have split our monolithic Mac OS Forge repository into smaller repositories on GitHub. The svn2git rules used for the conversion are available on Clemens Lang's GitHub.

Mac OS Forge GitHub ("master" branch unless otherwise noted)
trunk/base macports-base.git
trunk/base/portmgr/jobs macports-infrastructure.git, "jobs" directory
trunk/doc macports-guide.git, "doc-old" branch
trunk/doc-new macports-guide.git
trunk/dports macports-ports.git
trunk/dports/PortIndex* deleted
trunk/www macports-www.git
contrib macports-contrib.git
contrib/MacPorts_Framework pallet.git, "MacPorts_Framework" directory
contrib/Pallet pallet.git, "Pallet" directory
contrib/buildbot macports-infrastructure.git, "buildbot-mpab" branch, "buildbot" directory
contrib/buildbot-test macports-infrastructure.git, "buildbot" directory
contrib/mp-buildbot mpbb.git
contrib/mpab mpbb.git, "mpab" branch
users/* separate repository at macports/macports-user-*.git
users/{dluke,jberry,pipping} deleted (exceeds GitHub size limit, only contains old files)
branches/* branch of the appropriate repository
distfiles/* deleted
downloads/* deleted
tags/* annotated tag in the appropriate repository

Cloning URLs and GitHub Desktop links are available on each repository's GitHub page.

I am a MacPorts developer. How do I get commit privileges for the repositories on GitHub?

Only members of our GitHub organization have push access to our repositories. To join, send the following email to macports-infra@…:

Subject: Please invite me to MacPorts on GitHub

Handle: <your-macports-handle>

A member of the infrastructure team will send a GitHub invitation to <your-macports-handle>@macports.org. After following the invitation's instructions to join the organization, your GitHub account will have push access.

Finally, add your GitHub username to the list of developers.

Trac

How can I associate my old tickets with my new Trac account?

Your account on our new Trac site inherits reporter/owner/Cc status for the email addresses in your GitHub account. If you notice that some of your tickets or Cc's have not been migrated, you should add the relevant email address(es) to your GitHub account and log out of Trac. Shortly after you log back in, a periodic job will notice the newly added email addresses and perform the migration.

I am a MacPorts developer and could edit tickets on the old Trac. How can I do so on the new one?

Only members of the "Developers" team within our GitHub organization can edit tickets on the new Trac site.

  • If you are not yet a member of the organization, request to join. The member of the infrastructure team who handles your request will add you to the "Developers" team.
  • If you are already a member of the organization but still cannot edit tickets, contact macports-infra@….