SourceCommit product integrations

Prev Next

Available in VPC

SourceBand provides integration with SourceCommit products among the NAVER Cloud Platform Developer Tools suite. By integrating your SourceBand project with the SourceCommit repository, you can easily find the SourceCommit repository commit code in the SourceBand project issue that mentions the issue.

The SourceCommit product integration introduces how to integrate with the SourceCommit repository, create repository commits that mention a SourceBand issue, and view the commit that mentions the issue.

Integrate SourceCommit repository

In SourceBand, you can integrate your project with a SourceCommit repository as follows:

SourceBand-use_sourcecommit-repo_ko

  1. On the SourceBand project page, click the [Setting] > [Developer tool integration] button on the left.
  2. Check the SourceCommit repository list in the developer tools service settings modal window.
  3. Select the repository you want to integrate with and click the SourceBand-project_arrow-button button.
  4. Click the [Save] button.
Caution
  • A single repository can be integrated with only one project. In other words, you cannot select a repository that is already integrated with another project.

Disconnect SourceCommit repository

  1. On the SourceBand project page, click the [Setting] > [Developer tool integration] button on the left.
  2. Check the SourceCommit repository list in the developer tools service settings modal window.
  3. Select the repository you want to disconnect and click the SourceBand-project_arrow-button_2 button.
  4. Click the [Save] button.

Create a commit that mentions an issue

For the SourceCommit repositories that you have integrated in your SourceBand project, you can mention a SourceBand issue when creating a repository commit. For more information on how to create a commit, see the following guides:

You can mention a SourceBand project issue when creating a commit message as follows:

  1. On the SourceBand organization page, find the project ID to which the issue you want to mention belongs. (For more information, see SourceBand organization page.)
    SourceBand-project_id

  2. Check the number of the issue to be mentioned in the SourceBand project.

    • Example of checking the issue number in the table page
      SourceBand-use-sourcecommit_issue-id_ko
  3. Create a commit by including the project ID and issue number you checked in the commit message in the form of #[project_ID].[issue_number].

    • Example of creating commit
    $ git commit -m "#1.2 A commit that mentions an issue with issue number 2 in a project of which project ID is 1." 
    

Check the commit that mentions the issue

In a SourceBand issue, you can view the SourceCommit repository commit that mentions the issue as follows:

SourceBand-use-sourcecommit_issue-history_ko

  1. Move to the setting page for the SourceBand issue mentioned in the SourceCommit commit.
  2. Click the [Change history] tab at the top of the issue setting modal.
  3. Check the issue history list to see the commit that mentions the issue. Click the Commit ID to move to the commit code page.