From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/gitea/files/
Date: Sun, 20 Sep 2020 14:41:19 +0000 (UTC) [thread overview]
Message-ID: <1600612699.ea944925e61ade3eeef0017f87ae3b9841362812.conikost@gentoo> (raw)
commit: ea944925e61ade3eeef0017f87ae3b9841362812
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
AuthorDate: Sat Sep 12 16:24:47 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 14:38:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea944925
www-apps/gitea: remove unused patch
Closes: https://github.com/gentoo/gentoo/pull/17507
Package-Manager: Portage-3.0.6, Repoman-3.0.1
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
www-apps/gitea/files/gitea-logflags.patch | 139 ------------------------------
1 file changed, 139 deletions(-)
diff --git a/www-apps/gitea/files/gitea-logflags.patch b/www-apps/gitea/files/gitea-logflags.patch
deleted file mode 100644
index bbe6e5501c8..00000000000
--- a/www-apps/gitea/files/gitea-logflags.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-
-#Patch to make gitea logging less verbose.
-
-diff --git a/modules/log/flags.go b/modules/log/flags.go
-index 992fc62dd..5578a1b6b 100644
---- a/modules/log/flags.go
-+++ b/modules/log/flags.go
-@@ -31,7 +31,7 @@ const (
- Lmedfile = Lshortfile | Llongfile
-
- // LstdFlags is the initial value for the standard logger
-- LstdFlags = Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial
-+ LstdFlags = Ldate | Ltime | Llevelinitial
- )
-
- var flagFromString = map[string]int{
-
-
-#Just patching the tests to keep working with the patch above (avoid using LstdFlags)
-
-diff --git a/modules/log/conn_test.go b/modules/log/conn_test.go
-index cc3d758fa..295bee37f 100644
---- a/modules/log/conn_test.go
-+++ b/modules/log/conn_test.go
-@@ -40,7 +40,7 @@ func TestConnLogger(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
-
- logger := NewConn()
- connLogger := logger.(*ConnLogger)
-@@ -112,7 +112,7 @@ func TestConnLoggerCloseBeforeSend(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
-
- logger := NewConn()
-
-@@ -126,7 +126,7 @@ func TestConnLoggerFailConnect(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
-
- logger := NewConn()
-
-@@ -169,7 +169,7 @@ func TestConnLoggerClose(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
-
- logger := NewConn()
- connLogger := logger.(*ConnLogger)
-diff --git a/modules/log/console_test.go b/modules/log/console_test.go
-index a028b5b87..e4fec760a 100644
---- a/modules/log/console_test.go
-+++ b/modules/log/console_test.go
-@@ -33,7 +33,7 @@ func TestConsoleLoggerMinimalConfig(t *testing.T) {
- },
- }
- prefix := ""
-- flags := LstdFlags
-+ flags := LstdFlags
-
- cw := NewConsoleLogger()
- realCW := cw.(*ConsoleLogger)
-@@ -64,7 +64,7 @@ func TestConsoleLogger(t *testing.T) {
- }
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
-
- cw := NewConsoleLogger()
- realCW := cw.(*ConsoleLogger)
-diff --git a/modules/log/file_test.go b/modules/log/file_test.go
-index 38279315a..dc8d291ed 100644
---- a/modules/log/file_test.go
-+++ b/modules/log/file_test.go
-@@ -24,7 +24,7 @@ func TestFileLoggerFails(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
- //filename := filepath.Join(tmpDir, "test.log")
-
- fileLogger := NewFileLogger()
-@@ -52,7 +52,7 @@ func TestFileLogger(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
- filename := filepath.Join(tmpDir, "test.log")
-
- fileLogger := NewFileLogger()
-@@ -155,7 +155,7 @@ func TestCompressFileLogger(t *testing.T) {
-
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
- filename := filepath.Join(tmpDir, "test.log")
-
- fileLogger := NewFileLogger()
-diff --git a/modules/log/smtp_test.go b/modules/log/smtp_test.go
-index 216d55521..15075dd41 100644
---- a/modules/log/smtp_test.go
-+++ b/modules/log/smtp_test.go
-@@ -17,7 +17,7 @@ import (
- func TestSMTPLogger(t *testing.T) {
- prefix := "TestPrefix "
- level := INFO
-- flags := LstdFlags | LUTC | Lfuncname
-+ flags := Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC | Lfuncname
- username := "testuser"
- password := "testpassword"
- host := "testhost"
-diff --git a/modules/log/writer_test.go b/modules/log/writer_test.go
-index 886dd58fb..df2f6e698 100644
---- a/modules/log/writer_test.go
-+++ b/modules/log/writer_test.go
-@@ -41,7 +41,7 @@ func TestBaseLogger(t *testing.T) {
- b := WriterLogger{
- out: c,
- Level: INFO,
-- Flags: LstdFlags | LUTC,
-+ Flags: Ldate | Ltime | Lmedfile | Lshortfuncname | Llevelinitial | LUTC,
- Prefix: prefix,
- }
- location, _ := time.LoadLocation("EST")
next reply other threads:[~2020-09-20 14:41 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-20 14:41 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-01-13 6:10 [gentoo-commits] repo/gentoo:master commit in: www-apps/gitea/files/ Joonas Niilola
2019-04-25 3:36 Aaron Bauman
2019-02-09 20:12 Aaron Bauman
2016-12-25 21:14 Manuel Rüger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1600612699.ea944925e61ade3eeef0017f87ae3b9841362812.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox