Build tool's plugin options

未關閉
#120 5 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
25/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
java
領域
build-system

研究方向

首先閱讀 issue,並檢視連結的 Maven 外掛程式 KiotaMojo.java 實作。將提議的 Maven 和 Gradle 外掛程式方案與 repository 目前的程式碼產生工作流程進行比較。除了決定這類外掛程式是否屬於這個 repository,或應繼續作為第三方外掛程式之外,這項工作尚未進一步定義。

由索引模型根據 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 小時
30 天內合併 PR
42

環境準備

在 Codespaces 中開啟

在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

microsoft/kiota-java 的其他 Issue

查看 microsoft/kiota-java 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。