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

[server] 4/n Update Use .env at the run step #1384

Merged
merged 3 commits into from
Mar 4, 2024
Merged

[server] 4/n Update Use .env at the run step #1384

merged 3 commits into from
Mar 4, 2024

Commits on Feb 29, 2024

  1. [server] 2/n Add env path to Server State

    Summary:
    
    Stack contains changes that updates overall environment setup flow for vscode extension.
    
    No functional Changes in this diff.
    
    Test Plan:
    Ankush Pala [email protected] committed Feb 29, 2024
    Configuration menu
    Copy the full SHA
    da63f58 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2024

  1. [server] 3/n Endpoint for set_env

    Summary:
    
    Stack contains changes that updates overall environment setup flow for vscode extension.
    
    This diff implements the server side endpoint. Will test on top with vscode
    
    Test Plan:
    ```
    payload={'env_file_path': {}}
    Status Code: 400
    Response JSON: {'message': 'Invalid request, specified .env file path is not a string.'}
    
    payload={'env_file_path': '/hi'}
    Status Code: 400
    Response JSON: {'message': 'Specified .env file path does not exist.'}
    
    payload={'env_file_path': '.env'}
    Status Code: 200
    Response JSON: {'message': 'Updated .env file path.'}
    ```
    Ankush Pala [email protected] committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    dd3c4f3 View commit details
    Browse the repository at this point in the history
  2. [server] 4/n Update Use .env at the run step

    Summary:
    
    Test Plan:
    Ankush Pala [email protected] committed Mar 4, 2024
    Configuration menu
    Copy the full SHA
    e858d2b View commit details
    Browse the repository at this point in the history