Skip to content

Commit

Permalink
Merge pull request #17 from FollowTheProcess/rewrite
Browse files Browse the repository at this point in the history
Rewrite from scratch
  • Loading branch information
FollowTheProcess committed Nov 26, 2021
2 parents 09f0b22 + 9e2b6b4 commit 0679f5c
Show file tree
Hide file tree
Showing 27 changed files with 1,124 additions and 482 deletions.
39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

60 changes: 60 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: 🐞 Bug Report
description: File a bug/issue
title: "[BUG] <title>"
labels:
- "bug"
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the bug you encountered.
options:
- label: I have searched the existing issues
required: true
- type: textarea
attributes:
label: Current Behavior
description: A concise description of what you're experiencing.
validations:
required: false
- type: textarea
attributes:
label: Expected Behavior
description: A concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
placeholder: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
examples:
- **OS**: Ubuntu 20.04
- **Go**: 1.17.2
- **goignore**: 0.6.0
value: |
- OS:
- Go:
- goignore:
render: markdown
validations:
required: false
- type: textarea
attributes:
label: Anything else?
description: |
Links? References? Anything that will give us more context about the issue you are encountering!
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in.
validations:
required: false
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 🚀 Feature Request
description: Request a new feature or enhancement
title: "[FEAT] <title>"
labels:
- "enhancement"
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the feature you want.
options:
- label: I have searched the existing issues
required: true

- type: textarea
attributes:
label: How would this feature be useful?
description: Describe any use cases this solves or frustrations it alleviates.
validations:
required: false

- type: textarea
attributes:
label: Describe the solution you'd like
description: If you have an idea on how to do this, let us know here!
validations:
required: false

- type: textarea
attributes:
label: Describe alternatives you've considered
description: If there's some workaround or alternative solutions, let us know here!
validations:
required: false

- type: textarea
attributes:
label: Anything else?
description: Any other relevant information or background.
validations:
required: false
23 changes: 0 additions & 23 deletions .github/ISSUE_TEMPLATE/question.md

This file was deleted.

28 changes: 28 additions & 0 deletions .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: ❓ Question
description: Ask something about the project
title: "[QUESTION] <title>"
labels:
- "question"
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please search to see if an issue already exists for the question you want to ask.
options:
- label: I have searched the existing issues
required: true

- type: textarea
attributes:
label: Description
description: Ask your question here.
placeholder: How can I...? Is it possible to...?
validations:
required: false

- type: textarea
attributes:
label: Anything else?
description: Any other relevant information or background.
validations:
required: false
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ updates:
directory: "/"
rebase-strategy: auto
allow:
- dependency-type: direct
- dependency-type: all
schedule:
interval: daily
4 changes: 1 addition & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,6 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/

- name: Set up Go 1.17
uses: actions/setup-go@v2
Expand All @@ -69,4 +67,4 @@ jobs:
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN}}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}
5 changes: 3 additions & 2 deletions .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ Temporary Items
.history
.ionide

# End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode,go
# Support for Project snippet scope
!.vscode/*.code-snippets

.vscode/
# End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode,go
22 changes: 11 additions & 11 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project_name: goignore
project_name: "goignore"

before:
hooks:
Expand All @@ -7,39 +7,39 @@ before:
builds:
- id: "goignore"
dir: "."
main: "."
binary: goignore
main: "./cmd/goignore"
binary: "goignore"
ldflags:
- -s -w
- -X main.version={{ .Version }}
- -X main.commit={{ .Commit }}
- -X github.com/FollowTheProcess/goignore/cli.version={{.Version}}
- -X github.com/FollowTheProcess/goignore/cli.commit={{.Commit}}
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- 386
- "386"
- amd64
- arm64

brews:
- name: "goignore"
- goarm: "6"
tap:
owner: FollowTheProcess
owner: "FollowTheProcess"
name: homebrew-tap
token: "{{.Env.HOMEBREW_TAP_TOKEN}}"
commit_author:
name: "Tom Fleet"
email: "tomfleet2018@gmail.com"
homepage: "https://github.com/FollowTheProcess/goignore"
description: "Easy gitignore files from the command line"
license: "MIT"
description: "Easy gitignores from the command line."
license: "MIT License"
install: |
bin.install "goignore"
test: |
"#{bin}/goignore --version"
"#{bin}/goignore version"
archives:
- replacements:
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020 Tom Fleet
Copyright (c) 2021, Tom Fleet

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,21 +104,26 @@ goignore --list
And you'll see something like...

```shell
1c,1c-bitrix,a-frame,actionscript,ada
adobe,advancedinstaller,adventuregamestudio,agda,al
alteraquartusii,altium,amplify,android,androidstudio
angular,anjuta,ansible,apachecordova,apachehadoop
appbuilder,appceleratortitanium,appcode,appcode+all,appcode+iml
1c,
1c-bitrix,
a-frame,
actionscript,
ada
adobe,
advancedinstaller,
adventuregamestudio,
agda,
al

# etc.
```

If you have a particular thing in mind:

```shell
goignore --list | grep vscode
goignore --list | grep visualstudiocode

vscode,vue,vuejs,vvvv,waf
visualstudiocode
```

## Help
Expand Down

0 comments on commit 0679f5c

Please sign in to comment.