Skip to content

Commit

Permalink
feat: update license (#15)
Browse files Browse the repository at this point in the history
# What type of PR is this?

<!--
For Work In Progress Pull Requests, please use the Draft PR feature, see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.

For a timely review/response, please avoid force-pushing additional commits if your PR already received reviews or comments.

Before submitting a Pull Request, please ensure that you have:

- 📖 Read the Contributing guide: https://github.com/0x6flab/namegenerator/blob/main/CONTRIBUTING.md
- 📖 Read the Code of Conduct: https://github.com/0x6flab/namegenerator/blob/main/CODE_OF_CONDUCT.md

- Provide tests for your changes.
- Use descriptive commit messages. If you need help you can check out https://pypi.org/project/commitgpt/
- Comment your code where appropriate.
- Squash your commits
- Update any related documentation.
-->

<!--(check all applicable)-->

- [ ] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] Optimization
- [ ] Documentation Update

## Related Tickets & Documents

<!--
For pull requests that relate or close an issue, please include them below.  We like to follow [Github's guidance on linking issues to pull requests](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue).

For example having the text: "closes #1234" would connect the current pull request to issue 1234.  And when we merge the pull request, Github will automatically close the issue.
-->

- Related Issue #
- Closes #

## Added/updated tests?

<!--Please confirm the following before submitting your PR, thank you!-->

- [ ] Yes
- [ ] No, and this is why: <!--please replace this line with details on why tests have not been included-->
- [ ] I need help with writing tests

## Added/updated documentation

<!--Please confirm the following before submitting your PR, thank you!-->

- [ ] Yes
- [ ] No, and this is why: <!--please replace this line with details on why documentation has not been included-->
- [ ] I need help with writing documentation

### Notes

<!--Please provide any additional information you feel is important.-->
  • Loading branch information
rodneyosodo authored Nov 23, 2023
2 parents 3102778 + ce1d09e commit a598159
Show file tree
Hide file tree
Showing 15 changed files with 8,846 additions and 8,807 deletions.
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.

0 comments on commit a598159

Please sign in to comment.