envd 0.3.45__tar.gz → 0.3.46__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of envd might be problematic. Click here for more details.

Files changed (304) hide show
  1. envd-0.3.46/.GIT_TAG_INFO +1 -0
  2. {envd-0.3.45 → envd-0.3.46}/.all-contributorsrc +9 -0
  3. {envd-0.3.45 → envd-0.3.46}/.gitignore +3 -0
  4. {envd-0.3.45 → envd-0.3.46}/.golangci.yml +1 -1
  5. envd-0.3.46/.lycheeignore +7 -0
  6. {envd-0.3.45 → envd-0.3.46}/CHANGELOG.md +9 -0
  7. {envd-0.3.45 → envd-0.3.46}/Makefile +8 -7
  8. {envd-0.3.45 → envd-0.3.46}/PKG-INFO +3 -2
  9. {envd-0.3.45 → envd-0.3.46}/README.md +2 -1
  10. {envd-0.3.45 → envd-0.3.46}/envd/api/v0/config.py +1 -1
  11. {envd-0.3.45 → envd-0.3.46}/envd/api/v0/io.py +0 -1
  12. {envd-0.3.45 → envd-0.3.46}/envd/api/v0/runtime.py +1 -1
  13. {envd-0.3.45 → envd-0.3.46}/envd/api/v1/install.py +17 -15
  14. {envd-0.3.45 → envd-0.3.46}/envd/api/v1/runtime.py +1 -1
  15. {envd-0.3.45 → envd-0.3.46}/envd.egg-info/PKG-INFO +3 -2
  16. {envd-0.3.45 → envd-0.3.46}/envd.egg-info/SOURCES.txt +3 -1
  17. {envd-0.3.45 → envd-0.3.46}/go.mod +102 -96
  18. {envd-0.3.45 → envd-0.3.46}/go.sum +268 -249
  19. envd-0.3.46/lychee.toml +4 -0
  20. {envd-0.3.45 → envd-0.3.46}/pkg/app/debug_llb.go +6 -29
  21. {envd-0.3.45 → envd-0.3.46}/pkg/app/image_prune.go +2 -2
  22. {envd-0.3.45 → envd-0.3.46}/pkg/app/image_prune_test.go +3 -3
  23. {envd-0.3.45 → envd-0.3.46}/pkg/app/prune.go +4 -2
  24. {envd-0.3.45 → envd-0.3.46}/pkg/app/up.go +15 -0
  25. {envd-0.3.45 → envd-0.3.46}/pkg/autocomplete/zsh.go +1 -1
  26. {envd-0.3.45 → envd-0.3.46}/pkg/builder/build.go +1 -1
  27. {envd-0.3.45 → envd-0.3.46}/pkg/builder/util.go +4 -2
  28. {envd-0.3.45 → envd-0.3.46}/pkg/buildkitd/buildkitd.go +9 -5
  29. {envd-0.3.45 → envd-0.3.46}/pkg/buildkitd/mock/mock.go +4 -4
  30. {envd-0.3.45 → envd-0.3.46}/pkg/driver/client.go +3 -3
  31. {envd-0.3.45 → envd-0.3.46}/pkg/driver/docker/docker.go +31 -23
  32. {envd-0.3.45 → envd-0.3.46}/pkg/driver/nerdctl/nerdctl.go +5 -4
  33. {envd-0.3.45 → envd-0.3.46}/pkg/envd/docker.go +38 -35
  34. envd-0.3.46/pkg/envd/docker_test.go +164 -0
  35. {envd-0.3.45 → envd-0.3.46}/pkg/envd/engine.go +2 -2
  36. {envd-0.3.45 → envd-0.3.46}/pkg/envd/envdserver.go +3 -3
  37. {envd-0.3.45 → envd-0.3.46}/pkg/envd/types.go +1 -0
  38. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/compile.go +2 -2
  39. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/system.go +5 -3
  40. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/compile.go +2 -2
  41. {envd-0.3.45 → envd-0.3.46}/pkg/progress/compileui/display.go +4 -4
  42. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/device.go +1 -1
  43. {envd-0.3.45 → envd-0.3.46}/pkg/types/envd.go +5 -3
  44. envd-0.3.46/pyproject.toml +12 -0
  45. {envd-0.3.45 → envd-0.3.46}/setup.py +5 -6
  46. envd-0.3.45/.GIT_TAG_INFO +0 -1
  47. envd-0.3.45/.markdown-lint.json +0 -7
  48. envd-0.3.45/pyproject.toml +0 -3
  49. {envd-0.3.45 → envd-0.3.46}/.editorconfig +0 -0
  50. {envd-0.3.45 → envd-0.3.46}/.goreleaser.yaml +0 -0
  51. {envd-0.3.45 → envd-0.3.46}/.pre-commit-config.yaml +0 -0
  52. {envd-0.3.45 → envd-0.3.46}/.vscode/launch.json +0 -0
  53. {envd-0.3.45 → envd-0.3.46}/CODEOWNERS +0 -0
  54. {envd-0.3.45 → envd-0.3.46}/CODE_OF_CONDUCT.md +0 -0
  55. {envd-0.3.45 → envd-0.3.46}/LICENSE +0 -0
  56. {envd-0.3.45 → envd-0.3.46}/MANIFEST.in +0 -0
  57. {envd-0.3.45 → envd-0.3.46}/OWNERS +0 -0
  58. {envd-0.3.45 → envd-0.3.46}/base-images/.dockerignore +0 -0
  59. {envd-0.3.45 → envd-0.3.46}/base-images/build.sh +0 -0
  60. {envd-0.3.45 → envd-0.3.46}/base-images/envd/build.sh +0 -0
  61. {envd-0.3.45 → envd-0.3.46}/base-images/envd/envd-daemonless.Dockerfile +0 -0
  62. {envd-0.3.45 → envd-0.3.46}/base-images/envd/envd.Dockerfile +0 -0
  63. {envd-0.3.45 → envd-0.3.46}/base-images/envd-sshd/envd-sshd.Dockerfile +0 -0
  64. {envd-0.3.45 → envd-0.3.46}/base-images/envd-starship/envd-starship.Dockerfile +0 -0
  65. {envd-0.3.45 → envd-0.3.46}/base-images/julia1.8rc1-ubuntu20.04.Dockerfile +0 -0
  66. {envd-0.3.45 → envd-0.3.46}/base-images/r4.2.Dockerfile +0 -0
  67. {envd-0.3.45 → envd-0.3.46}/base-images/remote-cache/build-and-push-remote-cache.sh +0 -0
  68. {envd-0.3.45 → envd-0.3.46}/base-images/remote-cache/build.envd +0 -0
  69. {envd-0.3.45 → envd-0.3.46}/cmd/envd/main.go +0 -0
  70. {envd-0.3.45 → envd-0.3.46}/cmd/envd-sshd/main.go +0 -0
  71. {envd-0.3.45 → envd-0.3.46}/envd/api/v0/__init__.py +0 -0
  72. {envd-0.3.45 → envd-0.3.46}/envd/api/v0/install.py +0 -0
  73. {envd-0.3.45 → envd-0.3.46}/envd/api/v1/__init__.py +0 -0
  74. {envd-0.3.45 → envd-0.3.46}/envd/api/v1/config.py +0 -0
  75. {envd-0.3.45 → envd-0.3.46}/envd/api/v1/io.py +0 -0
  76. {envd-0.3.45 → envd-0.3.46}/envd/api.go +0 -0
  77. {envd-0.3.45 → envd-0.3.46}/envd.egg-info/dependency_links.txt +0 -0
  78. {envd-0.3.45 → envd-0.3.46}/envd.egg-info/not-zip-safe +0 -0
  79. {envd-0.3.45 → envd-0.3.46}/envd.egg-info/top_level.txt +0 -0
  80. {envd-0.3.45 → envd-0.3.46}/pkg/app/app.go +0 -0
  81. {envd-0.3.45 → envd-0.3.46}/pkg/app/bootstrap.go +0 -0
  82. {envd-0.3.45 → envd-0.3.46}/pkg/app/build/build.go +0 -0
  83. {envd-0.3.45 → envd-0.3.46}/pkg/app/build.go +0 -0
  84. {envd-0.3.45 → envd-0.3.46}/pkg/app/completion.go +0 -0
  85. {envd-0.3.45 → envd-0.3.46}/pkg/app/const.go +0 -0
  86. {envd-0.3.45 → envd-0.3.46}/pkg/app/context.go +0 -0
  87. {envd-0.3.45 → envd-0.3.46}/pkg/app/context_create.go +0 -0
  88. {envd-0.3.45 → envd-0.3.46}/pkg/app/context_ls.go +0 -0
  89. {envd-0.3.45 → envd-0.3.46}/pkg/app/context_rm.go +0 -0
  90. {envd-0.3.45 → envd-0.3.46}/pkg/app/context_use.go +0 -0
  91. {envd-0.3.45 → envd-0.3.46}/pkg/app/debug.go +0 -0
  92. {envd-0.3.45 → envd-0.3.46}/pkg/app/destroy.go +0 -0
  93. {envd-0.3.45 → envd-0.3.46}/pkg/app/env.go +0 -0
  94. {envd-0.3.45 → envd-0.3.46}/pkg/app/env_describe.go +0 -0
  95. {envd-0.3.45 → envd-0.3.46}/pkg/app/env_ls.go +0 -0
  96. {envd-0.3.45 → envd-0.3.46}/pkg/app/exec.go +0 -0
  97. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/data.go +0 -0
  98. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/json/context.go +0 -0
  99. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/json/env.go +0 -0
  100. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/json/image.go +0 -0
  101. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/json/print.go +0 -0
  102. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/json/version.go +0 -0
  103. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/table/context.go +0 -0
  104. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/table/env.go +0 -0
  105. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/table/image.go +0 -0
  106. {envd-0.3.45 → envd-0.3.46}/pkg/app/formatter/table/version.go +0 -0
  107. {envd-0.3.45 → envd-0.3.46}/pkg/app/image.go +0 -0
  108. {envd-0.3.45 → envd-0.3.46}/pkg/app/image_describe.go +0 -0
  109. {envd-0.3.45 → envd-0.3.46}/pkg/app/image_remove.go +0 -0
  110. {envd-0.3.45 → envd-0.3.46}/pkg/app/init.go +0 -0
  111. {envd-0.3.45 → envd-0.3.46}/pkg/app/interactive.go +0 -0
  112. {envd-0.3.45 → envd-0.3.46}/pkg/app/login.go +0 -0
  113. {envd-0.3.45 → envd-0.3.46}/pkg/app/pause.go +0 -0
  114. {envd-0.3.45 → envd-0.3.46}/pkg/app/reference.go +0 -0
  115. {envd-0.3.45 → envd-0.3.46}/pkg/app/resume.go +0 -0
  116. {envd-0.3.45 → envd-0.3.46}/pkg/app/run.go +0 -0
  117. {envd-0.3.45 → envd-0.3.46}/pkg/app/telemetry/reporter.go +0 -0
  118. {envd-0.3.45 → envd-0.3.46}/pkg/app/template/julia.envd +0 -0
  119. {envd-0.3.45 → envd-0.3.46}/pkg/app/template/r.envd +0 -0
  120. {envd-0.3.45 → envd-0.3.46}/pkg/app/top.go +0 -0
  121. {envd-0.3.45 → envd-0.3.46}/pkg/app/version.go +0 -0
  122. {envd-0.3.45 → envd-0.3.46}/pkg/autocomplete/bash.go +0 -0
  123. {envd-0.3.45 → envd-0.3.46}/pkg/autocomplete/fish.go +0 -0
  124. {envd-0.3.45 → envd-0.3.46}/pkg/builder/build_func.go +0 -0
  125. {envd-0.3.45 → envd-0.3.46}/pkg/builder/builder.go +0 -0
  126. {envd-0.3.45 → envd-0.3.46}/pkg/builder/builder_suite_test.go +0 -0
  127. {envd-0.3.45 → envd-0.3.46}/pkg/builder/builder_test.go +0 -0
  128. {envd-0.3.45 → envd-0.3.46}/pkg/builder/dep_check.go +0 -0
  129. {envd-0.3.45 → envd-0.3.46}/pkg/builder/err.go +0 -0
  130. {envd-0.3.45 → envd-0.3.46}/pkg/builder/types.go +0 -0
  131. {envd-0.3.45 → envd-0.3.46}/pkg/builder/util_test.go +0 -0
  132. {envd-0.3.45 → envd-0.3.46}/pkg/buildkitd/print.go +0 -0
  133. {envd-0.3.45 → envd-0.3.46}/pkg/config/config.go +0 -0
  134. {envd-0.3.45 → envd-0.3.46}/pkg/data/datasource.go +0 -0
  135. {envd-0.3.45 → envd-0.3.46}/pkg/data/envd.go +0 -0
  136. {envd-0.3.45 → envd-0.3.46}/pkg/driver/docker/docker_suite_test.go +0 -0
  137. {envd-0.3.45 → envd-0.3.46}/pkg/driver/docker/docker_test.go +0 -0
  138. {envd-0.3.45 → envd-0.3.46}/pkg/driver/docker/label.go +0 -0
  139. {envd-0.3.45 → envd-0.3.46}/pkg/driver/nerdctl/buildkit.go +0 -0
  140. {envd-0.3.45 → envd-0.3.46}/pkg/driver/stats_type.go +0 -0
  141. {envd-0.3.45 → envd-0.3.46}/pkg/editor/vscode/types.go +0 -0
  142. {envd-0.3.45 → envd-0.3.46}/pkg/editor/vscode/util.go +0 -0
  143. {envd-0.3.45 → envd-0.3.46}/pkg/editor/vscode/vscode.go +0 -0
  144. {envd-0.3.45 → envd-0.3.46}/pkg/editor/vscode/vscode_suite_test.go +0 -0
  145. {envd-0.3.45 → envd-0.3.46}/pkg/editor/vscode/vscode_test.go +0 -0
  146. {envd-0.3.45 → envd-0.3.46}/pkg/envd/factory.go +0 -0
  147. {envd-0.3.45 → envd-0.3.46}/pkg/flag/consts.go +0 -0
  148. {envd-0.3.45 → envd-0.3.46}/pkg/home/auth.go +0 -0
  149. {envd-0.3.45 → envd-0.3.46}/pkg/home/auth_test.go +0 -0
  150. {envd-0.3.45 → envd-0.3.46}/pkg/home/cache.go +0 -0
  151. {envd-0.3.45 → envd-0.3.46}/pkg/home/config.go +0 -0
  152. {envd-0.3.45 → envd-0.3.46}/pkg/home/context.go +0 -0
  153. {envd-0.3.45 → envd-0.3.46}/pkg/home/context_test.go +0 -0
  154. {envd-0.3.45 → envd-0.3.46}/pkg/home/data.go +0 -0
  155. {envd-0.3.45 → envd-0.3.46}/pkg/home/home_suite_test.go +0 -0
  156. {envd-0.3.45 → envd-0.3.46}/pkg/home/manager.go +0 -0
  157. {envd-0.3.45 → envd-0.3.46}/pkg/home/manager_test.go +0 -0
  158. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/interpreter.go +0 -0
  159. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/mock/mock.go +0 -0
  160. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/builtin/builtin.go +0 -0
  161. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/config/config.go +0 -0
  162. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/config/const.go +0 -0
  163. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/data/const.go +0 -0
  164. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/data/rule.go +0 -0
  165. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/data/util.go +0 -0
  166. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/install/const.go +0 -0
  167. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/install/install.go +0 -0
  168. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/interpreter.go +0 -0
  169. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/interpreter_test.go +0 -0
  170. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/io/const.go +0 -0
  171. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/io/io.go +0 -0
  172. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/runtime/const.go +0 -0
  173. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/runtime/runtime.go +0 -0
  174. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/starlark_suite_test.go +0 -0
  175. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/testdata/test.envd +0 -0
  176. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/universe/const.go +0 -0
  177. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v0/universe/universe.go +0 -0
  178. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/builtin/builtin.go +0 -0
  179. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/config/config.go +0 -0
  180. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/config/const.go +0 -0
  181. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/data/const.go +0 -0
  182. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/data/rule.go +0 -0
  183. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/data/util.go +0 -0
  184. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/install/const.go +0 -0
  185. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/install/install.go +0 -0
  186. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/interpreter.go +0 -0
  187. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/interpreter_test.go +0 -0
  188. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/io/const.go +0 -0
  189. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/io/io.go +0 -0
  190. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/runtime/const.go +0 -0
  191. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/runtime/runtime.go +0 -0
  192. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/starlark_suite_test.go +0 -0
  193. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/testdata/test.envd +0 -0
  194. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/universe/const.go +0 -0
  195. {envd-0.3.45 → envd-0.3.46}/pkg/lang/frontend/starlark/v1/universe/universe.go +0 -0
  196. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/graph.go +0 -0
  197. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/types.go +0 -0
  198. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/util.go +0 -0
  199. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/cache.go +0 -0
  200. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/checker.go +0 -0
  201. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/conda.go +0 -0
  202. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/consts.go +0 -0
  203. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/custom.go +0 -0
  204. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/editor.go +0 -0
  205. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/editor_test.go +0 -0
  206. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/fs.go +0 -0
  207. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/git.go +0 -0
  208. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/install-conda.sh +0 -0
  209. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/install-mamba.sh +0 -0
  210. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/interface.go +0 -0
  211. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/julia.go +0 -0
  212. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/python.go +0 -0
  213. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/r.go +0 -0
  214. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/shell.go +0 -0
  215. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/supervisor.go +0 -0
  216. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/types.go +0 -0
  217. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/user.go +0 -0
  218. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/util.go +0 -0
  219. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v0/util_test.go +0 -0
  220. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/cache.go +0 -0
  221. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/checker.go +0 -0
  222. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/conda.go +0 -0
  223. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/consts.go +0 -0
  224. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/editor.go +0 -0
  225. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/editor_test.go +0 -0
  226. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/fs.go +0 -0
  227. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/get_conda.sh +0 -0
  228. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/git.go +0 -0
  229. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/install_conda.sh +0 -0
  230. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/interface.go +0 -0
  231. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/julia.go +0 -0
  232. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/julia.sh +0 -0
  233. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/python.go +0 -0
  234. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/r.go +0 -0
  235. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/shell.go +0 -0
  236. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/supervisor.go +0 -0
  237. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/system.go +0 -0
  238. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/types.go +0 -0
  239. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/user.go +0 -0
  240. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/util.go +0 -0
  241. {envd-0.3.45 → envd-0.3.46}/pkg/lang/ir/v1/util_test.go +0 -0
  242. {envd-0.3.45 → envd-0.3.46}/pkg/lang/version/version.go +0 -0
  243. {envd-0.3.45 → envd-0.3.46}/pkg/metrics/collector.go +0 -0
  244. {envd-0.3.45 → envd-0.3.46}/pkg/metrics/docker_collector.go +0 -0
  245. {envd-0.3.45 → envd-0.3.46}/pkg/metrics/helper.go +0 -0
  246. {envd-0.3.45 → envd-0.3.46}/pkg/metrics/model.go +0 -0
  247. {envd-0.3.45 → envd-0.3.46}/pkg/metrics/widget.go +0 -0
  248. {envd-0.3.45 → envd-0.3.46}/pkg/progress/compileui/mock/mock.go +0 -0
  249. {envd-0.3.45 → envd-0.3.46}/pkg/progress/compileui/term.go +0 -0
  250. {envd-0.3.45 → envd-0.3.46}/pkg/progress/compileui/term_windows.go +0 -0
  251. {envd-0.3.45 → envd-0.3.46}/pkg/progress/compileui/trace.go +0 -0
  252. {envd-0.3.45 → envd-0.3.46}/pkg/progress/compileui/types.go +0 -0
  253. {envd-0.3.45 → envd-0.3.46}/pkg/progress/mode/mode.go +0 -0
  254. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progressui/display.go +0 -0
  255. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progressui/display_test.go +0 -0
  256. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progressui/printer.go +0 -0
  257. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progressui/term.go +0 -0
  258. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progressui/term_windows.go +0 -0
  259. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progresswriter/printer.go +0 -0
  260. {envd-0.3.45 → envd-0.3.46}/pkg/progress/progresswriter/writer.go +0 -0
  261. {envd-0.3.45 → envd-0.3.46}/pkg/remote/sshd/os.go +0 -0
  262. {envd-0.3.45 → envd-0.3.46}/pkg/remote/sshd/sshd.go +0 -0
  263. {envd-0.3.45 → envd-0.3.46}/pkg/shell/install.sh +0 -0
  264. {envd-0.3.45 → envd-0.3.46}/pkg/shell/zsh.go +0 -0
  265. {envd-0.3.45 → envd-0.3.46}/pkg/shell/zsh_suite_test.go +0 -0
  266. {envd-0.3.45 → envd-0.3.46}/pkg/shell/zsh_test.go +0 -0
  267. {envd-0.3.45 → envd-0.3.46}/pkg/shell/zshrc +0 -0
  268. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/config/entry.go +0 -0
  269. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/config/key.go +0 -0
  270. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/config/ssh_config.go +0 -0
  271. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/config/ssh_config_suite_test.go +0 -0
  272. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/config/ssh_config_test.go +0 -0
  273. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/copy.go +0 -0
  274. {envd-0.3.45 → envd-0.3.46}/pkg/ssh/ssh.go +0 -0
  275. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/client.go +0 -0
  276. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/config.go +0 -0
  277. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/event.go +0 -0
  278. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/file.go +0 -0
  279. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/folder.go +0 -0
  280. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/install.go +0 -0
  281. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/syncthing.go +0 -0
  282. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/syncthing_test.go +0 -0
  283. {envd-0.3.45 → envd-0.3.46}/pkg/syncthing/util.go +0 -0
  284. {envd-0.3.45 → envd-0.3.46}/pkg/types/container.go +0 -0
  285. {envd-0.3.45 → envd-0.3.46}/pkg/types/label.go +0 -0
  286. {envd-0.3.45 → envd-0.3.46}/pkg/types/types_suite_test.go +0 -0
  287. {envd-0.3.45 → envd-0.3.46}/pkg/util/buildkitutil/buildkit.go +0 -0
  288. {envd-0.3.45 → envd-0.3.46}/pkg/util/buildkitutil/buildkit_test.go +0 -0
  289. {envd-0.3.45 → envd-0.3.46}/pkg/util/envutil/env.go +0 -0
  290. {envd-0.3.45 → envd-0.3.46}/pkg/util/envutil/env_test.go +0 -0
  291. {envd-0.3.45 → envd-0.3.46}/pkg/util/fileutil/file.go +0 -0
  292. {envd-0.3.45 → envd-0.3.46}/pkg/util/fileutil/file_test.go +0 -0
  293. {envd-0.3.45 → envd-0.3.46}/pkg/util/fileutil/namegenerator.go +0 -0
  294. {envd-0.3.45 → envd-0.3.46}/pkg/util/netutil/netutil.go +0 -0
  295. {envd-0.3.45 → envd-0.3.46}/pkg/util/netutil/netutil_test.go +0 -0
  296. {envd-0.3.45 → envd-0.3.46}/pkg/util/osutil/wsl.go +0 -0
  297. {envd-0.3.45 → envd-0.3.46}/pkg/util/runtimeutil/runtimeutil.go +0 -0
  298. {envd-0.3.45 → envd-0.3.46}/pkg/util/starlarkutil/stringslice.go +0 -0
  299. {envd-0.3.45 → envd-0.3.46}/pkg/util/starlarkutil/stringslice_test.go +0 -0
  300. {envd-0.3.45 → envd-0.3.46}/pkg/util/ziputil/unzip.go +0 -0
  301. {envd-0.3.45 → envd-0.3.46}/pkg/version/version.go +0 -0
  302. {envd-0.3.45 → envd-0.3.46}/scripts/envd-daemonless.sh +0 -0
  303. {envd-0.3.45 → envd-0.3.46}/setup.cfg +0 -0
  304. {envd-0.3.45 → envd-0.3.46}/typos.toml +0 -0
@@ -0,0 +1 @@
1
+ v0.3.46
@@ -628,6 +628,15 @@
628
628
  "contributions": [
629
629
  "code"
630
630
  ]
631
+ },
632
+ {
633
+ "login": "arugal",
634
+ "name": "zhang-wei",
635
+ "avatar_url": "https://avatars.githubusercontent.com/u/26432832?v=4",
636
+ "profile": "http://blogs.zhangwei.asia",
637
+ "contributions": [
638
+ "code"
639
+ ]
631
640
  }
632
641
  ],
633
642
  "contributorsPerLine": 7,
@@ -69,3 +69,6 @@ MANIFEST
69
69
  .GIT_TAG_INFO
70
70
 
71
71
  test.tar
72
+
73
+ # ruff
74
+ .ruff_cache/
@@ -3,7 +3,7 @@ linters:
3
3
  - bodyclose
4
4
  - errcheck
5
5
  - errorlint
6
- - exportloopref
6
+ - copyloopvar
7
7
  - gofmt
8
8
  - goimports
9
9
  - gosimple
@@ -0,0 +1,7 @@
1
+ # blog no longer exists
2
+ https://www.iam.rw/
3
+ http://lizheming.top/
4
+ https://bandism.net/
5
+ https://blog.thrimbda.com/
6
+ # github disappeared (rename?)
7
+ https://github.com/yczheng0
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.3.45 (2024-01-24)
4
+
5
+ * [639c188](https://github.com/tensorchord/envd/commit/639c188536181c1d621bd45d04b2243fef72c467) fix: go-git security issue GHSA-mw99-9chc-xw7r (#1844)
6
+ * [457f5fd](https://github.com/tensorchord/envd/commit/457f5fd9a0509f5ef64ce7ea9ce5a2cea601b85e) fix: allow cli --gpus to override config gpu (#1843)
7
+
8
+ ### Contributors
9
+
10
+ * Keming
11
+
3
12
  ## v0.3.44 (2024-01-16)
4
13
 
5
14
  * [1f927d7](https://github.com/tensorchord/envd/commit/1f927d7813a687123e637d59c65417b8780088cf) fix: fix comment in /pkg/home/auth.go. (#1831)
@@ -176,7 +176,7 @@ test-local:
176
176
  @go test -v -race -coverprofile=coverage.out ./...
177
177
 
178
178
  test: generate ## Run the tests
179
- @go test -race -coverpkg=./pkg/... -coverprofile=coverage.out $(shell go list ./... | grep -v e2e)
179
+ @go test -race -coverpkg=./pkg/... -coverprofile=coverage.out ./pkg/...
180
180
  @go tool cover -func coverage.out | tail -n 1 | awk '{ print "Total coverage: " $$3 }'
181
181
 
182
182
  e2e-test:
@@ -254,11 +254,12 @@ fmt: ## Run go fmt against code.
254
254
  vet: ## Run go vet against code.
255
255
  go vet ./...
256
256
 
257
- black-install:
258
- @pip install -q black[jupyter]
257
+ ruff-install:
258
+ @pip install -q ruff
259
259
 
260
- envd-lint: black-install
261
- black --check --include '(\.envd|\.py|\.ipynb)$$' .
260
+ envd-lint: ruff-install
261
+ @ruff check .
262
262
 
263
- envd-fmt: black-install
264
- black --include '(\.envd|\.py|\.ipynb)$$' .
263
+ envd-fmt: ruff-install
264
+ @ruff format .
265
+ @ruff check --fix .
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: envd
3
- Version: 0.3.45
3
+ Version: 0.3.46
4
4
  Summary: A development environment management tool for data scientists.
5
5
  Home-page: https://github.com/tensorchord/envd
6
6
  Author: TensorChord
@@ -396,9 +396,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
396
396
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xieydd"><img src="https://avatars.githubusercontent.com/u/20329697?v=4?s=70" width="70px;" alt="xieydd"/><br /><sub><b>xieydd</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=xieydd" title="Code">💻</a></td>
397
397
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xing0821"><img src="https://avatars.githubusercontent.com/u/54933318?v=4?s=70" width="70px;" alt="xing0821"/><br /><sub><b>xing0821</b></sub></a><br /><a href="#ideas-xing0821" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-xing0821" title="User Testing">📓</a> <a href="https://github.com/tensorchord/envd/commits?author=xing0821" title="Code">💻</a></td>
398
398
  <td align="center" valign="top" width="14.28%"><a href="https://xxchan.github.io"><img src="https://avatars.githubusercontent.com/u/37948597?v=4?s=70" width="70px;" alt="xxchan"/><br /><sub><b>xxchan</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=xxchan" title="Documentation">📖</a></td>
399
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhyon404"><img src="https://avatars.githubusercontent.com/u/32242529?v=4?s=70" width="70px;" alt="zhyon404"/><br /><sub><b>zhyon404</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=zhyon404" title="Code">💻</a></td>
399
+ <td align="center" valign="top" width="14.28%"><a href="http://blogs.zhangwei.asia"><img src="https://avatars.githubusercontent.com/u/26432832?v=4?s=70" width="70px;" alt="zhang-wei"/><br /><sub><b>zhang-wei</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=arugal" title="Code">💻</a></td>
400
400
  </tr>
401
401
  <tr>
402
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhyon404"><img src="https://avatars.githubusercontent.com/u/32242529?v=4?s=70" width="70px;" alt="zhyon404"/><br /><sub><b>zhyon404</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=zhyon404" title="Code">💻</a></td>
402
403
  <td align="center" valign="top" width="14.28%"><a href="https://www.homeboyc.cn/"><img src="https://avatars.githubusercontent.com/u/22193008?v=4?s=70" width="70px;" alt="杨成锴"/><br /><sub><b>杨成锴</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=asjdf" title="Code">💻</a></td>
403
404
  </tr>
404
405
  </tbody>
@@ -373,9 +373,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
373
373
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xieydd"><img src="https://avatars.githubusercontent.com/u/20329697?v=4?s=70" width="70px;" alt="xieydd"/><br /><sub><b>xieydd</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=xieydd" title="Code">💻</a></td>
374
374
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xing0821"><img src="https://avatars.githubusercontent.com/u/54933318?v=4?s=70" width="70px;" alt="xing0821"/><br /><sub><b>xing0821</b></sub></a><br /><a href="#ideas-xing0821" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-xing0821" title="User Testing">📓</a> <a href="https://github.com/tensorchord/envd/commits?author=xing0821" title="Code">💻</a></td>
375
375
  <td align="center" valign="top" width="14.28%"><a href="https://xxchan.github.io"><img src="https://avatars.githubusercontent.com/u/37948597?v=4?s=70" width="70px;" alt="xxchan"/><br /><sub><b>xxchan</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=xxchan" title="Documentation">📖</a></td>
376
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhyon404"><img src="https://avatars.githubusercontent.com/u/32242529?v=4?s=70" width="70px;" alt="zhyon404"/><br /><sub><b>zhyon404</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=zhyon404" title="Code">💻</a></td>
376
+ <td align="center" valign="top" width="14.28%"><a href="http://blogs.zhangwei.asia"><img src="https://avatars.githubusercontent.com/u/26432832?v=4?s=70" width="70px;" alt="zhang-wei"/><br /><sub><b>zhang-wei</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=arugal" title="Code">💻</a></td>
377
377
  </tr>
378
378
  <tr>
379
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhyon404"><img src="https://avatars.githubusercontent.com/u/32242529?v=4?s=70" width="70px;" alt="zhyon404"/><br /><sub><b>zhyon404</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=zhyon404" title="Code">💻</a></td>
379
380
  <td align="center" valign="top" width="14.28%"><a href="https://www.homeboyc.cn/"><img src="https://avatars.githubusercontent.com/u/22193008?v=4?s=70" width="70px;" alt="杨成锴"/><br /><sub><b>杨成锴</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=asjdf" title="Code">💻</a></td>
380
381
  </tr>
381
382
  </tbody>
@@ -21,7 +21,7 @@ Please update the python file there instead of directly editing file inside envd
21
21
  :::
22
22
  """
23
23
 
24
- from typing import Optional, List
24
+ from typing import List, Optional
25
25
 
26
26
 
27
27
  def apt_source(source: Optional[str]):
@@ -21,7 +21,6 @@ Please update the python file there instead of directly editing file inside envd
21
21
  :::
22
22
  """
23
23
 
24
-
25
24
  from typing import Optional
26
25
 
27
26
 
@@ -21,7 +21,7 @@ Please update the python file there instead of directly editing file inside envd
21
21
  :::
22
22
  """
23
23
 
24
- from typing import Dict, Optional, List
24
+ from typing import Dict, List, Optional
25
25
 
26
26
 
27
27
  def command(commands: Dict[str, str]):
@@ -27,7 +27,7 @@ v1 is experimental and may change in the future. Make sure to freeze the envd ve
27
27
  :::
28
28
  """
29
29
 
30
- from typing import List, Optional
30
+ from typing import Optional, Sequence
31
31
 
32
32
 
33
33
  def python(version: str = "3.9"):
@@ -57,59 +57,61 @@ def julia():
57
57
  """Install Julia."""
58
58
 
59
59
 
60
- def apt_packages(name: List[str] = []):
60
+ def apt_packages(name: Sequence[str] = ()):
61
61
  """Install package using the system package manager (apt on Ubuntu).
62
62
 
63
63
  Args:
64
- name (List[str]): apt package name list
64
+ name (Sequence[str]): apt package name list
65
65
  """
66
66
 
67
67
 
68
68
  def python_packages(
69
- name: List[str] = [], requirements: str = "", local_wheels: List[str] = []
69
+ name: Sequence[str] = (), requirements: str = "", local_wheels: Sequence[str] = ()
70
70
  ):
71
71
  """Install python package by pip.
72
72
 
73
73
  Args:
74
- name (List[str]): package name list
74
+ name (Sequence[str]): package name list
75
75
  requirements (str): requirements file path
76
- local_wheels (List[str]): local wheels
76
+ local_wheels (Sequence[str]): local wheels
77
77
  (wheel files should be placed under the current directory)
78
78
  """
79
79
 
80
80
 
81
- def conda_packages(name: List[str] = [], channel: List[str] = [], env_file: str = ""):
81
+ def conda_packages(
82
+ name: Sequence[str] = (), channel: Sequence[str] = (), env_file: str = ""
83
+ ):
82
84
  """Install python package by Conda
83
85
 
84
86
  Args:
85
- name (List[str]): List of package names with optional version assignment,
87
+ name (Sequence[str]): List of package names with optional version assignment,
86
88
  such as ['pytorch', 'tensorflow==1.13.0']
87
- channel (List[str]): additional channels
89
+ channel (Sequence[str]): additional channels
88
90
  env_file (str): conda env file path
89
91
  """
90
92
 
91
93
 
92
- def r_packages(name: List[str]):
94
+ def r_packages(name: Sequence[str]):
93
95
  """Install R packages by R package manager.
94
96
 
95
97
  Args:
96
- name (List[str]): package name list
98
+ name (Sequence[str]): package name list
97
99
  """
98
100
 
99
101
 
100
- def julia_packages(name: List[str]):
102
+ def julia_packages(name: Sequence[str]):
101
103
  """Install Julia packages.
102
104
 
103
105
  Args:
104
- name (List[str]): List of Julia packages
106
+ name (Sequence[str]): List of Julia packages
105
107
  """
106
108
 
107
109
 
108
- def vscode_extensions(name: List[str]):
110
+ def vscode_extensions(name: Sequence[str]):
109
111
  """Install VS Code extensions
110
112
 
111
113
  Args:
112
- name (List[str]): extension names, such as ['ms-python.python']
114
+ name (Sequence[str]): extension names, such as ['ms-python.python']
113
115
  """
114
116
 
115
117
 
@@ -27,7 +27,7 @@ v1 is experimental and may change in the future. Make sure to freeze the envd ve
27
27
  :::
28
28
  """
29
29
 
30
- from typing import List, Optional, Dict
30
+ from typing import Dict, List, Optional
31
31
 
32
32
 
33
33
  def command(commands: Dict[str, str]):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: envd
3
- Version: 0.3.45
3
+ Version: 0.3.46
4
4
  Summary: A development environment management tool for data scientists.
5
5
  Home-page: https://github.com/tensorchord/envd
6
6
  Author: TensorChord
@@ -396,9 +396,10 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
396
396
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xieydd"><img src="https://avatars.githubusercontent.com/u/20329697?v=4?s=70" width="70px;" alt="xieydd"/><br /><sub><b>xieydd</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=xieydd" title="Code">💻</a></td>
397
397
  <td align="center" valign="top" width="14.28%"><a href="https://github.com/xing0821"><img src="https://avatars.githubusercontent.com/u/54933318?v=4?s=70" width="70px;" alt="xing0821"/><br /><sub><b>xing0821</b></sub></a><br /><a href="#ideas-xing0821" title="Ideas, Planning, & Feedback">🤔</a> <a href="#userTesting-xing0821" title="User Testing">📓</a> <a href="https://github.com/tensorchord/envd/commits?author=xing0821" title="Code">💻</a></td>
398
398
  <td align="center" valign="top" width="14.28%"><a href="https://xxchan.github.io"><img src="https://avatars.githubusercontent.com/u/37948597?v=4?s=70" width="70px;" alt="xxchan"/><br /><sub><b>xxchan</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=xxchan" title="Documentation">📖</a></td>
399
- <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhyon404"><img src="https://avatars.githubusercontent.com/u/32242529?v=4?s=70" width="70px;" alt="zhyon404"/><br /><sub><b>zhyon404</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=zhyon404" title="Code">💻</a></td>
399
+ <td align="center" valign="top" width="14.28%"><a href="http://blogs.zhangwei.asia"><img src="https://avatars.githubusercontent.com/u/26432832?v=4?s=70" width="70px;" alt="zhang-wei"/><br /><sub><b>zhang-wei</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=arugal" title="Code">💻</a></td>
400
400
  </tr>
401
401
  <tr>
402
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/zhyon404"><img src="https://avatars.githubusercontent.com/u/32242529?v=4?s=70" width="70px;" alt="zhyon404"/><br /><sub><b>zhyon404</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=zhyon404" title="Code">💻</a></td>
402
403
  <td align="center" valign="top" width="14.28%"><a href="https://www.homeboyc.cn/"><img src="https://avatars.githubusercontent.com/u/22193008?v=4?s=70" width="70px;" alt="杨成锴"/><br /><sub><b>杨成锴</b></sub></a><br /><a href="https://github.com/tensorchord/envd/commits?author=asjdf" title="Code">💻</a></td>
403
404
  </tr>
404
405
  </tbody>
@@ -4,7 +4,7 @@
4
4
  .gitignore
5
5
  .golangci.yml
6
6
  .goreleaser.yaml
7
- .markdown-lint.json
7
+ .lycheeignore
8
8
  .pre-commit-config.yaml
9
9
  CHANGELOG.md
10
10
  CODEOWNERS
@@ -16,6 +16,7 @@ OWNERS
16
16
  README.md
17
17
  go.mod
18
18
  go.sum
19
+ lychee.toml
19
20
  pyproject.toml
20
21
  setup.py
21
22
  typos.toml
@@ -129,6 +130,7 @@ pkg/editor/vscode/vscode.go
129
130
  pkg/editor/vscode/vscode_suite_test.go
130
131
  pkg/editor/vscode/vscode_test.go
131
132
  pkg/envd/docker.go
133
+ pkg/envd/docker_test.go
132
134
  pkg/envd/engine.go
133
135
  pkg/envd/envdserver.go
134
136
  pkg/envd/factory.go
@@ -1,6 +1,8 @@
1
1
  module github.com/tensorchord/envd
2
2
 
3
- go 1.19
3
+ go 1.22.6
4
+
5
+ toolchain go1.23.4
4
6
 
5
7
  require (
6
8
  github.com/Pallinder/go-randomdata v1.2.0
@@ -8,60 +10,59 @@ require (
8
10
  github.com/charmbracelet/bubbletea v0.24.2
9
11
  github.com/charmbracelet/lipgloss v0.8.0
10
12
  github.com/cockroachdb/errors v1.11.1
11
- github.com/containerd/console v1.0.4-0.20230313162750-1ae8d489ac81
12
- github.com/containerd/containerd v1.7.3
13
- github.com/containers/image/v5 v5.25.0
13
+ github.com/containerd/console v1.0.4
14
+ github.com/containerd/log v0.1.0
15
+ github.com/containers/image/v5 v5.33.0
14
16
  github.com/creack/pty v1.1.18
15
- github.com/docker/cli v24.0.7+incompatible
16
- github.com/docker/docker v24.0.7+incompatible
17
- github.com/docker/go-connections v0.4.0
17
+ github.com/docker/cli v27.4.0-rc.2+incompatible
18
+ github.com/docker/docker v27.4.0-rc.2+incompatible
19
+ github.com/docker/go-connections v0.5.0
18
20
  github.com/docker/go-units v0.5.0
19
21
  github.com/gizak/termui/v3 v3.1.0
20
- github.com/gliderlabs/ssh v0.3.5
21
- github.com/go-git/go-git/v5 v5.11.0
22
+ github.com/gliderlabs/ssh v0.3.8
23
+ github.com/go-git/go-git/v5 v5.13.1
22
24
  github.com/golang/mock v1.6.0
23
- github.com/google/uuid v1.3.1
24
- github.com/hashicorp/go-getter v1.7.3
25
+ github.com/google/uuid v1.6.0
26
+ github.com/hashicorp/go-getter v1.7.5
25
27
  github.com/mattn/go-isatty v0.0.19
26
- github.com/moby/buildkit v0.11.6
28
+ github.com/moby/buildkit v0.18.2
27
29
  github.com/moby/term v0.5.0
28
30
  github.com/morikuni/aec v1.0.0
29
31
  github.com/olekukonko/tablewriter v0.0.5
30
- github.com/onsi/ginkgo/v2 v2.12.1
31
- github.com/onsi/gomega v1.27.10
32
+ github.com/onsi/ginkgo/v2 v2.19.0
33
+ github.com/onsi/gomega v1.34.1
32
34
  github.com/opencontainers/go-digest v1.0.0
33
- github.com/opencontainers/image-spec v1.1.0-rc2.0.20221005185240-3a7f492d3f1b
35
+ github.com/opencontainers/image-spec v1.1.0
34
36
  github.com/pkg/errors v0.9.1
35
37
  github.com/pkg/sftp v1.13.6
36
38
  github.com/schollz/progressbar/v3 v3.13.1
37
39
  github.com/segmentio/analytics-go/v3 v3.2.1
38
40
  github.com/sirupsen/logrus v1.9.3
39
41
  github.com/spf13/viper v1.16.0
40
- github.com/stretchr/testify v1.8.4
42
+ github.com/stretchr/testify v1.10.0
41
43
  github.com/syncthing/syncthing v1.23.7
42
44
  github.com/tensorchord/envd-server v0.0.27
43
45
  github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea
44
- github.com/tonistiigi/vt100 v0.0.0-20210615222946-8066bb97264f
46
+ github.com/tonistiigi/vt100 v0.0.0-20240514184818-90bafcd6abab
45
47
  github.com/urfave/cli/v2 v2.25.7
46
48
  go.starlark.net v0.0.0-20220328144851-d1966c6b9fcd
47
- golang.org/x/crypto v0.17.0
48
- golang.org/x/sync v0.3.0
49
- golang.org/x/term v0.15.0
50
- golang.org/x/time v0.3.0
49
+ golang.org/x/crypto v0.32.0
50
+ golang.org/x/sync v0.10.0
51
+ golang.org/x/term v0.28.0
52
+ golang.org/x/time v0.6.0
51
53
  )
52
54
 
53
55
  require (
54
- cloud.google.com/go v0.110.0 // indirect
55
- cloud.google.com/go/compute v1.19.1 // indirect
56
- cloud.google.com/go/compute/metadata v0.2.3 // indirect
57
- cloud.google.com/go/iam v0.13.0 // indirect
58
- cloud.google.com/go/storage v1.28.1 // indirect
59
- dario.cat/mergo v1.0.0 // indirect
60
- github.com/AdaLogics/go-fuzz-headers v0.0.0-20230106234847-43070de90fa1 // indirect
56
+ cloud.google.com/go v0.112.0 // indirect
57
+ cloud.google.com/go/compute/metadata v0.5.0 // indirect
58
+ cloud.google.com/go/iam v1.1.5 // indirect
59
+ cloud.google.com/go/storage v1.36.0 // indirect
60
+ dario.cat/mergo v1.0.1 // indirect
61
+ github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
61
62
  github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect
62
- github.com/BurntSushi/toml v1.3.2 // indirect
63
- github.com/Microsoft/go-winio v0.6.1 // indirect
64
- github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
63
+ github.com/BurntSushi/toml v1.4.0 // indirect
64
+ github.com/Microsoft/go-winio v0.6.2 // indirect
65
+ github.com/ProtonMail/go-crypto v1.1.3 // indirect
65
66
  github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be // indirect
66
67
  github.com/aws/aws-sdk-go v1.44.122 // indirect
67
68
  github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
@@ -70,64 +71,66 @@ require (
70
71
  github.com/cloudflare/circl v1.3.7 // indirect
71
72
  github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect
72
73
  github.com/cockroachdb/redact v1.1.5 // indirect
73
- github.com/containerd/continuity v0.4.1 // indirect
74
- github.com/containerd/ttrpc v1.2.2 // indirect
75
- github.com/containerd/typeurl v1.0.2 // indirect
76
- github.com/containerd/typeurl/v2 v2.1.1 // indirect
74
+ github.com/containerd/containerd v1.7.24 // indirect
75
+ github.com/containerd/containerd/api v1.7.19 // indirect
76
+ github.com/containerd/continuity v0.4.5 // indirect
77
+ github.com/containerd/errdefs v0.3.0 // indirect
78
+ github.com/containerd/platforms v0.2.1 // indirect
79
+ github.com/containerd/ttrpc v1.2.5 // indirect
80
+ github.com/containerd/typeurl/v2 v2.2.3 // indirect
77
81
  github.com/containers/libtrust v0.0.0-20230121012942-c1716e8a8d01 // indirect
78
- github.com/containers/ocicrypt v1.1.7 // indirect
79
- github.com/containers/storage v1.46.0 // indirect
80
- github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
81
- github.com/cyphar/filepath-securejoin v0.2.4 // indirect
82
- github.com/davecgh/go-spew v1.1.1 // indirect
83
- github.com/docker/distribution v2.8.2+incompatible // indirect
84
- github.com/docker/docker-credential-helpers v0.7.0 // indirect
82
+ github.com/containers/ocicrypt v1.2.0 // indirect
83
+ github.com/containers/storage v1.56.0 // indirect
84
+ github.com/cpuguy83/go-md2man/v2 v2.0.5 // indirect
85
+ github.com/cyphar/filepath-securejoin v0.3.6 // indirect
86
+ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
87
+ github.com/distribution/reference v0.6.0 // indirect
88
+ github.com/docker/distribution v2.8.3+incompatible // indirect
89
+ github.com/docker/docker-credential-helpers v0.8.2 // indirect
85
90
  github.com/emirpasic/gods v1.18.1 // indirect
91
+ github.com/felixge/httpsnoop v1.0.4 // indirect
86
92
  github.com/fsnotify/fsnotify v1.6.0 // indirect
87
93
  github.com/getsentry/sentry-go v0.18.0 // indirect
88
94
  github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
89
- github.com/go-git/go-billy/v5 v5.5.0 // indirect
90
- github.com/go-logr/logr v1.2.4 // indirect
95
+ github.com/go-git/go-billy/v5 v5.6.1 // indirect
96
+ github.com/go-logr/logr v1.4.2 // indirect
91
97
  github.com/go-logr/stdr v1.2.2 // indirect
92
98
  github.com/go-ole/go-ole v1.2.6 // indirect
93
- github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 // indirect
94
- github.com/gofrs/flock v0.8.1 // indirect
95
- github.com/gogo/googleapis v1.4.1 // indirect
99
+ github.com/go-task/slim-sprig/v3 v3.0.0 // indirect
100
+ github.com/gofrs/flock v0.12.1 // indirect
96
101
  github.com/gogo/protobuf v1.3.2 // indirect
97
102
  github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
98
- github.com/golang/protobuf v1.5.3 // indirect
103
+ github.com/golang/protobuf v1.5.4 // indirect
99
104
  github.com/golang/snappy v0.0.4 // indirect
100
105
  github.com/google/go-cmp v0.6.0 // indirect
101
- github.com/google/pprof v0.0.0-20230705174524-200ffdc848b8 // indirect
102
- github.com/google/s2a-go v0.1.3 // indirect
106
+ github.com/google/pprof v0.0.0-20240424215950-a892ee059fd6 // indirect
107
+ github.com/google/s2a-go v0.1.7 // indirect
103
108
  github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
104
- github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
105
- github.com/googleapis/gax-go/v2 v2.8.0 // indirect
106
- github.com/gorilla/mux v1.8.0 // indirect
109
+ github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
110
+ github.com/googleapis/gax-go/v2 v2.12.0 // indirect
111
+ github.com/gorilla/mux v1.8.1 // indirect
107
112
  github.com/greatroar/blobloom v0.7.2 // indirect
108
- github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 // indirect
109
- github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0 // indirect
113
+ github.com/grpc-ecosystem/grpc-gateway/v2 v2.20.0 // indirect
110
114
  github.com/hashicorp/errwrap v1.1.0 // indirect
111
115
  github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
112
116
  github.com/hashicorp/go-multierror v1.1.1 // indirect
113
117
  github.com/hashicorp/go-safetemp v1.0.0 // indirect
114
118
  github.com/hashicorp/go-version v1.6.0 // indirect
115
- github.com/hashicorp/golang-lru/v2 v2.0.4 // indirect
119
+ github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
116
120
  github.com/hashicorp/hcl v1.0.0 // indirect
121
+ github.com/in-toto/in-toto-golang v0.9.0 // indirect
117
122
  github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
118
123
  github.com/jmespath/go-jmespath v0.4.0 // indirect
119
- github.com/json-iterator/go v1.1.12 // indirect
120
124
  github.com/kevinburke/ssh_config v1.2.0 // indirect
121
- github.com/klauspost/compress v1.16.3 // indirect
125
+ github.com/klauspost/compress v1.17.11 // indirect
122
126
  github.com/klauspost/cpuid/v2 v2.2.5 // indirect
123
- github.com/klauspost/pgzip v1.2.6-0.20220930104621-17e8dac29df8 // indirect
124
127
  github.com/kr/fs v0.1.0 // indirect
125
128
  github.com/kr/pretty v0.3.1 // indirect
126
129
  github.com/kr/text v0.2.0 // indirect
127
130
  github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
128
131
  github.com/magiconair/properties v1.8.7 // indirect
129
132
  github.com/mattn/go-localereader v0.0.1 // indirect
130
- github.com/mattn/go-runewidth v0.0.14 // indirect
133
+ github.com/mattn/go-runewidth v0.0.16 // indirect
131
134
  github.com/minio/sha256-simd v1.0.1 // indirect
132
135
  github.com/miscreant/miscreant.go v0.0.0-20200214223636-26d376326b75 // indirect
133
136
  github.com/mitchellh/colorstring v0.0.0-20190213212951-d06e56a500db // indirect
@@ -135,70 +138,73 @@ require (
135
138
  github.com/mitchellh/go-testing-interface v1.14.1 // indirect
136
139
  github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect
137
140
  github.com/mitchellh/mapstructure v1.5.0 // indirect
141
+ github.com/moby/docker-image-spec v1.3.1 // indirect
138
142
  github.com/moby/locker v1.0.1 // indirect
139
- github.com/moby/patternmatcher v0.5.0 // indirect
140
- github.com/moby/sys/mountinfo v0.6.2 // indirect
141
- github.com/moby/sys/signal v0.7.0 // indirect
142
- github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
143
- github.com/modern-go/reflect2 v1.0.2 // indirect
143
+ github.com/moby/patternmatcher v0.6.0 // indirect
144
+ github.com/moby/sys/capability v0.3.0 // indirect
145
+ github.com/moby/sys/mountinfo v0.7.2 // indirect
146
+ github.com/moby/sys/signal v0.7.1 // indirect
147
+ github.com/moby/sys/user v0.3.0 // indirect
144
148
  github.com/muesli/ansi v0.0.0-20211018074035-2e021307bc4b // indirect
145
149
  github.com/muesli/cancelreader v0.2.2 // indirect
146
150
  github.com/muesli/reflow v0.3.0 // indirect
147
151
  github.com/muesli/termenv v0.15.2 // indirect
148
152
  github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d // indirect
149
153
  github.com/op/go-logging v0.0.0-20160211212156-b2cb9fa56473 // indirect
150
- github.com/opencontainers/runc v1.1.5 // indirect
151
- github.com/opencontainers/runtime-spec v1.1.0-rc.1 // indirect
154
+ github.com/opencontainers/runtime-spec v1.2.0 // indirect
152
155
  github.com/pelletier/go-toml/v2 v2.0.8 // indirect
153
156
  github.com/petermattis/goid v0.0.0-20230518223814-80aa455d8761 // indirect
154
157
  github.com/pierrec/lz4/v4 v4.1.18 // indirect
155
158
  github.com/pjbgf/sha1cd v0.3.0 // indirect
156
- github.com/pmezard/go-difflib v1.0.0 // indirect
159
+ github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect
160
+ github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
157
161
  github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
158
- github.com/rivo/uniseg v0.4.4 // indirect
159
- github.com/rogpeppe/go-internal v1.11.0 // indirect
162
+ github.com/rivo/uniseg v0.4.7 // indirect
163
+ github.com/rogpeppe/go-internal v1.12.0 // indirect
160
164
  github.com/russross/blackfriday/v2 v2.1.0 // indirect
161
165
  github.com/sasha-s/go-deadlock v0.3.1 // indirect
166
+ github.com/secure-systems-lab/go-securesystemslib v0.8.0 // indirect
162
167
  github.com/segmentio/backo-go v1.0.0 // indirect
163
- github.com/sergi/go-diff v1.1.0 // indirect
168
+ github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
169
+ github.com/shibumi/go-pathspec v1.3.0 // indirect
164
170
  github.com/shirou/gopsutil/v3 v3.23.6 // indirect
165
- github.com/skeema/knownhosts v1.2.1 // indirect
171
+ github.com/skeema/knownhosts v1.3.0 // indirect
166
172
  github.com/spf13/afero v1.9.5 // indirect
167
173
  github.com/spf13/cast v1.5.1 // indirect
168
174
  github.com/spf13/jwalterweatherman v1.1.0 // indirect
169
175
  github.com/spf13/pflag v1.0.5 // indirect
170
176
  github.com/subosito/gotenv v1.4.2 // indirect
171
177
  github.com/syncthing/notify v0.0.0-20210616190510-c6b7342338d2 // indirect
172
- github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 // indirect
173
178
  github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
174
179
  github.com/thejerf/suture/v4 v4.0.2 // indirect
175
- github.com/tonistiigi/fsutil v0.0.0-20230105215944-fb433841cbfa // indirect
176
- github.com/ulikunitz/xz v0.5.11 // indirect
177
- github.com/vbatts/tar-split v0.11.3 // indirect
180
+ github.com/tonistiigi/fsutil v0.0.0-20241121093142-31cf1f437184 // indirect
181
+ github.com/tonistiigi/go-csvvalue v0.0.0-20240710180619-ddb21b71c0b4 // indirect
182
+ github.com/ulikunitz/xz v0.5.12 // indirect
178
183
  github.com/xanzy/ssh-agent v0.3.3 // indirect
179
184
  github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 // indirect
180
185
  github.com/yusufpapurcu/wmi v1.2.3 // indirect
181
186
  go.opencensus.io v0.24.0 // indirect
182
- go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.40.0 // indirect
183
- go.opentelemetry.io/otel v1.14.0 // indirect
184
- go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.14.0 // indirect
185
- go.opentelemetry.io/otel/metric v0.37.0 // indirect
186
- go.opentelemetry.io/otel/sdk v1.14.0 // indirect
187
- go.opentelemetry.io/otel/trace v1.14.0 // indirect
188
- go.opentelemetry.io/proto/otlp v0.19.0 // indirect
189
- golang.org/x/exp v0.0.0-20230711023510-fffb14384f22 // indirect
190
- golang.org/x/mod v0.12.0 // indirect
191
- golang.org/x/net v0.19.0 // indirect
192
- golang.org/x/oauth2 v0.7.0 // indirect
193
- golang.org/x/sys v0.15.0 // indirect
194
- golang.org/x/text v0.14.0 // indirect
195
- golang.org/x/tools v0.13.0 // indirect
196
- golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
197
- google.golang.org/api v0.122.0 // indirect
198
- google.golang.org/appengine v1.6.7 // indirect
199
- google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
200
- google.golang.org/grpc v1.56.3 // indirect
201
- google.golang.org/protobuf v1.31.0 // indirect
187
+ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 // indirect
188
+ go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.46.1 // indirect
189
+ go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
190
+ go.opentelemetry.io/otel v1.28.0 // indirect
191
+ go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.28.0 // indirect
192
+ go.opentelemetry.io/otel/metric v1.28.0 // indirect
193
+ go.opentelemetry.io/otel/sdk v1.28.0 // indirect
194
+ go.opentelemetry.io/otel/trace v1.28.0 // indirect
195
+ go.opentelemetry.io/proto/otlp v1.3.1 // indirect
196
+ golang.org/x/exp v0.0.0-20241009180824-f66d83c29e7c // indirect
197
+ golang.org/x/net v0.34.0 // indirect
198
+ golang.org/x/oauth2 v0.23.0 // indirect
199
+ golang.org/x/sys v0.29.0 // indirect
200
+ golang.org/x/text v0.21.0 // indirect
201
+ golang.org/x/tools v0.29.0 // indirect
202
+ google.golang.org/api v0.155.0 // indirect
203
+ google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
204
+ google.golang.org/genproto/googleapis/api v0.0.0-20240814211410-ddb44dafa142 // indirect
205
+ google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
206
+ google.golang.org/grpc v1.67.0 // indirect
207
+ google.golang.org/protobuf v1.35.1 // indirect
202
208
  gopkg.in/ini.v1 v1.67.0 // indirect
203
209
  gopkg.in/warnings.v0 v0.1.2 // indirect
204
210
  gopkg.in/yaml.v3 v3.0.1 // indirect