Friday, 2024-03-15

naymugouthamr Hi I have made some changes and add that into the git now I need to pushed that into the upstream repo. I have done testing and linting in my local machine.How can I pushed the changes?16:06
gouthamrnaymu: https://etherpad.opendev.org/p/r.f30f6f0995fc5b11b6b1a0918679872516:23
gouthamrnaymu: we use gerrit for reviewing code submissions, so you need an account on https://review.opendev.org (sign up, create a username, sign the CLA under “Agreements” and upload your SSH key)16:24
gouthamrnaymu: once you have this done, you can install the “git-review” tool (pip install git-review) and run “git review” from the repository folder16:25
naymuThanks I will complete those task shortly :)16:40
naymu_gouthamr: After making the `git review` command request in the terminal and giving the passkey, Getting the following error: Errors running git rebase -p -i remotes/gerrit/master17:31
naymu_error: cannot rebase: You have unstaged changes.17:31
naymu_error: Please commit or stash them.17:31
naymu_It is likely that your change has a merge conflict. You may resolve it17:31
naymu_in the working tree now as described above and then run 'git review'  17:31
naymu_again, or if you do not want to resolve it yet (note that the change  17:31
naymu_can not merge until the conflict is resolved) you may run 'git rebase 17:31
naymu_--abort' then 'git review -R' to upload the change without rebasing.17:31
gouthamrnaymu_: the error message has the cause, and the solution: error: cannot rebase: You have unstaged changes. error: Please commit or stash them.17:32
naymu_gouthamr: Why its giving me I have some unstage changes although I have changes one file only and I made the commit before17:32
gouthamrnaymu_: use "git status" to see what is unstaged17:33
naymu_Already tried that there are all the file are being moddified17:33
naymu_If is there any way I can send screenshot regarding that....17:34
gouthamr> Already tried that there are all the file are being moddified17:35
gouthamr^ that's strange indeed17:35
naymu_Yeah it is :(17:36
gouthamrnaymu_: you can copy paste your error here: https://paste.opendev.org17:36
naymu_gouthamr: https://paste.opendev.org/show/bdFSjEXwpCahM4GVwdtE/17:39
gouthamrnaymu_: hmmm, that looks pretty strange. Are you using a windows machine? 17:41
naymu_Yeah I am using a windows machine17:43
naymu_But I have a virtual ubuntu on my machine17:43
gouthamrnaymu_: can you paste the o/p of "git diff" through https://paste.opendev.org/ as well?17:44
naymu_Let me do it17:44
naymu_gouthamr: https://paste.opendev.org/show/b2uBnePUBQOiU2WEjr9u/17:44
gouthamrnaymu_: not for a single file, the whole repo17:45
gouthamrnaymu_: i think your setup is messing up the clrf settings 17:46
naymu_gouthamr: I have made the `git diff` command in the terminal and getting this: diff --git a/.coveragerc b/.coveragerc17:49
naymu_index 273a355db..669e9d03a 10064417:49
naymu_--- a/.coveragerc17:49
naymu_+++ b/.coveragerc17:49
naymu_@@ -1,8 +1,8 @@17:49
naymu_-[run]17:49
naymu_-branch = True17:49
naymu_-source = manila17:49
naymu_-omit = manila/test*17:49
naymu_-concurrency = eventlet17:49
naymu_-17:49
naymu_-[report]17:49
gouthamrnaymu_: please use https://paste.opendev.org/; don't paste directly on irc.. you might trigger the spam filters17:49
naymu_Oh sorry17:49
naymu_For the clrf setting should I make a command "git config --global core.autocrlf input"?17:50
naymu_Please check this out: https://paste.opendev.org/show/bQKk24lc3EX167LN6HVY/17:52
gouthamrdepends if you're committing from windows, or ubuntu.. if windows set "git config --global core.autocrlf true"17:56
ccokeke[m]Also naymu_:  You need to run the following command if this is your first patch.... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/ULyCCaJYpwMmRbMwYXEnzZIB>)18:02
ccokeke[m]Which branch are you at? Hope you created local branch. Confirm with `git branch`18:03

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!