Access logs reference repositories inconsistently

お困りですか?

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

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く





問題

The atlassian-bitbucket-access*.log files may reference the repositories inconsistently. The same log file may reference the same repository in two different ways, for example:

  • git-receive-pack '/my_project/my_repo.git'
  • git-receive-pack '/my_project/my_repo'

原因

The reference found in the access log is exactly the same as specified by the user.

  • In the web interface, Bitbucket Server always presents repositories referenced with the extension .git
  • However, in usage, this extension is optional, so the users, in their commands, scripts etc., may refer to repositories either with, or without the extension. Both notations are perfectly correct, understandable to Bitbucket, and fully functional.

In the access log, Bitbucket Server always uses the exact same notation as it was specified by the user. This explains why you may sometimes see the same repository referenced with the extension, and sometimes without it.

ソリューション

If you parse the access logs for references to specific repositories, keep in mind that both valid notations should be expected.


説明 .git extension is sometimes missing in access logs
製品Bitbucket Server, Bitbucket Data Center
最終更新日 2019 年 5 月 28 日

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

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