Commit Graph
301 Commits
Author SHA1 Message Date
Jason Song 335873e1d8 chore: remove exp 2023-01-10 10:37:20 +08:00
Jason Song 3c2bffd818 Merge branch 'main' into feature/bots 2023-01-09 14:08:06 +08:00
Jason SongandGitHub 9e94346529 Remove satori/go.uuid (#22375)
`github.com/satori/go.uuid` is no longer used, so the `replace` is not
needed now
2023-01-09 01:00:10 -05:00
Jason SongandGitHub 53afbcecad Merge branch 'main' into feature/bots 2023-01-03 09:43:23 +08:00
Lunny XiaoandGitHub 2bbf9e7302 Upgrade go-chi to v5.0.8 (#22304) 2023-01-01 11:23:26 +01:00
Jason Song d183b32aa8 Merge branch 'main' into feature/bots 2022-12-22 12:00:41 +08:00
zeripathandGitHub 8e17fb5c06 Update bleve and zapx to fix unaligned atomic (#22031)
There is an unaligned atomic field in zapx 15.3.5 which should have been
fixed in a subsequent patch

This bug causes issues on 32bit builds.

Update bleve and zapx to account for this.

Fix #21957

Signed-off-by: Andrew Thornton <art27@cantab.net>
2022-12-21 19:08:26 -06:00
Jason SongandGitHub ab98c3ff43 Merge branch 'main' into feature/bots 2022-12-19 18:26:28 +08:00
f3370eeaee verify nodeinfo response by schema (#22137)
... using
[github.com/xeipuuv/gojsonschema](https://github.com/xeipuuv/gojsonschema)

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2022-12-17 01:22:34 -05:00
Jason Song 4f7597b74d chore: mod tidy 2022-12-12 19:01:40 +08:00
Jason SongandGitHub dfa1b6168d Merge branch 'main' into feature/bots 2022-12-12 10:46:13 +08:00
KN4CK3RandGitHub 0e2d04601a Update xorm (#22094) 2022-12-10 18:53:32 -05:00
Jason Song f6f29d4cbf chore: upgrade act to v0.234.0 2022-12-06 16:23:18 +08:00
Jason Song f2c7bbb0bc refactor: rename to actions-proto-go 2022-12-06 13:44:23 +08:00
Jason SongandGitHub 76869e4b76 Merge branch 'main' into feature/bots 2022-12-02 22:17:49 +08:00
f59a74852b Update gitea-vet to check FSFE REUSE (#22004)
Related to:
- #21840
- https://gitea.com/gitea/gitea-vet/pulls/21

What it looks like when it's working:
https://drone.gitea.io/go-gitea/gitea/64040/1/5

All available SPDX license identifiers: [SPDX License
List](https://spdx.org/licenses/).

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2022-12-02 22:14:57 +08:00
Jason SongandGitHub 9bd773eb85 Merge branch 'main' into feature/bots 2022-12-02 09:42:42 +08:00
silverwindandGitHub f0bd219a5e Update chroma to v2.4.0 (#22000)
Did a few cursory tests, seems to work well.
2022-12-01 16:44:38 -05:00
Jason Song 0c1d568e1d chore: fix mods 2022-11-28 15:08:02 +08:00
Jason Song 378e1f8d01 chore: fix problems caused by rebase 2022-11-25 17:58:34 +08:00
Jason Song 48f5c152b9 chore: mod tidy 2022-11-25 17:48:48 +08:00
Jason Song 96d9b729ee chore: upgrade act 2022-11-25 17:48:48 +08:00
Jason Song d17a0b13f1 chore: use bots-proto-go v0.1.0 2022-11-25 17:48:48 +08:00
Jason Song ea1bc1b662 chore: replace with code.gitea.io/bots-proto-go 2022-11-25 17:48:48 +08:00
Bo-Yi.WuandJason Song 5d849cea33 chore(runner): remove update runner status
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:48 +08:00
Jason Song 9c6476754d chore: shouldn't import act_runner 2022-11-25 17:48:47 +08:00
Jason Song a1ddfb8200 feat: use new FullSteps 2022-11-25 17:48:47 +08:00
Bo-Yi.WuandJason Song a20b8aa909 chore(runner): return cancel evnet after upload the log
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:47 +08:00
Jason Song 465c348922 fix: show blocked jobs 2022-11-25 17:48:47 +08:00
Jason Song feab4b1601 feat: update task status 2022-11-25 17:48:45 +08:00
Bo-Yi.WuandJason Song 4c2d976629 chore(runner): get runner by uuid from header
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:45 +08:00
Bo-Yi WuandJason Song e68295fb7c chore(dep): upgrade proto-go 2022-11-25 17:48:45 +08:00
Jason Song 6df53243aa feat: create task steps 2022-11-25 17:48:45 +08:00
Bo-Yi WuandJason Song 699f5c5a06 chore(runner): add soft deleted field 2022-11-25 17:48:45 +08:00
Bo-Yi.WuandJason Song 6f18f76577 chore(runner): update runner status using proto define
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.WuandJason Song 3daaf92c64 chore(deps): update proto to latest version
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.WuandJason Song 4dd135580f chore(runner): update to latest proto format.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Jason Song f355188e12 feat: parse workflows 2022-11-25 17:48:44 +08:00
Jason Song 91bea969d4 chore: replace act 2022-11-25 17:48:44 +08:00
Jason Song 5093d6b48e chore: fix mods 2022-11-25 17:48:44 +08:00
Bo-Yi.WuandJason Song fb738c4192 chore(runner): support fetch detail stage data
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.WuandJason Song eac6425b2f chore(gRPC): support update stage and step method.
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.WuandJason Song 68d416bd1b chore(gRPC): initial request method
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
Bo-Yi.WuandJason Song e05f224d19 chore(runner): support register
Signed-off-by: Bo-Yi.Wu <appleboy.tw@gmail.com>
2022-11-25 17:48:44 +08:00
GiteaBotandJason Song 257ba77e8d chore(proto): update import path
Signed-off-by: GiteaBot <teabot@gitea.io>
2022-11-25 17:48:44 +08:00
GustedandGitHub bea25d77ce Upgrade golang.org/x/crypto (#21792)
- Update the crypto dependency to include
https://github.com/golang/crypto/commit/6fad3dfc18918c2ac9c112e46b32473bd2e5e2f9
- Resolves #17798

Executed: `go get
golang.org/x/crypto@6fad3dfc18918c2ac9c112e46b32473bd2e5e2f9 && rm
go.sum && go mod tidy`
2022-11-12 22:14:35 -06:00
Lunny XiaoandGitHub 4eeea7b30e Update binding to fix bugs (#21556)
Fix #19698
2022-10-23 13:50:48 +03:00
GustedandGitHub 5ba23066ff Bump golang.org/x/text (#21412)
- Update the `golang.org/x/text` dependency, this fixes [a security
issue](https://groups.google.com/g/golang-announce/c/-hjNw559_tE/m/KlGTfid5CAAJ).
2022-10-11 20:01:07 +01:00
Clark BoylanandGitHub f1f911df41 Update to go-enry v2.8.3 (#21360)
This fixes an issue with enry's isVendor() method being too greedy. This
lead to gitea classifying unvendored code as vendored. The impact of
this is fairly minimal, but our Gitea users did notice which led me to
fixing this in go-enry. Some files will be tagged with a vendored flag
in the UI. I think it also impacts the calculation of language
statistics in the repo as vendored files are not incorporated into the
stats.

For more information on the issue see the go-enry bug:
  https://github.com/go-enry/go-enry/issues/135
2022-10-06 21:51:38 +01:00
techknowlogickandGitHub 726afe8a9e Update Golang deps (#21304) 2022-10-01 08:49:30 -05:00