Thank you very much for considering contributing to QEverCloud! In order to ensure the successful adoption of your contributions please follow this guide:
- How to report a bug
- How to contribute a bugfix
- How to suggest a new feature or improvement
- Submitting pull requests: which proposed changes are generally NOT approved
If you think you have found a bug in QEverCloud, you are kindly encouraged to create an issue and describe the bug you have encountered. However, before doing that please look through the existing open and closed issues to see whether the bug you've encountered has already been reported or maybe even fixed in some version of QEverCloud. If you don't see anything like what you experience, please proceed to creating a new issue.
If you are using QEverCloud in some application and it crashes or throws exception and it seems the reason is not in your application but in QEverCloud library itself, please provide some context for troubleshooting: for example, run your application under the debugger and provide the backtrace/call stack on crash or exception or at least a part of the backtrace/call stack containing the calls of QEverCloud's methods. See some examples how to do it:
If you don't have a crash or exception but have some method of QEverCloud returning an unexpected result to your application, please provide the context: which method returns wrong result, which parameters do you pass to the method, what do you expect to get, what do you actually get. Probably also describe the sequence of previous calls to QEverCloud methods - if the context is, for example, the implementation of a full or partial synchronization of Evernote account data with Evernote servers.
If you have not only found a bug but have also identified its reason and would like to contribute a bugfix, please note the following:
master
branch is meant to contain the current stable version of QEverCloud. Small and safe bugfixes are ok to land inmaster
. More complicated bugfixes changing a lot of code or breaking the API/ABI compatibility are not indended formaster
. Instead, please contribute them todevelopment
branch.- Make sure the changes you propose agree with the coding style of the project. If they don't but the bugfix you are contributing is good enough, there's a chance your contribution would be accepted but the coding style would have to be cleaned up after that. You are encouraged to be a good citizen and not force others to clean up after you.
- Make sure you don't attempt to change the code residing in
generated
folders, either for header files or cpp files: the code in those folders was automatically generated from Thrift IDL files. So any manual changes there would be overwritten by the next re-generation from Thrift IDL files. Please see whether the fix you propose could belong to Thrift IDL files themselves - if it's a typo within some Doxygen comment, it can definitely be fixed in the Thrift IDL files with the corresponding QEverCloud code regenerated from corrected Thrift IDL files. So the fix for autogenerated code might need to be applied to the generator of QEverCloud code from Thrift IDL files.
If you have a new feature or improvement suggestion, please make sure you describe it with the appropriate level of detail and also describe at least one more or less realistic use case dictating the necessity of the change.
If you'd like to implement the feature or improvement you're suggesting yourself (or the one someone else suggested before), please mention that in the issue and briefly describe your implementation ideas. Like
I think it could be solved by adding method B to class A
or
A good way to get it done seems to introduce class C which would handle D
It is important to discuss that for both preventing the duplication of effort and to ensure the implementation won't confront the vision of others and would be accepted when ready. Please don't start the actual work on the new features before the vision agreement is achieved - it can lead to problems with code acceptance to QEverCloud.
When working on a feature or improvement implementation, please comply with the coding style of the project.
All the new features and major improvements should be contributed to development
branch, not master
.
- Breaking backward compatibility without a really good reason for that.
- The introduction of dependencies on strictly the latest versions of anything, like, on some feature existing only in the latest version of Qt.
- The direct unconditional usage of modern C++ features breaking the build with older compilers not supporting them (see the coding style doc for more info on that)