Commit Graph

60 Commits

Author SHA1 Message Date
github-actions[bot] 412941cf4b chore: regenerate swagger artifacts for 1.21.4 2026-05-08 03:23:09 +00:00
github-actions[bot] 8bead92c48 根据上游 Gitea Tag v1.21.4 初始化 release/1.21.4 2026-05-08 03:21:50 +00:00
shile 5d68423468 Revert "更新工作流提交身份来源。"
This reverts commit 1465d5f2cf.
2026-05-08 02:27:39 +08:00
shile 1465d5f2cf 更新工作流提交身份来源。
改为从仓库 secrets 读取 GIT_AUTHOR_NAME 和 GIT_AUTHOR_EMAIL,避免继续使用 github-actions[bot] 作为提交署名。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 02:22:42 +08:00
shile ccbedac9e1 补充 release 分支 swagger 模板兼容处理。
兼容 Gitea 1.21.x 使用的 Safe 管道占位符,避免初始化 release 分支时因未替换的 swagger 模板变量生成失败。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-08 02:06:40 +08:00
shile 6d52544411 修复 release 分支 swagger 模板变量替换
兼容上游 swagger 模板的新旧占位符格式,并在仍有未替换变量时显式失败,避免分支初始化流程生成无效 JSON。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-27 13:07:11 +08:00
shile aba551c279 修正 release tag 指向并限制上游同步最低版本
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-24 13:07:01 +08:00
shile 35983f18e7 更新工作流以包含 docs 和 src 目录的变更 2026-04-24 09:24:18 +08:00
shile eceaf3c419 显式创建并校验 release tag
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 18:09:24 +08:00
shile 36ae7ac90c 显式触发 release 分支的 swagger 构建流程
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 17:35:40 +08:00
shile 04cd56f6c3 渲染上游 swagger 模板后再生成分支文件
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 17:28:18 +08:00
shile 8a7d5aded9 修正上游分支生成与 release 触发流程
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 17:06:22 +08:00
shile d445a6dabb 限制上游同步工作流仅在 master 执行
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 16:14:02 +08:00
shile f355c8d65b 拆分上游 Tag 发现与分支创建流程
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-23 15:49:04 +08:00
shile be5f1eb787 同步 release/1.26.0 的构建配置与版本信息
将 release/1.26.0 分支中的 workflow、README 和 pom 配置合并到 master,保持发布流程与版本说明一致。
2026-04-23 14:06:18 +08:00
shile aff0fdd525 替换项目中的 zeripath 标识 2026-04-22 18:41:56 +08:00
shile 7b9daa9ee8 调整 GitHub Actions 的构建与发布流程 2026-04-22 18:26:26 +08:00
shile 17b1280153 修复 GitHub Actions 的 Javadoc 构建失败 2026-04-22 18:22:06 +08:00
shile c647c8cab0 配置 GitHub 自动发布到 Sonatype Central 2026-04-22 18:17:03 +08:00
shile 059f86cfc1 update generated api docs and models
Refresh the generated client sources, documentation, and test layout to match the latest API schema changes.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 17:48:10 +08:00
L) 1347f7d472
update swagger.v1.json.
更新到 1.21.1

Signed-off-by: L) <13051960278@163.com>
2025-05-08 02:28:15 +00:00
Andrew Thornton bf292a5f17
Merge remote-tracking branch 'origin/master' 2023-01-12 20:46:05 +00:00
Andrew Thornton 9306f0ea29
[maven-release-plugin] prepare for next development iteration 2023-01-12 20:41:43 +00:00
Andrew Thornton 0bcd3a4e73
[maven-release-plugin] prepare release java-gitea-api-1.18.0 2023-01-12 20:41:43 +00:00
Andrew Thornton 146142bdb3
prepare for 1.18.0
Signed-off-by: Andrew Thornton <art27@cantab.net>
2023-01-12 20:40:59 +00:00
Davor Hrg 8d757d6e8a
fix build version 16->17 (#7) 2022-07-24 20:30:59 +01:00
Andrew Thornton a9f17bcba2
Add 1.17.0-SNAPSHOT swagger
Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-05-21 13:46:21 +01:00
Andrew Thornton bbf6ba6377
[maven-release-plugin] prepare for next development iteration 2022-05-21 13:40:17 +01:00
Andrew Thornton f590b58458
[maven-release-plugin] prepare release java-gitea-api-1.16.8 2022-05-21 13:40:17 +01:00
Andrew Thornton 7ff9f492db
prepare for release of 1.16.8
Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-05-21 13:39:56 +01:00
dependabot[bot] 313b7ee872
Bump gson from 2.8.6 to 2.8.9 (#6)
Bumps [gson](https://github.com/google/gson) from 2.8.6 to 2.8.9.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/gson/compare/gson-parent-2.8.6...gson-parent-2.8.9)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-21 13:28:38 +01:00
Steven fd94ccfbfb
Update gson dependencies (#5)
* Bump gson-fire to 1.8.5
* Bump gson-version to 2.8.6

Signed-off-by: Steven Kriegler <61625851+justusbunsi@users.noreply.github.com>
2021-08-22 20:51:39 +01:00
Andrew Thornton 86e509e656
Update to 1.16.0-SNAPSHOT from v1.16.0-dev-116-g274aeb3a9
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-08-18 18:55:22 +01:00
Andrew Thornton 8e0c6a3520
prepare for 1.15.0-rc2
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-07-29 19:38:42 +01:00
Andrew Thornton e54f3aa174
move to v1.15.x
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-01 16:18:10 +01:00
Andrew Thornton dcfe46ca63
Fix token swagger
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-05-01 15:51:03 +01:00
Andrew Thornton 204c6683cd
Update readme etc.
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-09 11:37:32 +00:00
Andrew Thornton f741989974
update version 1.14.0-SNAPSHOT
Signed-off-by: Andrew Thornton <art27@cantab.net>
2021-03-09 10:23:18 +00:00
Marat Radchenko ac8dcb35ed
Update API from gitea.com (#3) 2021-03-08 22:48:13 +00:00
dependabot[bot] 3bef988b4d
Bump junit from 4.12 to 4.13.1 (#2)
Bumps [junit](https://github.com/junit-team/junit4) from 4.12 to 4.13.1.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.12.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.12...r4.13.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 23:02:16 +01:00
Marat Radchenko c59420e9a8 Update API (#1)
* Update to Gitea 1.10.0+dev-427-gf9aba9ba0

* Add swagger-codegen-maven-plugin to automate code generation

* Regenerate swagger classes

* Fix tests compilation caused by API changes

* Drop Java 7 support

It is EOL and not supported on Travis anymore. Intead, test against Java 11

* Fix Gradle script using nonexistent 'configurations.compileClasspath'

* Update Gradle to 5.6.2 to add support for Java 11

* Add missing javax.annotation-api to build.gradle to fix compilation on Java 11
2019-10-15 11:05:02 +01:00
Andrew Thornton 59b3d0f054
Update to 225c489 2018-11-02 18:36:15 +00:00
Andrew Thornton 2d832e232d
More fixes of the gitea swagger api
See https://github.com/go-gitea/gitea/pull/4845
2018-10-20 18:39:54 +01:00
Andrew Thornton 4200ed2df5
Regenerate for current gitea master following release of gitea v1.6 2018-10-19 20:29:32 +01:00
Andrew Thornton 081a6fe85f
[maven-release-plugin] prepare for next development iteration 2018-10-19 18:51:22 +01:00
Andrew Thornton c73cc643ab
[maven-release-plugin] prepare release java-gitea-api-1.6.0 2018-10-19 18:51:21 +01:00
Andrew Thornton a99fa0c149
Fix create token api
Signed-off-by: Andrew Thornton <art27@cantab.net>
2018-10-03 21:40:30 +01:00
Andrew Thornton 77a4e0bcf6
Regenerate API for Gitea - using current master (what will become v1.6) 2018-09-07 10:54:22 +01:00
Andrew Thornton b6114323d3
[maven-release-plugin] prepare for next development iteration 2018-09-05 20:54:26 +01:00
Andrew Thornton 181c6a2a80
[maven-release-plugin] prepare release java-gitea-api-1.0.0 2018-09-05 20:54:05 +01:00