Repository navigation
[#192] Implement MacOS compatibility - #189
Conversation
|
Not sure why the formatting is so messed up, I used uncrustify, for context I am on neovim |
|
First of all, you need to squash your commits. |
Hi Jesper, thanks for the feedback. The first thing I would like to ask is where I can find the formatting guidelines as in tabs spaces etc. Secondly, where can I discuss these features before I raise PRs for them? For that I apologize, I should have discussed before hand. |
|
3 spaces - uncrustify should do it for you. Our forum for development is here: https://github.com/pgexporter/pgexporter/discussions/categories/ideas |
Done, I squashed the commits, now the files are a lot more readadble |
|
LGTM except the small nitpick. Thanks for the contribution @botirk38. However, please ensure any future PRs are not trying to include 5-6 different features under the guise of one! Also please rebase, your branch is lagging by one commit. |
|
Please, check your patch again - you are changing stuff that isn't needed. We have to go over this and spend time on it - you are making it more difficult for us |
Hi Jesper, removed the uncrustify config changes, I got a deprecation notice, but I realize perhaps this is not within the scope of this PR |
|
and so on... |
|
What are the fewest number of changes you can do in order to implement your idea ? |
Right thanks for your feedback on this issue, most of it was raised, from my lsp reformatting the file, maybe if that works for you I can make a follow-up PR to establish coding standards, so devs that use LSPs can contribute more easily. |
|
@botirk38 CI |
Yea fixed that issue, but macos is really annoying because I can't run github workflows locally using act, so I apologize for the back and forth CI issues |
|
You need to add yourself to the author files - see DEVELOPERS.md |
Done |
|
Please, reference the issue in the commit subject, and amend the message with a short message |
|
Like this. |
Is this ok? |
|
@botirk38 You need to add it to the commit. Though it's fine to mirror the commit and PR names. |
Ah man sorry got back from work, didn't read through that properly, should be ok now |
You need to fix this |
Ok, so I tried to mirror conventions in saurav's commit. could you clarify? I think I'm not seeing what your seeing. |
|
Its Max 4 lines |
- Ported linux macros to darwin compatible - Removed linux specific compiler flags when building for MacOS - Added CI to keep track of compatibility with MacOS - Removed linux specific apis when running on mac
Would bullet points work as I have done now? |
|
Merged. Thanks for your contribution ! |
|
Yes, a lot better. Now, you can look at pgmoneta and pgagroal that they work with MacOS too |
Ok will do thanks alot |
This PR proposes adding Mac OS compatibility for pgexporter.
Fixes #192