On Sun, Feb 16, 2020 at 9:39 AM Utkarsh Dhandhania <address@hidden
I am new to open source contribution. I found this bug which I feel might be suitable for a first-time contributor -
Did you read this?
you can get there from the page above, but specifics of how to work with the repository and submit a patch are over on the Octave wiki Mercurial page.
I also recommend browsing different pages at:
For that bug it looks like you should be able to write a wrapper for both startsWith and endsWith in m-code. You should read some of the those wiki pages on coding style and BISTs, and have a look at other m-files in the octave source for examples.
When the functions seem complete, and are saved in an appropriate location in the source (sometimes a bit of a question on its own), along with any relevant documentation changes, you can follow the instructions to save a patch file and upload it to the bug tracker. In the past I've also used the bug tracker to upload draft m-files for comment, which sometimes gets valuable feedback before compiling the patch.
do you have an available copy of matlab to test for compatibility? it's crucial you do not compare any code with matlab's copyrighted code. Don't even peek at it. but it's okay to test inputs/outputs. you can post a 'Matlab test request' to the help list, too, if you need to evaluate how matlab handles something specific. someone will usually respond fairly quickly. But you should be able to determine the main functionality, and sometimes even examples, sufficient to write a compatible function from the public facing help pages:
Good luck, thanks for contributing! feel free to put questions to the help list.