sourcegraph/sourcegraph-public-snapshot

Adding LSIF to private repos as a contributor is a confusing user experience

開放

#24,457 建立於 2021年8月31日

 (1 則留言) (0 個反應) (0 位負責人)Go (1,374 個分叉)auto 404
good first issueteam/graph

倉庫指標

星標
 (10,290 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

Users adding LSIF to their private repos get UI errors if they're not site admins. Although being a contributor is sufficient to set up and get precise code intelligence results, the current behaviour is confusing as Sourcegraph only shows settings and upload states if the user is a site admin.

Example: User is a repo contributor, sets up LSIF for their repo and get the following errors.

Screenshot 2021-08-31 at 14 37 51 Screenshot 2021-08-31 at 14 38 05

However, LSIF config is working and they get precise code intelligence results in their repo.

貢獻者指南