Skip to content

Commit

Permalink
Merge branch 'master' of github.com:gnolang/gno into dev/morgan/strconv
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Oct 15, 2024
2 parents 3e2bb80 + d741140 commit 3991f12
Show file tree
Hide file tree
Showing 2,541 changed files with 140,811 additions and 47,170 deletions.
34 changes: 0 additions & 34 deletions .benchmarks/README.md

This file was deleted.

9 changes: 0 additions & 9 deletions .benchmarks/gobenchdata-checks.yml

This file was deleted.

34 changes: 24 additions & 10 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,36 @@ misc/
docker-compose.yml
tests/docker-integration/

# gitignore
*.sw[pon]
cmd/foo.go
unsorted.*
# Copied from .gitignore

# Editor Leftovers
.DS_Store
.vscode
.idea

# Default node data
gnoland-data
genesis.json

# Build leftovers
build

# Legacy .gitignore
data/*
proto/*
testdir/
pkgs/sdk/vm/_testdata
build/*
testdir

# Log + generation leftovers
*.tx
*.log.*
*.log
*.gno.gen.go
*.gno.gen_test.go
.vscode
.idea
*.pb.go
pbbindings.go
*~
.#*
*#

# Test coverage leftovers
cover.out
coverage.out
4 changes: 2 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
*.gno linguist-language=Go
*.pb.go linguist-generated merge=ours -diff
go.sum linguist-generated text
gnovm/stdlibs/native.go linguist-generated
gnovm/tests/stdlibs/native.go linguist-generated
gnovm/stdlibs/generated.go linguist-generated
gnovm/tests/stdlibs/generated.go linguist-generated
103 changes: 81 additions & 22 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,38 +1,97 @@
# CODEOWNERS: https://help.github.com/articles/about-codeowners/

# Primary repo maintainers.
* @gnolang/tech-staff
* @gnolang/tech-staff

# Tendermint2 (Gno version).
tm2/* @gnolang/tech-staff
tm2/pkg @jaekwon @moul
# Tendermint2.
/tm2/ @jaekwon @moul @piux2 @zivkovicmilos
/tm2/pkg/crypto/ @jaekwon @moul @gnolang/security
/tm2/pkg/crypto/keys/client/ @jaekwon @gnolang/security
/tm2/pkg/db/ @ajnavarro
# TODO: add per package exceptions

# ...

# Docs & Content.
docs/ @gnolang/devrels @gnolang/tech-staff
misc/docusaurus/ @gnolang/devrels @gnolang/tech-staff
# TODO: add non-tech people here.

/docs/ @moul
/docs/**.md @gnolang/devrels
/docs/**.gif @gnolang/devrels
/docs/Makefile @gnolang/devrels
/README.md @moul @gnolang/devrels
/**/README.md @gnolang/devrels
/.gitpod.yml @gnolang/devrels

# Gno examples and default contracts.
examples/* @gnolang/tech-staff
# TODO: add people from the community here.

/examples/ @gnolang/tech-staff @gnolang/devrels
/examples/gno.land/p/demo/ @gnolang/tech-staff @gnolang/devrels
/examples/gno.land/p/demo/avl/ @jaekwon
/examples/gno.land/p/demo/bf/ @moul
/examples/gno.land/p/demo/blog/ @gnolang/devrels
/examples/gno.land/p/demo/boardsv2/ @ilgooz @jeronimoalbi @moul
/examples/gno.land/p/demo/cford32/ @thehowl
/examples/gno.land/p/demo/memeland/ @leohhhn
/examples/gno.land/p/demo/seqid/ @thehowl
/examples/gno.land/p/demo/ownable/ @leohhhn
/examples/gno.land/p/demo/pausable/ @leohhhn
/examples/gno.land/p/demo/svg/ @moul
/examples/gno.land/p/demo/tamagotchi/ @moul
/examples/gno.land/p/demo/ui/ @moul
/examples/gno.land/r/demo/ @gnolang/tech-staff @gnolang/devrels
/examples/gno.land/r/demo/art/ @moul
/examples/gno.land/r/demo/boardsv2/ @ilgooz @jeronimoalbi @moul
/examples/gno.land/r/demo/memeland/ @leohhhn
/examples/gno.land/r/demo/tamagotchi/ @moul
/examples/gno.land/r/demo/userbook/ @leohhhn
/examples/gno.land/r/gnoland/ @moul
/examples/gno.land/r/sys/ @moul
/examples/gno.land/r/jaekwon/ @jaekwon
/examples/gno.land/r/manfred/ @moul

# Gno.land.
gno.land/* @gnolang/tech-staff

/gno.land/ @moul @zivkovicmilos
/gno.land/cmd/genesis/ @zivkovicmilos
/gno.land/cmd/gnokey/ @jaekwon @moul @gfanton
/gno.land/cmd/gnoland/ @zivkovicmilos @gnolang/devops
/gno.land/cmd/gnoweb/ @gfanton @thehowl
/gno.land/pkg/gnoclient/ @zivkovicmilos @leohhhn @gfanton
/gno.land/pkg/gnoland/ @zivkovicmilos @gfanton
/gno.land/pkg/keyscli/ @jaekwon @moul @gfanton
/gno.land/pkg/log/ @zivkovicmilos @gfanton
/gno.land/pkg/sdk/vm/ @moul @gfanton @thehowl
/gno.land/pkg/integration/ @gfanton
/gno.land/genesis/ @moul
#...

# GnoVM/Gnolang.
gnovm/* @gnolang/tech-staff
gnovm/stdlibs @jaekwon @moul
gnovm/pkg/gnolang @jaekwon @moul
/gnovm/ @jaekwon @moul @piux2 @thehowl
/gnovm/stdlibs/ @thehowl
/gnovm/tests/ @jaekwon @thehowl @mvertes
/gnovm/cmd/gno/ @moul @thehowl
/gnovm/pkg/gnolang/ @jaekwon @moul @piux2
/gnovm/pkg/doc/ @thehowl
/gnovm/pkg/repl/ @mvertes @ajnavarro
/gnovm/pkg/gnomod/ @thehowl
/gnovm/pkg/gnoenv/ @gfanton
/gnovm/pkg/transpiler/ @thehowl
/gnovm/pkg/integration/ @gfanton

# Contribs
/contribs/ @gnolang/tech-staff
/contribs/gnodev/ @gfanton
/contribs/gnokeykc/ @moul
/contribs/gnomd/ @moul

# Misc
/misc/ @gnolang/tech-staff
/misc/loop/ @moul @gnolang/devops
/misc/deployments/ @moul @gnolang/devops
/misc/genstd/ @thehowl

# Special files.
PLAN.md @jaekwon @moul
PHILOSOPHY.md @jaekwon @moul
CONTRIBUTING.md @jaekwon @moul
LICENSE.md @jaekwon @moul
.github/CODEOWNERS @jaekwon @moul
/PLAN.md @jaekwon @moul
/PHILOSOPHY.md @jaekwon
/CONTRIBUTING.md @jaekwon @moul @gnolang/tech-staff
/LICENSE.md @jaekwon
/.github/ @moul @gnolang/tech-staff
/.github/workflows @ajnavarro @moul
/.github/CODEOWNERS @jaekwon @moul
/go.mod @gnolang/tech-staff # no unnecessary dependencies
7 changes: 4 additions & 3 deletions .github/ISSUE_TEMPLATE/BUG-REPORT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
name: Bug Report Template
about: Create a bug report
# NOTE: keep in sync with gnovm/cmd/gno/bug.go
---

## [Subject of the issue]
Expand All @@ -11,9 +12,9 @@ Describe your issue in as much detail as possible here

### Your environment

* OS and version
* version of gno
* branch that causes this issue (with the commit hash)
* Go version (example: go1.22.4)
* OS and CPU architecture (example: linux/amd64)
* Gno commit hash causing the issue (example: f24690e7ebf325bffcfaf9e328c3df8e6b21e50c)

### Steps to reproduce

Expand Down
24 changes: 4 additions & 20 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
codecov:
require_ci_to_pass: false
require_ci_to_pass: true
notify:
wait_for_ci: true

ignore:
- misc

comment:
require_changes: false

Expand All @@ -25,7 +22,7 @@ coverage:
patch:
default:
target: auto
threshold: 100 # Allows PRs without tests, overall stats count.
threshold: 10 # Let's decrease this later.
base: auto
if_no_uploads: error
if_not_found: success
Expand All @@ -40,18 +37,5 @@ flag_management:
target: auto
threshold: 10 # Let's decrease this later.
- type: patch
target: auto # Allows PRs without tests, overall stats count.
threshold: 100
individual_flags:
- name: tm2
paths:
- tm2
- name: gnovm
paths:
- gnovm
- name: gno.land
paths:
- gno.land
- name: misc
paths:
- misc
target: auto # Let's decrease this later.
threshold: 10
11 changes: 11 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ updates:
interval: "daily"
labels:
- "github_actions"
groups:
actions:
patterns:
- "*"

# Maintain dependencies for top level Go modules
- package-ecosystem: gomod
Expand All @@ -17,6 +21,13 @@ updates:
interval: weekly
labels:
- "dependencies"
groups:
golang-x:
patterns:
- "golang.org/x/*"
everything-else:
patterns:
- "*"
open-pull-requests-limit: 10
pull-request-branch-name:
separator: "-"
Expand Down
8 changes: 7 additions & 1 deletion .github/golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ linters:
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13
- gofumpt # Stricter gofmt
- unused # Checks Go code for unused constants, variables, functions and types
- gomodguard # Enforces an allow and block list for direct Go module dependencies
- forbidigo # Forbids some custom-set identifiers, like regexp.MatchString

linters-settings:
gofmt:
Expand All @@ -59,6 +61,10 @@ linters-settings:
- opinionated
- performance
- style
forbidigo:
forbid:
- p: '^regexp\.(Match|MatchString)$'
msg: it will re-compile the regexp for each execution; compile the regexp with regexp.Compile and store it as a singleton

issues:
whole-files: true
Expand All @@ -74,4 +80,4 @@ issues:
- goconst # Disabled linting of common mnemonics and test case strings
- path: _\.gno
linters:
- errorlint # Disabled linting of error comparisons, because of lacking std lib support
- errorlint # Disabled linting of error comparisons, because of lacking std lib support
Loading

0 comments on commit 3991f12

Please sign in to comment.