listRemoteFolderItems can be accessed in multiple ways
まだ誰も着手していません。
評価
調査の方向性
RemoteRepository API と RepositorySettings API から調査を始め、両者の listRemoteFolderItems アクセサーを、issue に記載されている関連する単一の Artifactory REST プロパティと比較します。読み取りと書き込みのどちらにおいて、どのアクセサーを正式なものとするかを判断し、そのうえで冗長な API を削除すべきかを定義します。完了とは、Java API の動作が REST と整合した、曖昧さのないものになることです。
索引モデルが issue の本文から書いたものです。
説明
In the Java API there are two ways to get or set a remote repository's listRemoteFolderItems property, one via the RemoteRepository class, and one via the RepositorySettings class. E.g.:
RemoteRepository repo = /* ... a generic remote repository ...*/;
repo.isListRemoteFolderItems(); // 1
((GenericRepositorySettings)repo.getRepositorySettings()).getListRemoteFolderItems(); // 2
When I check the REST API of Artifactory, there's only a single related property, so it's a bit confusing to have two ways of accessing it.
More importantly, it seems that the two properties work a differently:
- When I read a remote repository from Artifactory, both properties are set according to the value on the server.
- When I write the repository, it ignores the property on the
RemoteRepositoryobject and uses the value defined for theRepositorySettingsobject.
Which of these properties should be used? Is it ok in all cases to just use the property in the RepositorySettings object and simply ignore the property on the RemoteRepository?
If so, would it be possible to change artifactory-client-java and remove the unnecessary one?
- 主要言語
- Java
- スター
- 331
- フォーク
- 164
- 平均マージ
- 20時間 9分
- マージ済み PR(30日)
- 1
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jfrog/artifactory-client-java のほかの issue
-
Timeout unit not specified再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
jfrog/artifactory-client-java#450 · コメント 2 件 ·
-
question
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
jfrog/artifactory-client-java#375 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
jfrog/artifactory-client-java#448 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
jfrog/artifactory-client-java#447 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
jfrog/artifactory-client-java#445 ·
jfrog/artifactory-client-java の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 半日 初心者へのやさしさ 66/100
apache/fineract-consumer-facing#175 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] 订单:会员凭订单号即可取消其他会员的待付款订单(取消接口不校验订单归属)対応中かも @dadiyang が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
macrozheng/mall#1016 ·
-
[Bug] The producer summary counts an unreported client version as a second version and warns about a version mix対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
apache/rocketmq-dashboard#6110 ·
メンテナーはふだん 4 日以内に返信
-
Feature:Resolution
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
intellij-elixir/intellij-elixir#4396 ·
メンテナーはふだん 1 日以内に返信
-
Python 3.15 support対応中かも @amnesiaof が今日担当しました。 オープンL: python L: python:uv
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dependabot/dependabot-core#16524 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信