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

Add "Reset" functionality #15

Open
goba opened this issue Feb 6, 2025 · 5 comments
Open

Add "Reset" functionality #15

goba opened this issue Feb 6, 2025 · 5 comments
Labels
enhancement New feature or request

Comments

@goba
Copy link
Contributor

goba commented Feb 6, 2025

I think it would be great to have a "Reset" button in the app that would drop the DB and delete the site files. Maybe even recompose the Drupal setup to get the latest files? Not sure how that is done and if that is possible. (Maybe that would take a bit more time and require internet connection, unlike a local Reset would).

@phenaproxima
Copy link
Collaborator

A reset button to drop the DB (via drush sql:drop) would be simple enough.

Deleting files gets trickier since it's possible to run into permissions issues. The fact that we can pretty much assume the current user owns the files helps, but I'd have to look into it.

@phenaproxima phenaproxima added the enhancement New feature or request label Feb 6, 2025
@pameeela
Copy link
Contributor

pameeela commented Feb 7, 2025

I think this would be really useful, but I don't think we should add any features to the app yet. We agreed the initial release would be super simple and I think any question of adding features that require changes in the actual app should be done as part of a roadmap rather than piecemeal.

@meenakshikr
Copy link

hey can i build this reset button?

@phenaproxima
Copy link
Collaborator

phenaproxima commented Feb 15, 2025

Sure - you're welcome to do whatever you like in your own fork, but it won't get merged now (it's not clear that we'll even keep developing this, and therefore feature additions are currently frozen), or possibly at all, depending how things go after DrupalCon Atlanta. So as long as you're aware of that, have fun!

@meenakshikr
Copy link

oh its ok i was actually trying to understand codebases of open-source companies. Solving or trying to solve it will make me understand codebases a little. No worries i won't annoy you with pr 😆

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

No branches or pull requests

4 participants