Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

refactor Command Should Handle Existing Repositories Gracefully #46

Open
jmwright opened this issue Apr 8, 2019 · 0 comments
Open

refactor Command Should Handle Existing Repositories Gracefully #46

jmwright opened this issue Apr 8, 2019 · 0 comments
Assignees

Comments

@jmwright
Copy link
Contributor

jmwright commented Apr 8, 2019

Currently, the refactor command assumes that the user is pushing the local component to a fresh repository. This won't always be the case. For example, when refacotring an entire project, a soldering iron tool component may have been used in multiple places. The first refactor is the only one that should populate the fresh repository, and the other refactors should alert the user that the repository is not fresh, and simply install the existing soldering iron component from the repository using npm.

This does not address the problem of users modifying the soldering iron component in multiple different places and needing to push changes. That cannot be done from the refactor command, and must be handled by an explicit upload command call.

@jmwright jmwright self-assigned this Apr 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant