Skip to content

Commit 5bce32b

Browse files
Restructure project for SpazioDati org (#1)
1 parent 6c172cd commit 5bce32b

File tree

17 files changed

+38
-37
lines changed

17 files changed

+38
-37
lines changed

.github/workflows/test.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ on:
44
branches:
55
- master
66
pull_request:
7+
78
jobs:
89
unittest:
910
name: Unit Test
1011
runs-on: ubuntu-latest
1112
steps:
12-
- uses: actions/checkout@master
13-
with:
14-
fetch-depth: 0
15-
- uses: actions/setup-go@v5
16-
with:
17-
go-version: '>=1.22.0'
18-
- name: Install dependencies
19-
run: sudo apt-get install libdb-dev libbtrfs-dev pkg-config libdevmapper-dev
20-
- name: Run unit tests
21-
run: go test ./...
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: actions/setup-go@v5
17+
with:
18+
go-version: '>=1.22.0'
19+
- name: Install dependencies
20+
run: sudo apt-get install libdb-dev libbtrfs-dev pkg-config libdevmapper-dev
21+
- name: Run unit tests
22+
run: go test ./...

analyzer/analyzer.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
digest "github.com/opencontainers/go-digest"
77
"golang.org/x/xerrors"
88

9-
"github.com/goodwithtech/deckoder/extractor"
10-
"github.com/goodwithtech/deckoder/extractor/docker"
11-
"github.com/goodwithtech/deckoder/types"
9+
"github.com/SpazioDati/deckoder/extractor"
10+
"github.com/SpazioDati/deckoder/extractor/docker"
11+
"github.com/SpazioDati/deckoder/types"
1212
)
1313

1414
var (

cmd/deckoder/main.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"log"
88
"time"
99

10-
"github.com/goodwithtech/deckoder/analyzer"
11-
"github.com/goodwithtech/deckoder/extractor"
12-
"github.com/goodwithtech/deckoder/extractor/docker"
13-
"github.com/goodwithtech/deckoder/types"
14-
"github.com/goodwithtech/deckoder/utils"
10+
"github.com/SpazioDati/deckoder/analyzer"
11+
"github.com/SpazioDati/deckoder/extractor"
12+
"github.com/SpazioDati/deckoder/extractor/docker"
13+
"github.com/SpazioDati/deckoder/types"
14+
"github.com/SpazioDati/deckoder/utils"
1515
)
1616

1717
func main() {

extractor/docker/docker.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ import (
1313
digest "github.com/opencontainers/go-digest"
1414
"golang.org/x/xerrors"
1515

16-
"github.com/goodwithtech/deckoder/extractor/image/token/ecr"
17-
"github.com/goodwithtech/deckoder/extractor/image/token/gcr"
16+
"github.com/SpazioDati/deckoder/extractor/image/token/ecr"
17+
"github.com/SpazioDati/deckoder/extractor/image/token/gcr"
1818

1919
"github.com/knqyf263/nested"
2020

21-
"github.com/goodwithtech/deckoder/extractor/image"
22-
"github.com/goodwithtech/deckoder/types"
21+
"github.com/SpazioDati/deckoder/extractor/image"
22+
"github.com/SpazioDati/deckoder/types"
2323
)
2424

2525
const (

extractor/docker/docker_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import (
1111

1212
"github.com/stretchr/testify/require"
1313

14-
"github.com/goodwithtech/deckoder/extractor/image"
15-
"github.com/goodwithtech/deckoder/types"
16-
"github.com/goodwithtech/deckoder/utils"
14+
"github.com/SpazioDati/deckoder/extractor/image"
15+
"github.com/SpazioDati/deckoder/types"
16+
"github.com/SpazioDati/deckoder/utils"
1717
)
1818

1919
const (

extractor/extractor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
digest "github.com/opencontainers/go-digest"
77

8-
"github.com/goodwithtech/deckoder/types"
8+
"github.com/SpazioDati/deckoder/types"
99
)
1010

1111
type Extractor interface {

extractor/image/image.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
digest "github.com/opencontainers/go-digest"
1414
"golang.org/x/xerrors"
1515

16-
"github.com/goodwithtech/deckoder/types"
16+
"github.com/SpazioDati/deckoder/types"
1717
)
1818

1919
type ImageSource interface {

extractor/image/image_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"github.com/goodwithtech/deckoder/types"
13+
"github.com/SpazioDati/deckoder/types"
1414
"github.com/stretchr/testify/assert"
1515
"github.com/stretchr/testify/require"
1616
)

extractor/image/mock_registry.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extractor/image/token.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"github.com/containers/image/v5/pkg/docker/config"
66
imageTypes "github.com/containers/image/v5/types"
7-
"github.com/goodwithtech/deckoder/types"
7+
"github.com/SpazioDati/deckoder/types"
88
)
99

1010
var (

0 commit comments

Comments
 (0)