You've already forked tarr
							
							Compare commits
	
		
			15 Commits
		
	
	
		
			v0.2.0
			...
			d107ad5578
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						
						
							
						
						d107ad5578
	
				 | 
					
					
						|||
| 
						
						
							
						
						d2cf678b97
	
				 | 
					
					
						|||
| 
						
						
							
						
						87918c2339
	
				 | 
					
					
						|||
| 
						
						
							
						
						7253c2ed5b
	
				 | 
					
					
						|||
| 
						
						
							
						
						8708af6a5a
	
				 | 
					
					
						|||
| 
						
						
							
						
						b525c82ccb
	
				 | 
					
					
						|||
| 
						
						
							
						
						d39989d224
	
				 | 
					
					
						|||
| 
						
						
							
						
						dfe4fd60cf
	
				 | 
					
					
						|||
| 
						
						
							
						
						d1e111fe0d
	
				 | 
					
					
						|||
| 
						
						
							
						
						f40cb5f965
	
				 | 
					
					
						|||
| 
						
						
							
						
						02d980440f
	
				 | 
					
					
						|||
| 
						
						
							
						
						7baa16a257
	
				 | 
					
					
						|||
| 
						
						
							
						
						df3192ab75
	
				 | 
					
					
						|||
| 
						
						
							
						
						b316124df4
	
				 | 
					
					
						|||
| 
						
						
							
						
						fe9a5278f7
	
				 | 
					
					
						
							
								
								
									
										29
									
								
								.gitea/workflows/golang-linters.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								.gitea/workflows/golang-linters.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
				
			|||||||
 | 
					name: "Lint Golang files"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					on:
 | 
				
			||||||
 | 
					  pull_request:
 | 
				
			||||||
 | 
					    types: [ "opened", "reopened", "synchronize" ]
 | 
				
			||||||
 | 
					  push:
 | 
				
			||||||
 | 
					    branches: [ '**' ]
 | 
				
			||||||
 | 
					    tags-ignore: [ '**' ]
 | 
				
			||||||
 | 
					  workflow_dispatch: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					permissions:
 | 
				
			||||||
 | 
					  contents: read
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					jobs:
 | 
				
			||||||
 | 
					  golangci:
 | 
				
			||||||
 | 
					    name: "Run golang CI linter"
 | 
				
			||||||
 | 
					    runs-on: ${{ matrix.os }}
 | 
				
			||||||
 | 
					    strategy:
 | 
				
			||||||
 | 
					      matrix:
 | 
				
			||||||
 | 
					        go: [ stable ]
 | 
				
			||||||
 | 
					        os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
 | 
				
			||||||
 | 
					    steps:
 | 
				
			||||||
 | 
					    - uses: actions/checkout@v4.3.0
 | 
				
			||||||
 | 
					    - uses: actions/setup-go@v5.5.0
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        go-version: ${{ matrix.go }}
 | 
				
			||||||
 | 
					    - uses: golangci/golangci-lint-action@v8.0.0
 | 
				
			||||||
 | 
					      with:
 | 
				
			||||||
 | 
					        version: v2.3.0 # renovate: datasource=github-releases depName=golangci/golangci-lint
 | 
				
			||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
# name: Golang Tests
 | 
					# name: "Run Golang tests"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# on:
 | 
					# on:
 | 
				
			||||||
#   pull_request:
 | 
					#   pull_request:
 | 
				
			||||||
@@ -6,16 +6,37 @@
 | 
				
			|||||||
#   push:
 | 
					#   push:
 | 
				
			||||||
#     branches: [ '**' ]
 | 
					#     branches: [ '**' ]
 | 
				
			||||||
#     tags-ignore: [ '**' ]
 | 
					#     tags-ignore: [ '**' ]
 | 
				
			||||||
 | 
					#   workflow_dispatch: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# jobs:
 | 
					# jobs:
 | 
				
			||||||
#   unittest:
 | 
					#   integration-test:
 | 
				
			||||||
#     runs-on:
 | 
					#     name: "Run integration tests"
 | 
				
			||||||
#     - ubuntu-latest
 | 
					#     runs-on: ${{ matrix.os }}
 | 
				
			||||||
 | 
					#     strategy:
 | 
				
			||||||
 | 
					#       matrix:
 | 
				
			||||||
 | 
					#         go: [ stable ]
 | 
				
			||||||
 | 
					#         os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
 | 
				
			||||||
#     steps:
 | 
					#     steps:
 | 
				
			||||||
#     - uses: actions/checkout@v4.2.2
 | 
					#     - uses: actions/checkout@v4.3.0
 | 
				
			||||||
#     - uses: actions/setup-go@v5.5.0
 | 
					#     - uses: actions/setup-go@v5.5.0
 | 
				
			||||||
#       with:
 | 
					#       with:
 | 
				
			||||||
#         go-version: stable
 | 
					#         go-version: ${{ matrix.go }}
 | 
				
			||||||
 | 
					#     - env:
 | 
				
			||||||
 | 
					#         GOPROXY: ${{ vars.GOPROXY }}
 | 
				
			||||||
 | 
					#       run: make test/integration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#   unit-test:
 | 
				
			||||||
 | 
					#     name: "Run unit tests"
 | 
				
			||||||
 | 
					#     runs-on: ${{ matrix.os }}
 | 
				
			||||||
 | 
					#     strategy:
 | 
				
			||||||
 | 
					#       matrix:
 | 
				
			||||||
 | 
					#         go: [ stable ]
 | 
				
			||||||
 | 
					#         os: [ ubuntu-latest-amd64, ubuntu-latest-arm64 ]
 | 
				
			||||||
 | 
					#     steps:
 | 
				
			||||||
 | 
					#     - uses: actions/checkout@v4.3.0
 | 
				
			||||||
 | 
					#     - uses: actions/setup-go@v5.5.0
 | 
				
			||||||
 | 
					#       with:
 | 
				
			||||||
 | 
					#         go-version: ${{ matrix.go }}
 | 
				
			||||||
#     - env:
 | 
					#     - env:
 | 
				
			||||||
#         GOPROXY: ${{ vars.GOPROXY }}
 | 
					#         GOPROXY: ${{ vars.GOPROXY }}
 | 
				
			||||||
#       run: make test/unit
 | 
					#       run: make test/unit
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,20 +1,19 @@
 | 
				
			|||||||
name: Markdown linter
 | 
					name: "Lint Markdown files"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  pull_request:
 | 
					  pull_request:
 | 
				
			||||||
    types: [ "opened", "reopened", "synchronize" ]
 | 
					    types: [ "opened", "reopened", "synchronize" ]
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches: [ '**' ]
 | 
					    branches: [ '*' ]
 | 
				
			||||||
    tags-ignore: [ '**' ]
 | 
					    tags-ignore: [ '*' ]
 | 
				
			||||||
  workflow_dispatch: {}
 | 
					  workflow_dispatch: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  markdown-lint:
 | 
					  markdown-lint:
 | 
				
			||||||
    container:
 | 
					    name: "Run markdown linter"
 | 
				
			||||||
      image: git.cryptic.systems/volker.raschek/markdownlint:0.44.0
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    runs-on:
 | 
					 | 
				
			||||||
    - ubuntu-latest
 | 
					 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v4.2.2
 | 
					    - uses: actions/checkout@v4.3.0
 | 
				
			||||||
    - name: Lint Markdown files
 | 
					    - uses: DavidAnson/markdownlint-cli2-action@v20.0.0
 | 
				
			||||||
      run: markdownlint --config .markdownlint.yaml .
 | 
					      with:
 | 
				
			||||||
 | 
					        globs: '**/*.md'
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,4 +1,4 @@
 | 
				
			|||||||
name: Release
 | 
					name: "Release"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
on:
 | 
					on:
 | 
				
			||||||
  push:
 | 
					  push:
 | 
				
			||||||
@@ -9,10 +9,10 @@ permissions:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  release:
 | 
					  release:
 | 
				
			||||||
    runs-on:
 | 
					    name: "Release application"
 | 
				
			||||||
    - ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v4.2.2
 | 
					    - uses: actions/checkout@v4.3.0
 | 
				
			||||||
    - uses: docker/setup-qemu-action@v3.6.0
 | 
					    - uses: docker/setup-qemu-action@v3.6.0
 | 
				
			||||||
    - uses: actions/setup-go@v5.5.0
 | 
					    - uses: actions/setup-go@v5.5.0
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
@@ -28,10 +28,11 @@ jobs:
 | 
				
			|||||||
        GOPROXY: ${{ vars.GOPROXY }}
 | 
					        GOPROXY: ${{ vars.GOPROXY }}
 | 
				
			||||||
      uses: goreleaser/goreleaser-action@v6.3.0
 | 
					      uses: goreleaser/goreleaser-action@v6.3.0
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        version: "~> v2"
 | 
					        version: v2.11.2 # renovate: datasource=github-releases depName=goreleaser/goreleaser
 | 
				
			||||||
        args: release --clean
 | 
					        args: release --clean
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  sync-to-hub-docker-io:
 | 
					  sync-to-hub-docker-io:
 | 
				
			||||||
 | 
					    name: "Upload Images to docker.io"
 | 
				
			||||||
    needs:
 | 
					    needs:
 | 
				
			||||||
    - release
 | 
					    - release
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,16 +4,17 @@ on:
 | 
				
			|||||||
  push:
 | 
					  push:
 | 
				
			||||||
    branches: [ 'master' ]
 | 
					    branches: [ 'master' ]
 | 
				
			||||||
    paths: [ 'README.md' ]
 | 
					    paths: [ 'README.md' ]
 | 
				
			||||||
 | 
					  workflow_dispatch: {}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
jobs:
 | 
					jobs:
 | 
				
			||||||
  update-description-on-hub-docker-io:
 | 
					  update-description-on-hub-docker-io:
 | 
				
			||||||
    runs-on:
 | 
					    runs-on:
 | 
				
			||||||
    - ubuntu-latest
 | 
					    - ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@v4.2.2
 | 
					    - uses: actions/checkout@v4.3.0
 | 
				
			||||||
    - uses: peter-evans/dockerhub-description@v4.0.2
 | 
					    - uses: peter-evans/dockerhub-description@v4.0.2
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        username: ${{ secrets.DOCKER_IO_USERNAME }}
 | 
					        username: ${{ secrets.DOCKER_IO_USERNAME }}
 | 
				
			||||||
        password: ${{ secrets.DOCKER_IO_PASSWORD }}
 | 
					        password: ${{ secrets.DOCKER_IO_PASSWORD }}
 | 
				
			||||||
        repository: volkerraschek/tarr
 | 
					        repository: volkerraschek/tarr
 | 
				
			||||||
        readme-filepath: README.md
 | 
					        readme-filepath: README.md
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										13
									
								
								.golangci.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								.golangci.yaml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					version: "2"
 | 
				
			||||||
 | 
					linters:
 | 
				
			||||||
 | 
					  default: standard
 | 
				
			||||||
 | 
					  enable:
 | 
				
			||||||
 | 
					  - errname
 | 
				
			||||||
 | 
					  - gosec
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  exclusions:
 | 
				
			||||||
 | 
					    rules: []
 | 
				
			||||||
 | 
					    warn-unused: true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					run:
 | 
				
			||||||
 | 
					  tests: true
 | 
				
			||||||
@@ -34,6 +34,7 @@ builds:
 | 
				
			|||||||
  - amd64
 | 
					  - amd64
 | 
				
			||||||
  - arm
 | 
					  - arm
 | 
				
			||||||
  - arm64
 | 
					  - arm64
 | 
				
			||||||
 | 
					  - riscv64
 | 
				
			||||||
  goarm:
 | 
					  goarm:
 | 
				
			||||||
  - "6"
 | 
					  - "6"
 | 
				
			||||||
  - "7"
 | 
					  - "7"
 | 
				
			||||||
@@ -171,6 +172,25 @@ dockers:
 | 
				
			|||||||
  skip_push: false
 | 
					  skip_push: false
 | 
				
			||||||
  use: buildx
 | 
					  use: buildx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					- build_flag_templates:
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.description={{ .ProjectName }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.documentation={{ .ProjectName }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.revision={{ .FullCommit }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.source={{ .GitURL }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.title={{ .ProjectName }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.url=https://git.cryptic.systems/volker.raschek/{{ .ProjectName }}
 | 
				
			||||||
 | 
					  - --label=org.opencontainers.image.version={{ trimprefix .Tag "v" }}
 | 
				
			||||||
 | 
					  - --platform=linux/riscv64
 | 
				
			||||||
 | 
					  - --pull
 | 
				
			||||||
 | 
					  dockerfile: Dockerfile
 | 
				
			||||||
 | 
					  goarch: riscv64
 | 
				
			||||||
 | 
					  goos: linux
 | 
				
			||||||
 | 
					  image_templates:
 | 
				
			||||||
 | 
					  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-riscv64'
 | 
				
			||||||
 | 
					  skip_push: false
 | 
				
			||||||
 | 
					  use: buildx
 | 
				
			||||||
 | 
					
 | 
				
			||||||
docker_manifests:
 | 
					docker_manifests:
 | 
				
			||||||
- name_template: 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}'
 | 
					- name_template: 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}'
 | 
				
			||||||
  image_templates:
 | 
					  image_templates:
 | 
				
			||||||
@@ -178,6 +198,7 @@ docker_manifests:
 | 
				
			|||||||
  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm-v6'
 | 
					  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm-v6'
 | 
				
			||||||
  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm-v7'
 | 
					  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm-v7'
 | 
				
			||||||
  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm64'
 | 
					  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-arm64'
 | 
				
			||||||
 | 
					  - 'git.cryptic.systems/volker.raschek/{{ .ProjectName }}:{{ trimprefix .Tag "v" }}-riscv64'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
gitea_urls:
 | 
					gitea_urls:
 | 
				
			||||||
  api: https://git.cryptic.systems/api/v1
 | 
					  api: https://git.cryptic.systems/api/v1
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								go.mod
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								go.mod
									
									
									
									
									
								
							@@ -3,7 +3,7 @@ module git.cryptic.systems/volker.raschek/tarr
 | 
				
			|||||||
go 1.22.6
 | 
					go 1.22.6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
require (
 | 
					require (
 | 
				
			||||||
	github.com/fsnotify/fsnotify v1.8.0
 | 
						github.com/fsnotify/fsnotify v1.9.0
 | 
				
			||||||
	github.com/sirupsen/logrus v1.9.3
 | 
						github.com/sirupsen/logrus v1.9.3
 | 
				
			||||||
	github.com/spf13/cobra v1.9.1
 | 
						github.com/spf13/cobra v1.9.1
 | 
				
			||||||
	github.com/stretchr/testify v1.10.0
 | 
						github.com/stretchr/testify v1.10.0
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										4
									
								
								go.sum
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								go.sum
									
									
									
									
									
								
							@@ -2,8 +2,8 @@ github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6N
 | 
				
			|||||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 | 
					github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 | 
				
			||||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 | 
					github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 | 
				
			||||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 | 
					github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 | 
				
			||||||
github.com/fsnotify/fsnotify v1.8.0 h1:dAwr6QBTBZIkG8roQaJjGof0pp0EeF+tNV7YBP3F/8M=
 | 
					github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
 | 
				
			||||||
github.com/fsnotify/fsnotify v1.8.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
 | 
					github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
 | 
				
			||||||
github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
 | 
					github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8=
 | 
				
			||||||
github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
 | 
					github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw=
 | 
				
			||||||
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 | 
					github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user