-
Notifications
You must be signed in to change notification settings - Fork 387
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dev/moul/manfred-personal
- Loading branch information
Showing
523 changed files
with
24,970 additions
and
2,662 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: contribs | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
paths: | ||
- "contribs/**" | ||
- ".github/workflows/contribs.yml" | ||
- "gnovm/**.go" | ||
- "gno.land/**.go" | ||
- "tm2/**.go" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
install: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
goversion: # two latest versions | ||
- "1.21.x" | ||
program: | ||
- "gnomd" | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v4 | ||
with: | ||
go-version: ${{ matrix.goversion }} | ||
- run: make install ${{ matrix.program }} | ||
working-directory: contribs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: docusaurus build | ||
on: | ||
pull_request: | ||
paths: | ||
- "docs/**" | ||
push: | ||
branches: [ "master" ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Install Docusaurus Dependencies | ||
run: | | ||
cd misc/docusaurus | ||
yarn install | ||
- name: Build Docusaurus Docs | ||
run: | | ||
cd misc/docusaurus | ||
yarn build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.PHONY: help | ||
help: | ||
@echo "Available make commands:" | ||
@cat Makefile | grep '^[a-z][^:]*:' | cut -d: -f1 | sort | sed 's/^/ /' | ||
|
||
.PHONY: install | ||
install: install.gnomd | ||
|
||
install.gnomd:; cd gnomd && go install . | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf build | ||
|
||
######################################## | ||
# Dev tools | ||
rundep=go run -modfile ../misc/devdeps/go.mod | ||
|
||
.PHONY: fmt | ||
GOFMT_FLAGS ?= -w | ||
fmt: | ||
$(rundep) mvdan.cc/gofumpt $(GOFMT_FLAGS) . | ||
|
||
######################################## | ||
# Test suite | ||
GOTEST_FLAGS ?= -v -p 1 -timeout=30m | ||
|
||
.PHONY: test | ||
test: | ||
@echo "nothing to do." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Gno Contribs | ||
|
||
This directory houses additional commands and tools designed to enhance your Gno experience. | ||
These tools can range from simple wrappers for `gno`, `gnoland`, and `gnokey` to complete applications. | ||
Some may be Go binaries with their own `go.mod` files, allowing the use of specialized libraries, | ||
while others may be shell scripts or programs written in different languages. | ||
|
||
## Contributing Guidelines | ||
|
||
If you'd like to contribute a tool to Gno Contribs, please follow these guidelines: | ||
|
||
1. **Naming**: Choose a clear and concise name for your tool, starting with one of the prefixes: `gno`, `gnoland`, or `gnokey`, | ||
followed by a short descriptive word or abbreviation. | ||
This naming convention helps users identify the purpose of the tool easily. | ||
|
||
2. **User-Friendly**: Ensure that your tool is user-friendly and follows a similar style to other Gno tools, | ||
providing a consistent experience for users. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# `gnokeykc` | ||
|
||
`gnokeykc` is a Go-based CLI tool that enhances [`gnokey`](../../gno.land/cmd/gnokey) by integrating with your system's keychain. It adds `gnokey kc ...` subcommands to set and unset passwords in the keychain, allowing Gnokey to fetch passwords directly from the keychain instead of prompting for terminal input. | ||
|
||
## Usage | ||
|
||
gnokey kc -h | ||
|
||
## Terminal Alias | ||
|
||
For ease of use, set up a terminal alias to replace `gnokey` with `gnokeykc`: | ||
|
||
echo "alias gnokey='gnokeykc'" >> ~/.bashrc && source ~/.bashrc | ||
|
||
Now, `gnokey` commands will use `gnokeykc`, fetching passwords from the keychain. | ||
|
Oops, something went wrong.