From 9120e55fd5ad9f6456a6721c2b8b4ba346f35e4f Mon Sep 17 00:00:00 2001 From: Tracy Kuhrt Date: Mon, 6 Nov 2023 11:05:30 -0700 Subject: [PATCH 1/2] Archive Lab No commits since November 2022 Signed-off-by: Tracy Kuhrt --- .github/settings.yml | 17 +++++++++++++++++ README.md | 4 ++++ 2 files changed, 21 insertions(+) create mode 100644 .github/settings.yml diff --git a/.github/settings.yml b/.github/settings.yml new file mode 100644 index 0000000..f132bf4 --- /dev/null +++ b/.github/settings.yml @@ -0,0 +1,17 @@ +# +# SPDX-License-Identifier: Apache-2.0 +# + +repository: + name: minbft + description: Implementation of MinBFT consensus protocol. + default_branch: main + has_downloads: false + has_issues: true + has_projects: false + has_wiki: false + archived: true + private: false + allow_squash_merge: true + allow_merge_commit: false + allow_rebase_merge: true \ No newline at end of file diff --git a/README.md b/README.md index 92d61dd..1e902e7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +![Status Badge](https://img.shields.io/badge/Status-archived-red) + +**NOTE:** This lab has been archived and is no longer being maintained. + [![GitHub Actions](https://github.com/hyperledger-labs/minbft/workflows/Continuous%20integration/badge.svg)](https://github.com/hyperledger-labs/minbft/actions) [![GoDoc](https://godoc.org/github.com/hyperledger-labs/minbft?status.svg)](https://godoc.org/github.com/hyperledger-labs/minbft) [![Go Report Card](https://goreportcard.com/badge/github.com/hyperledger-labs/minbft)](https://goreportcard.com/report/github.com/hyperledger-labs/minbft) From 3a82a4f6098e1353ca0e464c10a94bee693dce63 Mon Sep 17 00:00:00 2001 From: Naoya Horiguchi Date: Tue, 7 Nov 2023 09:58:06 +0900 Subject: [PATCH 2/2] Update .golangci.yml to disable linter This change is to forcibly disable some linters to ignore warnings showw in the recent GitHub Action results. This is a bad practice generally speaking, but we do this just to merge "Archive Lab" patch. Drop some os/Go comination for GitHub Action jobs. So if someone want to unarchive this project, they first have to reenable linters and resolve the warnings. Signed-off-by: Naoya Horiguchi --- .github/workflows/continuous-integration.yml | 4 ++-- .golangci.yml | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index d16eb74..5889c4f 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -10,8 +10,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-18.04, ubuntu-20.04] - go: [1.13, 1.15, 1.16] + os: [ubuntu-20.04] + go: [1.16] steps: - uses: actions/setup-go@v2 with: diff --git a/.golangci.yml b/.golangci.yml index 7f7f228..1ace67f 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -3,12 +3,13 @@ run: skip-dirs: - testing linters: + enable-all: false enable: - gocyclo - - revive +# - revive - dupl - unconvert - goconst - gosec - - gofmt +# - gofmt - misspell