Identifying a Repository on the Bitbucket Server

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

症状

The Bitbucket Server repositories are located in BITBUCKET_HOME/shared/data/repositories/<repository-id> but what ID corresponds to which repository?

原因

Repositories are stored in Bitbucket Server using a unique ID number instead of their name.

ソリューション

The System Administrator permission is required to see the location on disk of the repository.

To determine the ID of a repository, navigate to the repository in Bitbucket Server and select Settings, under Repository details, the repository's location on disk will be listed with the ID.

 

Bulk Repository ID

If you have a lot of repositories you need to identify by ID, run a query to the Bitbucket Server database for the ID numbers similar to : 

SELECT name, id FROM <DataBase>.repository; 

This query will list all repositories and corresponding ID's.

 

 

最終更新日 2016 年 8 月 1 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.