[mythtv] How do I submit a fix?

Michael T. Dean mtdean at thirdcontact.com
Thu May 24 03:30:15 UTC 2012


On 05/23/2012 10:40 PM, Steve E wrote:
>  Hi,
>
>   I'm a potential first time contributor, but I need some help.
>
>   I have a solution for a ticket which already exists.
>
> http://code.mythtv.org/trac/ticket/10712
>
> I've read and followed the instructions at
>
> http://www.mythtv.org/wiki/Submitting_Bug_Fixes
> http://code.mythtv.org/trac/
> http://code.mythtv.org/trac/wiki/TicketHowTo
> http://code.mythtv.org/trac/wiki/UsingGit
>
> I've registered an account at github.com, and I've cloned the MythTV 
> project.
>
> This is the first time I've used Git, so I found a very helpful book to
> provide some instructions.
>
> http://git-scm.com/book
>
> I've implemented the fix in my view. I've run 'git add' and 'git 
> commit -v', but
> now the Myth development documentation has left me hanging. What exactly
> is the next step?
>
>   The git-scm book talks about "pushing". The only reference I've 
> found on
> the Myth wiki pages says "git push -n should always verified before 
> real pushing".
> So I tried that, and it just fails saying "Permission to 
> MythTV/mythtv.git denied".
>
>   Elsewhere I've found some vague instructions to "attach a patch to a 
> ticket",
> but there is no explanation of the format of "a patch". Is this 
> supposed to be
> a diff listing on each file? Is this supposed to identify a git branch 
> which is
> publicly readable? How do I create that?
>
>   Please provide me some guidance on how to proceed.

You can use:

git diff origin/master HEAD > 
$HOME/mythtv-10712-use_OCUR_only_with_CableCARD.patch

to create a patch, which you can attach to the ticket.  (Assuming you 
made the changes in the master branch.)

Alternatively, you can create a pull request ( 
http://help.github.com/send-pull-requests/ ), and then add a comment to 
the ticket that references the pull request you've submitted.

Thanks,
Mike


More information about the mythtv-dev mailing list