[PR #3318] [MERGED] chore(fix/devcontainer): make devcontainer copy .env.example #4338

Closed
opened 2026-03-17 01:53:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/3318
Author: @SamJakob
Created: 9/5/2023
Status: Merged
Merged: 9/28/2023
Merged by: @AndrewBastin

Base: release/2023.8.2Head: main


📝 Commits (1)

  • bdabd93 chore(fix/devcontainer): make devcontainer copy .env.example instead of moving

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 .devcontainer/devcontainer.json (+1 -1)

📄 Description

Description

Make devcontainer copy .env.example instead of moving it.

This prevents the example from getting destroyed when the container is booted.

Checks

  • My pull request adheres to the code style of this project
  • My code requires no changes to the documentation
  • I have updated the documentation as required (n/a)
  • All the tests have passed

Additional Information

This is useful when the devcontainer is used in a workspace or GitHub Codespace as it means that, when a commit is subsequently made, it does not destroy the .env.example file.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/3318 **Author:** [@SamJakob](https://github.com/SamJakob) **Created:** 9/5/2023 **Status:** ✅ Merged **Merged:** 9/28/2023 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `release/2023.8.2` ← **Head:** `main` --- ### 📝 Commits (1) - [`bdabd93`](https://github.com/hoppscotch/hoppscotch/commit/bdabd93f8b1ecf300f409d4be0dd727886e34ef6) chore(fix/devcontainer): make devcontainer copy .env.example instead of moving ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `.devcontainer/devcontainer.json` (+1 -1) </details> ### 📄 Description ### Description Make devcontainer copy `.env.example` instead of moving it. This prevents the example from getting destroyed when the container is booted. ### Checks <!-- Make sure your pull request passes the CI checks and do check the following fields as needed - --> - [x] My pull request adheres to the code style of this project - [x] My code requires **no** changes to the documentation - [x] I have updated the documentation as required (n/a) - [x] All the tests have passed ### Additional Information This is useful when the devcontainer is used in a workspace or GitHub Codespace as it means that, when a commit is subsequently made, it does not destroy the `.env.example` file. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:53:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4338
No description provided.