airbytehq / airbytehq/airbyte

Gradle configuration does not allow the use of mirror repos

オープン
#85,810 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
autoteam community needs-triage team/use
主要言語
Python
スター
22.1k
フォーク
5.4k
平均マージ
5時間
マージ済み PR(30日)
671

説明

### Topic

gradle

### Relevant information

The current gradle setup does not allow the injection of mirror repos, which is a common practice in enterprise setups, where access to public repos is prohibited.

It should be possible to tell gradle what maven repo to use, e.g. mavenCentral() when running in default Airbyte CI setup, but when running in more restrictive environment you should be able to set -Dorg.gradle.project.apacheMavenRepositoryUrl. This is then being handled by and if/else statement to handle the injection properly.

From maintainability perspective it would also make sense to separately define a repositories.gradle file with all the repos. And reference this from build.gradle

fyi: This is a reopen of https://github.com/airbytehq/airbyte/issues/64896

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by locating the Gradle build.gradle repository declarations and review the earlier issue #64896 for context. Separate the repository configuration into repositories.gradle if appropriate, preserving mavenCentral() as the default while allowing org.gradle.project.apacheMavenRepositoryUrl to select a mirror; verify both default and overridden Gradle builds.

索引モデルが issue の本文から書いたものです。

評価

領域
build-system
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
66/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。