wiki:FAQ/GitHubMigration

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

expand section on ticket editing

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 to 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 to 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?

When you log into the new Trac site, references to your GitHub email addresses are converted to your new Trac account. Thus, your new account only inherits reporter/owner/Cc status for email addresses you've added to GitHub.

If you forgot about an address you used on the old Trac site, you can add it to GitHub at any time, log out of Trac, and log back in. The conversion is done by a periodic job, so it may not occur for a few minutes after login.

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@….