You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not an issue, but more a feature request. One thing that I would find useful would be to print out the status of the repositories when using a specific TbTb config. This would raise any uncommitted changes, and anything that needs to be resolved.
When there's no change, the default message from git status is:
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
So perhaps whenever the output of git status is not that, print that in the MATLAB command window.
The text was updated successfully, but these errors were encountered:
I would also want to design the status reporting for other kinds of toolbox, in addition to Git. Here are the kinds of toolbox we have now: strategies. And we're planning to add SVN soon: #14 .
Status for SVN or Git seems straightforward. For others, like installed Matlab toolboxes, maybe the status reporting is unnecessary? A no-op?
I imagine the implementation could have a few parts:
add a new api function like tbStatus(), which would take arguments similar to tbUse().
add a method like status() for the TbToolboxStrategy abstract class. The default implementation could be a no-op.
override the default status() method for subclasses where it makes sense, as with Git and SVN.
This is not an issue, but more a feature request. One thing that I would find useful would be to print out the status of the repositories when using a specific TbTb config. This would raise any uncommitted changes, and anything that needs to be resolved.
When there's no change, the default message from
git status
is:So perhaps whenever the output of
git status
is not that, print that in the MATLAB command window.The text was updated successfully, but these errors were encountered: