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
feat: add git scripts to Script Manager UI #1642
Conversation
6b803d7
to
111b66e
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1642 +/- ##
============================================
- Coverage 35.35% 35.30% -0.05%
+ Complexity 17874 17842 -32
============================================
Files 1064 1063 -1
Lines 164013 164014 +1
Branches 35060 35057 -3
============================================
- Hits 57986 57908 -78
- Misses 96411 96491 +80
+ Partials 9616 9615 -1
... and 17 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
2a17402
to
5dbe728
Compare
I am experimenting. I didn't have any git scripts installed. So I found 8bit-relay. I installed it it via
In Script Manager, I can see loathers-8bit-relay in the Manage tab. |
That's what happens for the existing SVN scripts too.
I see what's happening here. |
That is expected behavior. At least it is what happens with SVN scripts that I have installed that are not referenced in svnrepo.json. I would be concerned about changing the protocol on existing scripts until the local changes issue mentioned at https://kolmafia.us/threads/excavator-gausies-spading-script.25076/page-3#post-171587 is resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this. I updated and tested the GUI again. Looks good!
I notice that GitManager catches - and logs - exceptions, returning false or null or whatever to indicate failure, whereas SVNManager just throws the exception, requiring the caller to catch and handle them.
I realize you wrote GitManager and it's just a cleaner implementation.
I think it is beyond the scope of this PR to sanitize SVNManager similarly.
Maybe someday.
Add git scripts to the Script Manager GUI.
I don't use the GUI myself (just the CLI), so open for any comments on things that should work differently.
There are also, as yet, no git scripts in
svnrepo.json
, though I could change the github scripts that work over from SVN?