-
Notifications
You must be signed in to change notification settings - Fork 15
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
Update Getting Started behavior for Subversion/SVN #849
Comments
Understood. We need to de-couple Git and SVN check separately. |
Now that #839 is fixed, I can now set a path for the Subversion binary. With a HomeBrew installation, the path is:
However, this is still not working properly for me:
|
When I tried to use Git in Moonshine during the meeting today, I found that it is also broken now. It keeps resetting to be based on the SVN path: I tried changing this back to the GitHub path and restarting Moonshine, but it keeps resetting back to the above path each time I try to clone a project. |
I should have asked you the earlier day only, if you still has the trouble please provide me the folder |
I'm starts de-coupling SVN and Git path from being one to separate. |
@JoelProminic Since we can't rely on Xcode anymore for Subversion, what path we should detect for a possible existence on macOS, or foremost is we suggest to download any Subversion software that provides command-line (as slik-svn on Windows) which software it could be? |
- Founding Git on macOS do not makes SVN is available anymore (Moonshine-IDE/Moonshine-IDE#849, #61)
Part of the updates:
|
@JoelProminic I did a couple of changes in "Manage Repositories" following the #849 (comment) changes, please let me know if they sounds logical or we want to improve the procedures by some other way. Case: Subversion UnavailableCreate a new SVN entry Browse All If user clicks on the "Browse All" button, SVN entry shall not be added into the tree-listing, because unfolding/browse Subversion entry requires Subversion executable: SVN Entry Checkout Case: Git UnavailableGit Entry Clone With all these changes I guess we probably covered all the test-cases in "Manage Repositories" when Git or Subversion is unavailable. Let me know if I missed any or we need some course changes. |
I have a separate issue for the installation and configuration of SVN on macOS: Moonshine-IDE/Moonshine-SDK-Installer#31 My suggestion is to install SVN through Homebrew, but this could be a problem for MSDKI. |
…vn path tries to validate by the validation-path from MSDKI configuration (Moonshine-IDE/Moonshine-IDE#849, #61)
@JoelProminic I pushed a fix on Git and SVN path issues, specially where SVN paths was showing invalid due to an additional path-validation-test where Moonshine was trying to validate the given path with specific file-existence check. Tested on macOS in following scenarios:
If the changes still not resolve your problem you want to check |
I tried this:
VersionControlPlugin.xml looks like this
If I manually set the Git and SVN paths, then they are properly preserved now after a Moonshine restart. |
Thank you, for the reference @JoelProminic . I was almost forgot this. I fixed a couple of things which was causing you this:
Please, try by the above steps again and see if you can reproduce the problems again. |
@JoelProminic reported this in following steps:
I also noticed that clicking on the Configure icon for Subversion entry opens the Xcode permission window which suppose not be open in case of Subversion after the original-issue changes: The exclamation icon also not suppose to be appear for Subversion entry in Getting Started. |
- No configure-notes for Subversion (#849)
Following things fixed against #849 (comment):
|
When I first updated to the newest version, SVN and Git were in a bad state. I'm not sure how I had them set before the update:
I suspect this but was a carry-over from the problems in the master build, but we need to be careful that we don't break the existing configuration on an update. I didn't see this behavioron a fresh setup. I installed the new build (branch build 412), and I saw this behavior:
I confirmed your updates from your previous comment. However, be aware that we may also need to have a similar Grant Permission step for the HomeBrew installation. We can experiment with this more as we work on Moonshine-IDE/Moonshine-SDK-Installer#31 |
I confirmed that this is the behavior when I setup the paths on the branch build and then install the master build. So, this should only be a problem when testing the builds. However, we should review how this will work for:
I haven't noticed any other remaining problems, so it is fine to merge this. |
This issue now merged onto master. |
@feather812002, this should help resolve the errors you had for generating the on-disk-project update site. |
While testing the
|
This should be fixed now and should opens the git-settings view in case Git is already present. I've moved the other two problems here as they are unrelated to the original issue. |
I would like to do a full test on macOS (including clone and checkout examples) and a quick test on Windows, and if there are no problems we can close this issue. |
Here are my tests from SVN basic functionalities in Moonshine, on macOS and Windows. macOS : Using
Windows
|
Cool if everything is working fine please close that ticket. |
I've fixed the authentication window close during SVN processes. |
@JustinProminic reported an issue with enabling SVN and Git Integration on macOS Catalina or higher:
Part of the problem is that SVN is no longer associated with XCode since macOS Catalina. So, SVN now needs to be installed with Brew.
9. Install SVN with brew if you haven't already
10. Open Moonshine > Settings > Subversion
11. Note that this is using the XCode path now.
12. Click "Change" and choose "/usr/bin/svn". NOTE: this is currently broken because of #839
13. After saving, the warnings should be cleared in Getting Started
We need to update this so that the permissions check requirement is for Git only. We should have a separate check for SVN that depends on the SVN Binary only, similar to how the other SDKs work.
The text was updated successfully, but these errors were encountered: