Skip to content

Moving synced scratch org information between dev environments.  #2385

Description

@Cerelius

I'm frustrated when trying to work on a single scratch org across multiple environments. I can't move the .sf and .sfdx directories that are generated in the local environment to a different location because they use absolute paths and are encrypted. I'd like to be able to relocate the configuration without losing my source tracking information for the scratch org that I am authenticated to.

In the past I could do this by moving the .sfdx directory and updating the path to match the new destination. Because the files are encrypted that won't work anymore.

Ideally they could use a relative pathing instead of an absolute path so the movement to a new directory does not break the configuration. I don't know why the encryption is in place but removing the encryption would be fine from my perspective. Although, I understand there may be reasons for it that I'm not aware of.

Activity

  1. added
    featureIssue or pull request for a new feature
    on Aug 1, 2023
  2. github-actions commented on Aug 1, 2023

    @github-actions

    Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments.

  3. git2gus commented on Aug 1, 2023

    @git2gus

    This issue has been linked to a new work item: W-13866632

  4. locked and limited conversation to collaborators on Aug 2, 2023
  5. converted this issue into a discussion #2391 on Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureIssue or pull request for a new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions