Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update metadata #83

Merged
merged 1 commit into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: lint
on:
push:
pull_request:

jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
go-version: [1.23.x]
os: [ubuntu-latest]
fail-fast: false

steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}

- name: Checkout repository
uses: actions/checkout@v4

- name: Go imports lint
uses: zjkmxy/golang-github-actions@v1.1.3
with:
run: imports
token: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
/ndnd
/ndnd.exe
/gondn_tlv_gen
/gondn_tlv_gen.exe
coverage.out

# Compiler folders
.vscode
.idea

# Temporary
.env
_build
*~
*.sw*
*.DS_Store
__pycache__/
*.py[cod]
*$py.class
*.log
/temp/
*.wasm
41 changes: 41 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Newberry"
given-names: "Eric"
orcid: "https://orcid.org/0000-0002-5768-5907"
- family-names: "Ma"
given-names: "Xinyu"
orcid: "https://orcid.org/0000-0002-7575-1058"
- family-names: "Zhang"
given-names: "Lixia"
orcid: "https://orcid.org/0000-0003-0701-757X"
title: "YaNFD"
version: 1.3.0
doi: 10.1145/3460417.3482969
date-released: 2021-09-22
url: "https://github.com/named-data/YaNFD"
preferred-citation:
type: conference-paper
authors:
- family-names: "Newberry"
given-names: "Eric"
orcid: "https://orcid.org/0000-0002-5768-5907"
- family-names: "Ma"
given-names: "Xinyu"
orcid: "https://orcid.org/0000-0002-7575-1058"
- family-names: "Zhang"
given-names: "Lixia"
orcid: "https://orcid.org/0000-0003-0701-757X"
doi: "10.1145/3460417.3482969"
conference:
name: "ICN '21: Proceedings of the 8th ACM Conference on Information-Centric Networking"
month: 9
start: 30 # First page number
end: 41 # Last page number
title: "YaNFD: Yet another named data networking forwarding daemon"
issue: 1
volume: 1
year: 2021
publisher: "Association for Computing Machinery"
url: "https://doi.org/10.1145/3460417.3482969"
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
VERSION = 1.3.0.0
STD_PACKAGE = github.com/named-data/ndnd/std

.PHONY: all install clean test coverage

Expand All @@ -7,14 +8,24 @@ all: ndnd
ndnd: clean
CGO_ENABLED=0 go build -o ndnd cmd/ndnd/main.go

generate:
go generate ./...

install:
install -m 755 ndnd /usr/local/bin

clean:
rm -f ndnd coverage.out

clean-gen:
rm -f gondn_tlv_gen

test:
go test ./... -coverprofile=coverage.out

coverage:
go tool cover -html=coverage.out

gondn_tlv_gen: clean-gen
go build ${STD_PACKAGE}/cmd/gondn_tlv_gen
go install ${STD_PACKAGE}/cmd/gondn_tlv_gen
17 changes: 0 additions & 17 deletions std/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions std/Makefile

This file was deleted.

5 changes: 0 additions & 5 deletions std/README.md

This file was deleted.

Loading