Skip to main content

source_import_commit_authors

Overview

Namesource_import_commit_authors
TypeResource
Idgithub.migrations.source_import_commit_authors

Fields

NameDatatype
idinteger
namestring
remote_namestring
urlstring
emailstring
import_urlstring
remote_idstring

Methods

NameAccessible byRequired ParamsDescription
get_commit_authorsSELECTowner, repoEach type of source control system represents authors in a different way. For example, a Git commit author has a display name and an email address, but a Subversion commit author just has a username. The GitHub Importer will make the author information valid, but the author might not be correct. For example, it will change the bare Subversion username hubot into something like hubot <hubot@12341234-abab-fefe-8787-fedcba987654>.

This endpoint and the Map a commit author endpoint allow you to provide correct Git author information.
map_commit_authorEXECauthor_id, owner, repoUpdate an author's identity for the import. Your application can continue updating authors any time before you push new commits to the repository.