Closed andy-maier closed 1 year ago
Hello @andy-maier need some assistances as i am a new open source contributor. 1)Do we have to take file "zhmccli\zhmccli_cmd_ldap_server_definition.py" into consideration for the bug.
@samirgorai Hello Samir. Thanks for contributing!
Yes, that would be the file. The use of "click" unfortunately hides that quite a bit in the traceback, but it mentions "ldapdef_delete()" which you can find in that file.
Note that @nexuspy has already created PR #461 to fix this issue. Is he a colleague of yours, or is this a coincidence?
The issue is in this code:
@click.argument('LDAPSD', type=str, metavar='LDAP_SERVER_DEFINITION')
. . .
def ldapdef_delete(cmd_ctx, ldapdef):
. . .
where the LDAPSD
click argument name does not match the ldapdef
function argument name.
Hello @andy-maier Thanks for Replying . @nexuspy is also new to me.
@andy-maier After I made the Changes i am trying to commit using template file after executing "git commit" in cmd one file opens in vs code After Saving that file and when i return back to command line interface PS C:\Users\samir\OneDrive\Documents\Open_Source\Command_Line_Interface\zhmccli> git commit Aborting commit; you did not edit the message. the above message comes and commit does not happens . can you help me in this.
@samirgorai I have no experience with VSCode, so I cannot help you there.
The commands for a shell would be:
git commit -as # brings up your configured editor for editing the commit message. Once you save and leave the editor, it continues
git push # displays the parameters for git push that you actually need to use
Some hints: From the command line, you can always issue git status
to see what the state of your work directory is, i.e. whether you have uncommitted changes. If you have uncommitted changes, git -asm "some reasonable commit title
will commit them locally, with that line as a commit message and your signature.
I found this article which may help you with git on Windows: https://stackoverflow.com/a/11702707
Thanks @samirgorai for the PR. I have approved it and it is currently executing the test workflow.
On the HMC of T224: