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] Sync existing projects #85

Open
eliashaeussler opened this issue Jan 20, 2023 · 0 comments
Open

[FEATURE] Sync existing projects #85

eliashaeussler opened this issue Jan 20, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@eliashaeussler
Copy link
Member

eliashaeussler commented Jan 20, 2023

Is your feature request related to a problem?

The current implementation has only one feature, that is, creating new projects from scratch. However, it might also become handy to sync existing projects with the latest version of the project template that was previously used to create the project.

Describe the solution you'd like

We should provide a command to sync existing projects. This requires to decouple the project creation logic from the actual single use case with composer create-project. In addition, a build artifact (as requested in #12) is required in order to provide the initial project state to create a meaningful diff.

Describe alternatives you've considered

No response

Additional context

Learn from the best – we should have a look at how Symfony Flex does it similarly with updating recipes. A good starting point might be https://github.com/symfony/flex/blob/1.x/src/Update/RecipePatcher.php.

It's probably also worth to have a look at https://github.com/spatie/package-sync.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant