silverwind
b49dd8e32f
update golangci-lint to v2.7.0 ( #36079 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
- Update and autofix most issues
- Corrected variable names to `cutOk`
- Impossible condition in `services/migrations/onedev_test.go` removed
- `modules/setting/config_env.go:128:3` looks like a false-positive,
added nolint
2025-12-04 09:06:44 +00:00
Lunny Xiao
69f5ee970c
Move some functions to gitrepo package ( #35543 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
Refactor Git command functions to use WithXXX methods instead of
exposing RunOpts.
This change simplifies reuse across gitrepo and improves consistency,
encapsulation, and maintainability of command options.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-10-07 17:06:51 +08:00
Lunny Xiao
9332ff291b
Move git command to git/gitcmd ( #35483 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
The name cmd is already used in many places and may cause conflicts, so
I chose `gitcmd` instead to minimize potential naming conflicts.
2025-09-15 23:33:12 -07:00
luzpaz
688abac5ca
Fix various typos in codebase ( #35480 )
2025-09-13 10:34:43 -04:00
wxiaoguang
60246730b5
Remove wrong "git.DefaultContext" ( #35364 )
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
2025-08-27 16:31:21 +00:00
silverwind
1f35435b81
Run gopls modernize on codebase ( #34751 )
...
Recent modernize fixes:
https://github.com/golang/tools/commits/master/gopls/internal/analysis/modernize
2025-06-18 01:48:09 +00:00
Lunny Xiao
688da55f54
Split GetLatestCommitStatus as two functions ( #34535 )
...
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-docker-rootful (push) Has been cancelled
release-nightly / nightly-docker-rootless (push) Has been cancelled
cron-translations / crowdin-pull (push) Has been cancelled
Extract from #34531 . This will reduce unnecessary count operation in
databases.
---------
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-05-26 19:00:22 +00:00
TheFox0x7
ae3a18e01a
Remove context from git struct ( #33793 )
...
Argument is moved from struct init in command run, which lets us remove
context from struct.
2025-03-04 11:56:11 -08:00
TheFox0x7
cc1fdc84ca
Use test context in tests and new loop system in benchmarks ( #33648 )
...
Replace all contexts in tests with go1.24 t.Context()
---------
Co-authored-by: Giteabot <teabot@gitea.io >
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com >
2025-02-20 09:57:40 +00:00
ericLemanissier
40faa6dc78
git graph: don't show detached commits ( #33645 )
...
Current git graph is not usable for mirrors of repos having a lot of
PRs, as can be seen at
https://demo.gitea.com/ericLemanissier/conan-center-index/graph

Manually running `git log --graph --date-order --all` on such a repo
indeed shows:
```
* commit c4a34bd39d7977c8630177c5f88507000ea3e943
|\ Merge: a4bbd3ad6b 35a102c77c
| | Author: toge <toge.mail@gmail.com >
| | Date: Wed Feb 19 08:36:41 2025 +0000
| |
| | Merge 35a102c77cbc38d84baca0ca63466fb410336ea8 into a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98
| |
| * commit 35a102c77cbc38d84baca0ca63466fb410336ea8
| | Author: toge <toge.mail@gmail.com >
| | Date: Wed Feb 19 17:36:35 2025 +0900
| |
| | update 4.4.2
| |
| | * commit 5d610f4fd3c0428731e402a2f618fad9ce055875
| |/| Merge: a4bbd3ad6b fe916fb70a
|/| | Author: Antony Peacock <ant.peacock@gmail.com >
| | | Date: Wed Feb 19 08:31:30 2025 +0000
| | |
| | | Merge fe916fb70a8bf49503cce70a5c7124bcc4314ddc into a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98
| | |
| | * commit fe916fb70a8bf49503cce70a5c7124bcc4314ddc
| | | Author: Antony Peacock <ant.peacock@gmail.com >
| | | Date: Wed Feb 19 08:31:18 2025 +0000
| | |
| | | Remove parquet cmakelist patch
| | |
| | | * commit 9f6d2759d650ec3c86d01bb940e829e7e14220c2
| |_|/| Merge: a4bbd3ad6b f0963429b0
|/| | | Author: Thomas Sedlmair <thomas.sedlmair@googlemail.com >
| | | | Date: Wed Feb 19 08:03:08 2025 +0100
| | | |
| | | | Merge f0963429b0952499da0da7e559f8d53387097307 into a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98
| | | |
| | | * commit f0963429b0952499da0da7e559f8d53387097307
| |_|/ Author: Thomas Sedlmair <thomas.sedlmair@googlemail.com >
|/| | Date: Wed Feb 19 08:01:43 2025 +0100
| | |
| | | added cwt-cucumber 2.5
| | |
```
On the other hand, running `git log --graph --date-order --branches
--tags` returns the expected:
```
* commit a4bbd3ad6bb5a0f8e5117a897d8c55941f533d98 (HEAD -> master)
| Author: Dan <mstr.danila@gmail.com >
| Date: Fri Feb 14 18:46:11 2025 +0200
|
| grpc: add version 1.69.0 (#26446 )
|
| * grpc: add version 1.69.0
|
| * add cmake tool requires
|
| ---------
|
| Co-authored-by: Luis Caro Campos <3535649+jcar87@users.noreply.github.com >
|
* commit a7868807cb2e21206ebf95278cb588f29a3e2205
| Author: Guillaume Egles <gegles@users.noreply.github.com >
| Date: Thu Feb 13 05:44:35 2025 -0800
|
| openssl: add versions `3.0.16`, `3.1.8`, `3.2.4`, `3.3.3`, `3.4.1`, stop publishing revisions for version `3.0.15` (#26578 )
|
* commit 86057d3e63ac71e2fe48c07bb301f2d54187044d
| Author: Luis Caro Campos <3535649+jcar87@users.noreply.github.com >
| Date: Thu Feb 13 13:34:41 2025 +0000
|
| android-ndk: dont set LD and AS variables (#26581 )
|
| * android-ndk: dont set LD and AS variables
|
| * android-ndk: refactor test package
|
* commit 123e382fafd2f5e811e10faac02efc275c45ec2a
| Author: Nikita <root.kidik@gmail.com >
| Date: Thu Feb 13 12:29:39 2025 +0300
|
| libffi: fix conditionals when building on Windows (#26500 )
|
| * fix: add missing or `clang`
|
| * fix: libffi - always require as tool `automake`
```
2025-02-19 10:35:08 -08:00
Lunny Xiao
58c124cc4f
Move commits signature and verify functions to service layers ( #33605 )
...
No logic change, just move functions.
2025-02-16 12:24:07 +00:00
Lunny Xiao
466cc725bc
Move gitgraph from modules to services layer ( #33527 )
...
Just move, no code change.
2025-02-07 03:05:25 +00:00