[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to start working on a bug - Bug #57041

From: Nicholas Jankowski
Subject: Re: How to start working on a bug - Bug #57041
Date: Sun, 16 Feb 2020 14:11:54 -0500

On Sun, Feb 16, 2020 at 10:21 AM Doug Stewart <address@hidden> wrote:

On Sun, Feb 16, 2020 at 9:39 AM Utkarsh Dhandhania <address@hidden> wrote:
I am new to open source contribution. I found this bug which I feel might be suitable for a first-time contributor -

I have cloned the Octave repository. How do I start working on this?

Utkarsh Dhandhania

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. 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]