aboutsummaryrefslogtreecommitdiff
path: root/pkg/config/config_test.go
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2025-02-06 23:47:51 +0100
committerGabriel A. Giovanini <mail@gabrielgio.me>2025-02-06 23:47:51 +0100
commit30d722da053fb4007b897cb201418b4fed544ace (patch)
tree264bb54efdf7d5d42736436772c4f21951ac19d8 /pkg/config/config_test.go
parente8265117372cf262ce7cb4f6ce3b61f19373aee6 (diff)
downloadcerrado-30d722da053fb4007b897cb201418b4fed544ace.tar.gz
cerrado-30d722da053fb4007b897cb201418b4fed544ace.tar.bz2
cerrado-30d722da053fb4007b897cb201418b4fed544ace.zip
feat: Add option for remove ".git" suffixv0.0.20
Diffstat (limited to 'pkg/config/config_test.go')
-rw-r--r--pkg/config/config_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/config/config_test.go b/pkg/config/config_test.go
index cc58ce9..949238e 100644
--- a/pkg/config/config_test.go
+++ b/pkg/config/config_test.go
@@ -110,6 +110,8 @@ listen-addr unix://var/run/cerrado/cerrado.sock
passphrase $2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq
aes-key 8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w==
syntax-highlight monokailight
+order-by lastcommit-desc
+remove-suffix true
scan "/srv/git" {
public true
@@ -134,6 +136,8 @@ repository /srv/git/cerrado.git {
Passphrase: "$2a$14$VnB/ZcB1DUDkMnosRA6Y7.dj8h5eroslDxTeXlLwfQX/x86mh6WAq",
AESKey: "8XHptZxSWCGs1m7QzztX5zNQ7D9NiQevVX0DaUTNMbDpRwFzoJiB0U7K6O/kqIt01jJVgzBUfiR8ES46ZLLb4w==",
SyntaxHighlight: "monokailight",
+ OrderBy: "lastcommit-desc",
+ RemoveSuffix: true,
Repositories: []*GitRepositoryConfiguration{
{
Name: "linux.git",