public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/hugo/files/
Date: Wed, 23 Nov 2022 01:45:16 +0000 (UTC)	[thread overview]
Message-ID: <1669167740.d0f95cdf6711baa04e8a9f1e2b4e56d266e962ef.sam@gentoo> (raw)

commit:     d0f95cdf6711baa04e8a9f1e2b4e56d266e962ef
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Mon Nov 21 18:19:57 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 23 01:42:20 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f95cdf

www-apps/hugo: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/28374
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../hugo/files/hugo-0.96.0-skip-some-tests.patch   | 120 ---------------------
 1 file changed, 120 deletions(-)

diff --git a/www-apps/hugo/files/hugo-0.96.0-skip-some-tests.patch b/www-apps/hugo/files/hugo-0.96.0-skip-some-tests.patch
deleted file mode 100644
index 6f09d1c39660..000000000000
--- a/www-apps/hugo/files/hugo-0.96.0-skip-some-tests.patch
+++ /dev/null
@@ -1,120 +0,0 @@
-From fb829c60a028067b940aaf268362017a73d40e84 Mon Sep 17 00:00:00 2001
-From: tastytea <tastytea@tastytea.de>
-Date: Tue, 29 Mar 2022 22:28:13 +0200
-Subject: [PATCH] Skip some tests
-
-Reasons:
-  - Needs to be in a git repo
-  - Needs special test dependencies
-  - Needs dart-sass-embedded
----
- hugolib/page_test.go                                          | 1 +
- modules/client_test.go                                        | 4 ++++
- releaser/git_test.go                                          | 3 +++
- .../resource_transformers/tocss/dartsass/integration_test.go  | 1 +
- .../resource_transformers/tocss/scss/integration_test.go      | 1 +
- 5 files changed, 10 insertions(+)
-
-diff --git a/hugolib/page_test.go b/hugolib/page_test.go
-index d29a4f8..7cdff73 100644
---- a/hugolib/page_test.go
-+++ b/hugolib/page_test.go
-@@ -1025,6 +1025,7 @@ func TestPageWithDate(t *testing.T) {
- }
- 
- func TestPageWithLastmodFromGitInfo(t *testing.T) {
-+	t.Skip("We are not in a git repo")
- 	if htesting.IsCI() {
- 		// TODO(bep) figure out why this fails on GitHub actions.
- 		t.Skip("Skip GitInfo test on CI")
-diff --git a/modules/client_test.go b/modules/client_test.go
-index 75e3c2b..235d6ed 100644
---- a/modules/client_test.go
-+++ b/modules/client_test.go
-@@ -68,6 +68,7 @@ github.com/gohugoio/hugoTestModules1_darwin/modh2_2@v1.4.0 github.com/gohugoio/h
- 	}
- 
- 	c.Run("All", func(c *qt.C) {
-+		c.Skip("Test dependencies not available")
- 		client, clean := newClient(c, func(cfg *ClientConfig) {
- 			cfg.ModuleConfig = DefaultModuleConfig
- 		}, defaultImport)
-@@ -107,6 +108,7 @@ project github.com/gohugoio/hugoTestModules1_darwin/modh2_2_2@v1.3.0+vendor
- 	})
- 
- 	c.Run("IgnoreVendor", func(c *qt.C) {
-+		c.Skip("Test dependencies not available")
- 		client, clean := newClient(
- 			c, func(cfg *ClientConfig) {
- 				cfg.ModuleConfig = DefaultModuleConfig
-@@ -125,6 +127,7 @@ project github.com/gohugoio/hugoTestModules1_darwin/modh2_2_2@v1.3.0+vendor
- 	})
- 
- 	c.Run("NoVendor", func(c *qt.C) {
-+		c.Skip("Test dependencies not available")
- 		mcfg := DefaultModuleConfig
- 		mcfg.NoVendor = "**"
- 		client, clean := newClient(
-@@ -144,6 +147,7 @@ project github.com/gohugoio/hugoTestModules1_darwin/modh2_2_2@v1.3.0+vendor
- 	})
- 
- 	c.Run("VendorClosest", func(c *qt.C) {
-+		c.Skip("Test dependencies not available")
- 		mcfg := DefaultModuleConfig
- 		mcfg.VendorClosest = true
- 
-diff --git a/releaser/git_test.go b/releaser/git_test.go
-index ff77eb8..1f40a6f 100644
---- a/releaser/git_test.go
-+++ b/releaser/git_test.go
-@@ -20,6 +20,7 @@ import (
- )
- 
- func TestGitInfos(t *testing.T) {
-+	t.Skip("We are not in a git repo")
- 	c := qt.New(t)
- 	skipIfCI(t)
- 	infos, err := getGitInfos("v0.20", "hugo", "", false)
-@@ -58,6 +59,7 @@ Streets #20.
- }
- 
- func TestGitVersionTagBefore(t *testing.T) {
-+	t.Skip("We are not in a git repo")
- 	skipIfCI(t)
- 	c := qt.New(t)
- 	v1, err := gitVersionTagBefore("v0.18")
-@@ -66,6 +68,7 @@ func TestGitVersionTagBefore(t *testing.T) {
- }
- 
- func TestTagExists(t *testing.T) {
-+	t.Skip("We are not in a git repo")
- 	skipIfCI(t)
- 	c := qt.New(t)
- 	b1, err := tagExists("v0.18")
-diff --git a/resources/resource_transformers/tocss/dartsass/integration_test.go b/resources/resource_transformers/tocss/dartsass/integration_test.go
-index a1ac1d5..fcd8bf5 100644
---- a/resources/resource_transformers/tocss/dartsass/integration_test.go
-+++ b/resources/resource_transformers/tocss/dartsass/integration_test.go
-@@ -106,6 +106,7 @@ T1: {{ $r.Content | safeHTML }}
- }
- 
- func TestTransformThemeOverrides(t *testing.T) {
-+	t.Skip("Needs dart-sass-embedded")
- 	if !dartsass.Supports() {
- 		t.Skip()
- 	}
-diff --git a/resources/resource_transformers/tocss/scss/integration_test.go b/resources/resource_transformers/tocss/scss/integration_test.go
-index cbc7e19..f2a6034 100644
---- a/resources/resource_transformers/tocss/scss/integration_test.go
-+++ b/resources/resource_transformers/tocss/scss/integration_test.go
-@@ -111,6 +111,7 @@ moo {
- }
- 
- func TestTransformThemeOverrides(t *testing.T) {
-+	t.Skip("Needs dart-sass-embedded")
- 	if !scss.Supports() {
- 		t.Skip()
- 	}
--- 
-2.35.1
-


             reply	other threads:[~2022-11-23  1:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-23  1:45 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-08 19:32 [gentoo-commits] repo/gentoo:master commit in: www-apps/hugo/files/ Joonas Niilola
2024-02-17 14:35 David Seifert
2024-06-22 18:54 Conrad Kostecki

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=1669167740.d0f95cdf6711baa04e8a9f1e2b4e56d266e962ef.sam@gentoo \
    --to=sam@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