-
Notifications
You must be signed in to change notification settings - Fork 197
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 Support for Rollbacks #2
Comments
Hi @SimonEast,
I'm thinking it would be better to let the script to do the About the Please let me know. |
Yeah good point, it would be better to call --rollback with or without the If you left out the revision-id, would it deploy the previous commit, or Simon. |
@SimonEast to keep it simple and to the point, |
Yeah, sounds good. It's much easier to code that way. Just be clear in |
@SimonEast and @fadion - I think I've bumped into a Git bug. So, if I run the same command form the terminal and get a different result from the same one executed form PHP. The git command run in both cases is:
But results for deleted and added files are swapped. Check out the attached image. One says test.txt is added and the other was says it is deleted. The command run through terminal returns the right results. Could you please pull the |
Wow, one space makes a big difference in Git 😄
It's high time we get into Unit Testing @fadion - I'm growing white hair because of this kind of debugging. 😸 |
Just a space? Interesting... |
Yes sir - last thing I would think of... |
When you're finished with the rollback featured, want me to make a "rewrite"? Mostly coding style (psr2 compliance), because it's a mix of styles, but some small things could be easily rewritten too. Nothing big anyway. PS: Didn't want to open a new issue. |
Oh, yes please. I was thinking to ask you for a tool to help me with all the styling rules - not yet completely in my system :) Go ahead and open an issue for that - it helps us to see what we are doing next. |
Support for rollback to earlier version is being developed. You can view progress on the rollbacks branch.
It is expect to allow you to rollback to previous version by running:
Or to a more earlier version by running:
Suggestions are welcome.
The text was updated successfully, but these errors were encountered: