Closed hardikspanchal closed 2 years ago
I would recommend making a fork and then a pull request from your fork back to the project; this is how other communities manage contributions. We also have this outlined in CONTRIBUTING.md.
Thanks @mraineri I forked a repo and raised a Pull request.
My PR on fork repo:https://github.com/hardikspanchal/Redfish-Event-Listener/pull/1
You should be able to make it a pull request coming back into this repository; I see you opened one yesterday, but then closed it. What you have open right now is a pull request back into your own forked repository.
I reopened the pull request (#19) so it can be merged back here.
Hi @mraineri, So a PR on fork repo does not need to be merged in my forked repo. Fork repo was needed to be created to allow myself to raise a PR only. Correct me if I am wrong please. I added my teammate as reviewer on fork repo PR. In #19 I am unable to add any reviewer. Can you please suggest how can I add reviewers and who could be they? Can I get approval on fork PR and mention that link on #19 before merging?
Hi @mraineri , I got an approval from my teammate on PR #19. Please help to enable merge pull request option.
You're correct; you don't need to perform a PR back into your forked repository; you can make a PR directly from your fork back to here. The open source communities I've worked in tend to not let non-admins add reviewers directly using the "add reviewer" function, but anyone can add their own review without this. I would recommend tagging people you want to notify in the description of the pull request.
The changes you made look good to me, and we'll review this as a group during our weekly call for formal approval; it'll likely be merged this afternoon.
Thanks @mraineri
Redfish event listener is being ran on local machine. A listener is receiving each event after 30s. System(server) log was analyzed, observed that system was failed to receive a response and enter into retrial mode. Identified an issue about connection. After each response from listener to system(server), connection must be closed and a signal for closing a connection should come form listener. I checked in POST method section, https://github.com/DMTF/Redfish-Event-Listener/blob/master/RedfishEventListener_v1.py#L122-L123, Status code is sent as response only. Response need to has "Connection: close" message as general-header with status code. I applied the change to this file in my local machine and tested, a connection was closed successfully after response complete.
Applied changed in RedfishEventListener_v1.py:
System log after fix:
System log Before fix
Here, I need to push these changes on github, but I do not have a permission for this repo. Can I please get a permission to push a change for this repo? Or Can it be please applied by authorized contributors on this repo?