Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE]: Detect workspace file programming language #1363

Closed
1 task done
Tracked by #1202
ericvergnaud opened this issue Apr 11, 2024 · 2 comments
Closed
1 task done
Tracked by #1202

[FEATURE]: Detect workspace file programming language #1363

ericvergnaud opened this issue Apr 11, 2024 · 2 comments
Labels
good first issue Good for newcomers migrate/code Abstract Syntax Trees and other dark magic

Comments

@ericvergnaud
Copy link
Contributor

ericvergnaud commented Apr 11, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

Workspace files do not have a default language (see https://docs.databricks.com/api/workspace/workspace/getstatus).
Therefore, when fetching a workspace file, we need to discover the file's programming language

Proposed Solution

Look at the file extension if any. Ultimately, assume the language is implicit based on context (a file imported from a Python file would also be Python)

Additional Context

Sub-ticket of #1202

@ericvergnaud ericvergnaud added enhancement New feature or request needs-triage labels Apr 11, 2024
@github-project-automation github-project-automation bot moved this to Triage in UCX Apr 11, 2024
@nfx nfx added good first issue Good for newcomers migrate/code Abstract Syntax Trees and other dark magic and removed enhancement New feature or request needs-triage labels Apr 22, 2024
@nfx
Copy link
Collaborator

nfx commented Apr 24, 2024

this is almost a noop - we know the extensions

@nfx nfx moved this from Triage to Quarter Backlog in UCX Apr 24, 2024
@ericvergnaud
Copy link
Contributor Author

This was about workspace files, not local files. Workspace files are out of scope, closing.

@github-project-automation github-project-automation bot moved this from Quarter Backlog to Archive in UCX May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers migrate/code Abstract Syntax Trees and other dark magic
Projects
Archived in project
Development

No branches or pull requests

2 participants