NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
a3f has quit [Quit: ZNC 1.8.2+deb3.1 - https://znc.in]
shoragan has quit [Quit: quit]
a3f has joined #openocd
shoragan has joined #openocd
wingsorc has quit [Quit: Leaving]
vampirefrog has quit [Ping timeout: 255 seconds]
ayaka_ has joined #openocd
MGF_Fabio has quit [Ping timeout: 255 seconds]
ayaka_ has quit [Remote host closed the connection]
nerozero has joined #openocd
flatmush has quit [Ping timeout: 260 seconds]
crabbedhaloablut has joined #openocd
gzlb has quit [Ping timeout: 245 seconds]
gzlb has joined #openocd
Hawk777 has joined #openocd
MGF_Fabio has joined #openocd
MGF_Fabio has quit [Client Quit]
MGF_Fabio has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
ayaka_ has joined #openocd
ayaka_ has quit [Ping timeout: 252 seconds]
nathanhi has quit [Quit: bye]
nathanhi- has joined #openocd
Hammdist has quit [Quit: Client closed]
vampirefrog has joined #openocd
slobodan has joined #openocd
Hammdist has joined #openocd
merethan has joined #openocd
_HelloShitty_ has joined #openocd
_HelloShitty_ has quit [Ping timeout: 268 seconds]
_HelloShitty_ has joined #openocd
nerozero has quit [Ping timeout: 264 seconds]
shibboleth has joined #openocd
Hawk777 has joined #openocd
shibboleth has quit [Quit: shibboleth]
Haohmaru has quit [Quit: saionara]
Hammdist has quit [Quit: Client closed]
MGF_Fabio has quit [Ping timeout: 260 seconds]
Hammdist has joined #openocd
_HelloShitty_ has quit [Ping timeout: 256 seconds]
diddly has quit [Read error: Connection reset by peer]
shibboleth has joined #openocd
diddly has joined #openocd
merethan has quit [Ping timeout: 264 seconds]
Hammdist has quit [Quit: Client closed]
diddly has quit [Read error: Connection reset by peer]
diddly has joined #openocd
Hammdist has joined #openocd
shibboleth has quit [Quit: shibboleth]
flatmush has joined #openocd
RolfNoot has joined #openocd
<RolfNoot> Hi all, nice to meet. I am working in the field of electronics since many years, working mainly on microcontroller solution, especially PSoC. Working with OpenOCD quite some years now and I am looking to contribute to OpenOCD
<PaulFertser> RolfNoot: hi, awesome
<PaulFertser> RolfNoot: there're instructions in HACKING and if anything's unclear feel free to ask.
<RolfNoot> Thank you
<PaulFertser> Sometimes patches take much time to review but feel free to nag the maintainers here every now and then when appropriate.
<PaulFertser> Also feel free to ping / query me if you have any issues related to project infra.
<RolfNoot> Thanks! had some issues before but with help of Antonio I got up and running pretty much. If there are any questions, I'll raise my hand ;-)
<PaulFertser> Sorry I was afraid freenode would just ban me from the channel for mentioning libera, they used to do that.
<RolfNoot> No problem, I just found out with a quick search
<RolfNoot> I already started unfortunately with a wrong commit order. I have patch 7984 which should come before 7983. I tried to change with 'git rebase -i ...' but it didn't work for me yet
<PaulFertser> RolfNoot: basically, git rebase -i HEAD^^ and then in the editor just swap the two lines around.
<PaulFertser> What exactly didn't work, why?
<PaulFertser> Probably you needed to fix some conflict?
<RolfNoot> I did 'git rebase -i origin/master' then swapped the first two commits in the editor
<RolfNoot> However when I look at the webinterface I still see the same order. I am sorry, not really experienced with git
<PaulFertser> RolfNoot: did you push to gerrit again after doing the rebase?
<PaulFertser> RolfNoot: if you saw the right order in "git log" locally and then pushed, it should be good.
<RolfNoot> I did a push but I will check with git log
<PaulFertser> RolfNoot: currently on Gerrit 7983 has 7984 as its parent so that's probably OK. However the commit messages are identical, that's very confusing.
<RolfNoot> Yes, that's correct, it confused me as well. I will change that
<PaulFertser> rebase -i to the rescue again
<RolfNoot> In the git log it looks okay as well.
<PaulFertser> Currently the order is right, 7984, then 7983 on Gerrit, no problem with that.
<RolfNoot> My intention was to push the includes in contrib>flash>loaders first so I wouldn't break anything. Somehow that went wrong initially.
<PaulFertser> Usually the loader is pushed along with the flash driver that needs it.
<RolfNoot> will remind for next time. Along with commit 7984 I also added a board configuration (tcl/board/otx18.cfg) which has some style problems. Now I resolved this issue. Do I need to commit the update with the same Change-Id as it was initially committed with?
MGF_Fabio has joined #openocd
<PaulFertser> RolfNoot: yes, you need to keep the Change-Id so that Gerrit knows it's a newer version of the same change.
<PaulFertser> So that the history and discussion and everything is kept.
<RolfNoot> okay thank you
<RolfNoot> Just to make sure before committing & pushing, I adressed the issue with the style in otx18.cfg and it needs to be committed with:
<RolfNoot> git commit --signoff -m "fixed style" -m "Change-Id: If18fc77d68bbc82f2abf2a2aa0c557e1d48d788c"
<RolfNoot> (patch 7984)
<RolfNoot> sorry, that should be: git commit --signoff -m "fixed style" -m "Change-Id: I7075e44629a7b3c0e1c51638f30b513afe97a82c"
<borneoa___> RolfNoot: hi, feel free to push again the patches if you need to send an updated version. That is also part of the review process, when modifications are required by the reviewers
crabbedhaloablut has quit []
<RolfNoot> okay, then the git commit line above should be good?
<PaulFertser> RolfNoot: that "fixed style" commit message isn't suitable at all for anything sorry. Please read git log to see how other commits are usually documented.
crabbedhaloablut has joined #openocd
<RolfNoot> okay
<PaulFertser> RolfNoot: usually you just edit the patches with "git commit --amend" and that lets you edit the commit message so you just avoid touching Change-Id there, it's much easier.
<borneoa___> RolfNoot: writing the commit message on the command line is quite annoying. If you don't put any -m then git should open an editor where you can freely write the whole message. You can also configure git to use your favorite editor
<borneoa___> RolfNoot: also in git rebase -i you can re-edit the commit message if you need later on
<RolfNoot> yep, did that config. Will use the editor
crabbedhaloablut has quit [Client Quit]
<borneoa___> RolfNoot: git can be a big step at the beginning, but once you own it, you find it's simply great. Take your time, and don't worry if the patches are not exactly what you expect; a new version can be pushed later
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Client Quit]
crabbedhaloablut has joined #openocd
RolfNoot has quit [Remote host closed the connection]
RolfNoot has joined #openocd
crabbedhaloablut has quit []
crabbedhaloablut has joined #openocd
Hawk777 has quit [Quit: Leaving.]
crabbedhaloablut has quit []
Hawk777 has joined #openocd