Skip to content

Commit 9f01ccf

Browse files
authored
Fix metadata files (#20)
1 parent ca574e0 commit 9f01ccf

File tree

8 files changed

+261
-12
lines changed

8 files changed

+261
-12
lines changed

.DS_Store

-8 KB
Binary file not shown.

.gitignore

+180-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,182 @@
1+
# General
2+
.DS_Store
3+
.AppleDouble
4+
.LSOverride
5+
6+
# Thumbnails
7+
._*
8+
9+
# Files that might appear in the root of a volume
10+
.DocumentRevisions-V100
11+
.fseventsd
12+
.Spotlight-V100
13+
.TemporaryItems
14+
.Trashes
15+
.VolumeIcon.icns
16+
.com.apple.timemachine.donotpresent
17+
18+
# databricks labs install .
119
/.databricks-login.json
2-
vendor/
20+
21+
# VSCode debug configs
322
.vscode/launch.json
4-
dist/
23+
24+
# Binaries
25+
dist/
26+
27+
# Logs
28+
*.log
29+
*.out
30+
31+
# Binaries for programs and plugins
32+
*.exe
33+
*.exe~
34+
*.dll
35+
*.so
36+
*.dylib
37+
38+
# Test binary, built with `go test -c`
39+
*.test
40+
41+
# Output of the go coverage tool, specifically when used with LiteIDE
42+
*.out
43+
44+
# Go dependency directories
45+
vendor/
46+
47+
# Byte-compiled / optimized / DLL files
48+
__pycache__/
49+
*.py[cod]
50+
*$py.class
51+
52+
# C extensions
53+
*.so
54+
55+
# Distribution / packaging
56+
.Python
57+
build/
58+
develop-eggs/
59+
dist/
60+
downloads/
61+
eggs/
62+
.eggs/
63+
lib/
64+
lib64/
65+
parts/
66+
sdist/
67+
var/
68+
wheels/
69+
share/python-wheels/
70+
*.egg-info/
71+
.installed.cfg
72+
*.egg
73+
MANIFEST
74+
75+
# PyInstaller
76+
# Usually these files are written by a python script from a template
77+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
78+
*.manifest
79+
*.spec
80+
81+
# Installer logs
82+
pip-log.txt
83+
pip-delete-this-directory.txt
84+
85+
# Unit test / coverage reports
86+
htmlcov/
87+
.tox/
88+
.nox/
89+
.coverage
90+
.coverage.*
91+
.cache
92+
nosetests.xml
93+
coverage.xml
94+
*.cover
95+
*.py,cover
96+
.hypothesis/
97+
.pytest_cache/
98+
cover/
99+
100+
# Translations
101+
*.mo
102+
*.pot
103+
104+
# Scrapy stuff:
105+
.scrapy
106+
107+
# Sphinx documentation
108+
docs/_build/
109+
110+
# PyBuilder
111+
.pybuilder/
112+
target/
113+
114+
# Jupyter Notebook
115+
.ipynb_checkpoints
116+
117+
# IPython
118+
profile_default/
119+
ipython_config.py
120+
121+
# pyenv
122+
# For a library or package, you might want to ignore these files since the code is
123+
# intended to run in multiple environments; otherwise, check them in:
124+
.python-version
125+
126+
# pdm
127+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
128+
#pdm.lock
129+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
130+
# in version control.
131+
# https://pdm.fming.dev/#use-with-ide
132+
.pdm.toml
133+
134+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
135+
__pypackages__/
136+
137+
# Celery stuff
138+
celerybeat-schedule
139+
celerybeat.pid
140+
141+
# SageMath parsed files
142+
*.sage.py
143+
144+
# Environments
145+
.env
146+
.venv
147+
env/
148+
venv/
149+
ENV/
150+
env.bak/
151+
venv.bak/
152+
153+
# Spyder project settings
154+
.spyderproject
155+
.spyproject
156+
157+
# Rope project settings
158+
.ropeproject
159+
160+
# mkdocs documentation
161+
/site
162+
163+
# mypy
164+
.mypy_cache/
165+
.dmypy.json
166+
dmypy.json
167+
168+
# Pyre type checker
169+
.pyre/
170+
171+
# pytype static type analyzer
172+
.pytype/
173+
174+
# Cython debug symbols
175+
cython_debug/
176+
177+
# PyCharm
178+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
179+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
180+
# and can be added to the global gitignore or merged into this file. For a more nuclear
181+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
182+
.idea/

go-libs/NOTICE renamed to NOTICE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
This Software includes software developed at Databricks (https://www.databricks.com/) and its use is subject to the included LICENSE file.
22

3-
This Software contains code from the following open source projects, licensed under the Databricks License:
3+
This Software contains code from the following projects, licensed under the Databricks License:
44

5-
Databricks CLI - https://github.com/databricks/cli/blame/main/libs/cmdio/render.go
5+
Databricks CLI
66
Copyright (2022) Databricks, Inc.
77
License - https://github.com/databricks/cli/blob/main/LICENSE

README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
# sandbox
1+
# ![Databricks Labs Sandbox](./docs/logo-no-background.svg)
22
Experimental and low-maturity scripts
3+
4+
## Project support
5+
6+
Please note the code in this project is provided for your exploration only, and are not formally supported by Databricks with Service Level Agreements (SLAs). They are provided AS-IS and we do not make any guarantees of any kind. Please do not submit a support ticket relating to any issues arising from the use of these projects. The source in this project is provided subject to the [Databricks License](./LICENSE). All included or referenced third party libraries are subject to the licenses set forth below.
7+
8+
Any issues discovered through the use of this project should be filed as GitHub Issues on the Repo. They will be reviewed as time permits, but there are no formal SLAs for support.

docs/logo-no-background.svg

+1
Loading

go-libs/env/context_test.go

-2
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,10 @@ import (
44
"context"
55
"testing"
66

7-
"github.com/databricks/cli/internal/testutil"
87
"github.com/stretchr/testify/assert"
98
)
109

1110
func TestContext(t *testing.T) {
12-
testutil.CleanupEnvironment(t)
1311
t.Setenv("FOO", "bar")
1412

1513
ctx0 := context.Background()

go-libs/go.mod

+19-1
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,19 @@ require (
1111
github.com/spf13/pflag v1.0.5
1212
github.com/spf13/viper v1.17.0
1313
github.com/stretchr/testify v1.8.4
14+
golang.org/x/oauth2 v0.15.0
1415
)
1516

1617
require (
18+
cloud.google.com/go/compute v1.23.3 // indirect
19+
cloud.google.com/go/compute/metadata v0.2.3 // indirect
1720
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
1821
github.com/fsnotify/fsnotify v1.6.0 // indirect
22+
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
23+
github.com/golang/protobuf v1.5.3 // indirect
24+
github.com/google/go-querystring v1.1.0 // indirect
25+
github.com/google/s2a-go v0.1.7 // indirect
26+
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
1927
github.com/hashicorp/hcl v1.0.0 // indirect
2028
github.com/inconshreveable/mousetrap v1.1.0 // indirect
2129
github.com/magiconair/properties v1.8.7 // indirect
@@ -30,12 +38,22 @@ require (
3038
github.com/spf13/afero v1.10.0 // indirect
3139
github.com/spf13/cast v1.5.1 // indirect
3240
github.com/subosito/gotenv v1.6.0 // indirect
41+
go.opencensus.io v0.24.0 // indirect
3342
go.uber.org/atomic v1.9.0 // indirect
3443
go.uber.org/multierr v1.9.0 // indirect
44+
golang.org/x/crypto v0.16.0 // indirect
3545
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
46+
golang.org/x/mod v0.14.0 // indirect
47+
golang.org/x/net v0.19.0 // indirect
3648
golang.org/x/sys v0.15.0 // indirect
37-
golang.org/x/term v0.1.0 // indirect
49+
golang.org/x/term v0.15.0 // indirect
3850
golang.org/x/text v0.14.0 // indirect
51+
golang.org/x/time v0.5.0 // indirect
52+
google.golang.org/api v0.152.0 // indirect
53+
google.golang.org/appengine v1.6.7 // indirect
54+
google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f // indirect
55+
google.golang.org/grpc v1.59.0 // indirect
56+
google.golang.org/protobuf v1.31.0 // indirect
3957
gopkg.in/ini.v1 v1.67.0 // indirect
4058
gopkg.in/yaml.v3 v3.0.1 // indirect
4159
)

0 commit comments

Comments
 (0)