Skip to content

Commit a875021

Browse files
jchionhmurphm8
authored andcommitted
Restructured source files to make sense (#2)
Have the moved files show up in /pkg directory
1 parent 9296ec9 commit a875021

30 files changed

+44
-47
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
/eclipse-bin/
22
/bin
33
/build
4-
/pkg
54
.classpath
65
.project
76
.settings
@@ -28,4 +27,4 @@ modules.xml
2827

2928
assets
3029

31-
# End of https://www.gitignore.io/api/jetbrains+all
30+
# End of https://www.gitignore.io/api/jetbrains+all

src/go.amzn.com/robomaker/example/s3_download/main.go renamed to example/s3_download/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ package main
55

66
import (
77
"fmt"
8+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/s3"
89
"io"
910
"os"
1011

1112
"github.com/aws/aws-sdk-go/aws"
1213
"github.com/aws/aws-sdk-go/aws/session"
1314
awsS3 "github.com/aws/aws-sdk-go/service/s3"
14-
"go.amzn.com/robomaker/bundle_support/s3"
1515
)
1616

1717
const (

src/go.amzn.com/robomaker/example/test_app/main.go renamed to example/test_app/main.go

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,10 @@ package main
55

66
import (
77
"fmt"
8+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/bundle"
9+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/file_system"
10+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/store"
811
"time"
9-
10-
"go.amzn.com/robomaker/bundle_support"
11-
"go.amzn.com/robomaker/bundle_support/file_system"
12-
"go.amzn.com/robomaker/bundle_support/store"
1312
)
1413

1514
const (
@@ -27,7 +26,7 @@ func main() {
2726
localFileSystem := file_system.NewLocalFS()
2827
bundleStore := store.NewSimpleStore(BundleStoreRootLocation, localFileSystem)
2928

30-
bundleProvider := bundle_support.NewBundleProvider(bundleStore)
29+
bundleProvider := bundle.NewBundleProvider(bundleStore)
3130
bundleProvider.SetProgressCallback(printProgress)
3231

3332
// Start measuring the time it takes to extract
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import (
77
"archive/tar"
88
"errors"
99
"fmt"
10-
"go.amzn.com/robomaker/bundle_support/bundle"
11-
"go.amzn.com/robomaker/bundle_support/extractors"
12-
"go.amzn.com/robomaker/bundle_support/store"
10+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/bundle"
11+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/extractors"
12+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/store"
1313
"io"
1414
)
1515

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
package archive
55

66
import (
7-
"go.amzn.com/robomaker/bundle_support/bundle"
8-
"go.amzn.com/robomaker/bundle_support/store"
7+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/bundle"
8+
"github.com/aws-robotics/aws-robomaker-bundle-support-library/pkg/store"
99
"io"
1010
)
1111

File renamed without changes.

0 commit comments

Comments
 (0)