Build tool's plugin options

オープン
#120 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
java
領域
build-system

調査の方向性

まず issue を読み、リンクされている Maven プラグイン KiotaMojo.java の実装を確認してください。提案されている Maven および Gradle プラグインのアプローチを、リポジトリの現在のコード生成ワークフローと比較してください。作業の内容は、そのようなプラグインをこのリポジトリに含めるべきか、サードパーティ製のままにすべきかを判断すること以上には、まだ定義されていません。

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

説明

enhancement java

There are several reasoning to be done around "how we expect" users to use Kiota in their projects, among others:

  • generate sources and commit the generated result
  • have some sort of script to automate the code generation

Personally, I do like the approach that considers a codegen tool 100% idempotent and the generated code should be reproducible and not committed in the versioning system (i.e. regenerated all the time, build tools are good at caching the results on dev machines).

Following this(opinionated) philosophy I started automating the code generation wrapping the kiota CLI in a Maven plugin:
https://github.com/andreaTP/kiota-utils/blob/main/plugin/src/main/java/io/apicurio/kiota/KiotaMojo.java

Here I'm asking if you have already considered this aspect and what your take on the subject is.
More specifically, would you accept Maven/Gradle plugins in this repo or you prefer them to be third-party?

主要言語
Java
スター
38
フォーク
37
平均マージ
1日 2時間
マージ済み PR(30日)
42

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

microsoft/kiota-java のほかの issue

microsoft/kiota-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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