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

feat: update license #15

Merged
merged 1 commit into from
Nov 23, 2023
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
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

name: Bug Report
description: File a bug/issue
title: "[BUG] <title>"
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

name: Feature Request
description: File a feature request
title: "[FEATURE] <title>"
Expand Down
7 changes: 3 additions & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

version: 2
updates:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

name: Continuous Integration

on:
Expand Down
6 changes: 5 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

linters:
enable-all: true
fast: true
Expand All @@ -18,7 +22,7 @@ linters-settings:
const:
COMPANY: 0x6flab
template: |-
Copyright (c) {{ COMPANY }}. All rights reserved.
Copyright (c) {{ YEAR }} {{ COMPANY }}

SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE
funlen:
Expand Down
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

project_name: namegenerator

before:
Expand Down
4 changes: 4 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
Expand Down
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

.PHONY: generate
generate:
python namegenerator.py
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 0x6flab. All rights reserved.
// Copyright (c) 2023 0x6flab
//
// SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

Expand Down
2 changes: 1 addition & 1 deletion examples/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 0x6flab. All rights reserved.
// Copyright (c) 2023 0x6flab
//
// SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

Expand Down
2 changes: 1 addition & 1 deletion generator.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 0x6flab. All rights reserved.
// Copyright (c) 2023 0x6flab
//
// SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

Expand Down
3 changes: 2 additions & 1 deletion generator_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Copyright (c) 0x6flab. All rights reserved.
// Copyright (c) 2023 0x6flab
//
// SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

package namegenerator_test

import (
Expand Down
6 changes: 5 additions & 1 deletion namegenerator.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Copyright (c) 2023 0x6flab
#
# SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE

import textwrap
import os
import subprocess
Expand Down Expand Up @@ -124,7 +128,7 @@ def write_go_file(self):
)

with open(self.GO_FILE, "w") as f:
f.write("// Copyright (c) 0x6flab. All rights reserved.\n// \n")
f.write("// Copyright (c) 2023 0x6flab\n// \n")
f.write("// SPDX-License-Identifier: GNU GENERAL PUBLIC LICENSE\n\n")

f.write("// Code generated by namegenerator.py. DO NOT EDIT.\n\n")
Expand Down
17,597 changes: 8,800 additions & 8,797 deletions names.go

Large diffs are not rendered by default.

Loading