GIMP Forums » For GIMP developers
Submitting GIT patch
Jump to message:
-
Submitting GIT patch —
Eric Daoust,
29 Jun 2009 05:10 PM
-
Submitting GIT patch —
Martin Nordholts,
29 Jun 2009 09:53 PM
-
Submitting GIT patch —
Adam Turcotte,
30 Jun 2009 09:10 PM
- Submitting GIT patch — Martin Nordholts, 30 Jun 2009 09:14 PM
- Submitting GIT patch — Sven Neumann, 30 Jun 2009 11:01 PM
-
Submitting GIT patch —
Eric Daoust,
03 Jul 2009 07:28 PM
- Submitting GIT patch — Sven Neumann, 03 Jul 2009 08:42 PM
-
Submitting GIT patch —
Adam Turcotte,
30 Jun 2009 09:10 PM
-
Submitting GIT patch —
Martin Nordholts,
29 Jun 2009 09:53 PM
As a registered user, you can subscribe forum threads in order to get notified when replies are posted. Just log in at the right top of the page if you already have an account, otherwise you can register for free.
| Permalink: | acc71440906290810l1009c786o8aa9330d54... |
|---|---|
| Date: | 29 Jun 2009 05:10 PM |
| From: | Eric Daoust |
| Subject: | Submitting GIT patch |
Hello,
I'm no expert in GIT but in my experience with SVN things can become
a mess if we're not careful, so I want to make sure I am doing things
correctly.
I am ready to submit a working nohalo1 patch for GEGL that is a faster
replacement for sharp. I believe this is the procedure I must follow.
(I will backup my files just in case)
-create local branch so that I am not committing to the main trunk
-remove sharp from the branch
-add nohalo1
-commit to the branch
-switch back to main branch, pull
-switch back to my local branch
-rebase with master
-fix conflicts
-create the patch
I found a similar procedure at this page:
https://rails.lighthouseapp.com/projects/8994/sending-patches
Any help/advice is greatly appreciated.
Thank you for your time,
Eric
I'm no expert in GIT but in my experience with SVN things can become
a mess if we're not careful, so I want to make sure I am doing things
correctly.
I am ready to submit a working nohalo1 patch for GEGL that is a faster
replacement for sharp. I believe this is the procedure I must follow.
(I will backup my files just in case)
-create local branch so that I am not committing to the main trunk
-remove sharp from the branch
-add nohalo1
-commit to the branch
-switch back to main branch, pull
-switch back to my local branch
-rebase with master
-fix conflicts
-create the patch
I found a similar procedure at this page:
https://rails.lighthouseapp.com/projects/8994/sending-patches
Any help/advice is greatly appreciated.
Thank you for your time,
Eric
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 4A491C55.2030305@gmail.com |
|---|---|
| Date: | 29 Jun 2009 09:53 PM |
| From: | Martin Nordholts |
| Subject: | Submitting GIT patch |
On 06/29/2009 05:10 PM, Eric Daoust wrote:
> I am ready to submit a working nohalo1 patch for GEGL that is a faster
> replacement for sharp. I believe this is the procedure I must follow.
> (I will backup my files just in case)
>
> -create local branch so that I am not committing to the main trunk
> -remove sharp from the branch
> -add nohalo1
> -commit to the branch
> -switch back to main branch, pull
> -switch back to my local branch
> -rebase with master
> -fix conflicts
> -create the patch
>
Hi,
First of all, remeber that your git repository of GEGL is a clone, you
can mess it up however badly you like without affecting everyone elses
repo. When you get push access you need to be more careful though ;)
When you have cloned, create and checkout a branch to do your work on:
git checkout -b gsoc2009-adaptive-resampler origin/master
Then do your changes. Make sure to commit often. In general, the more
commits the better. Commits are easy to squash together but it's more
work to separate a single commit into two.
You don't need to switch back to master, to rebase with origin/master,
just do:
git pull --rebase
while you are on your gsoc2009-adaptive-resampler branch.
And note that in the end, it is not a matter of creating "the patch".
Rather, your delivery should be a series of git commits created with
git format-patch origin/master..gsoc2009-adaptive-resampler -o output-folder
You then tarball the output-folder and send it to us, preferably
coordinated through #gegl on irc.gimp.org.
Hope this helps, feel free to ask further quetions if you need
clarifications.
Oh and a final thing, make sure to look at gitk --all after each git
operation so that you can see what is going on.
/ Martin
> I found a similar procedure at this page:
> https://rails.lighthouseapp.com/projects/8994/sending-patches
>
> Any help/advice is greatly appreciated.
>
> Thank you for your time,
> Eric
>
> I am ready to submit a working nohalo1 patch for GEGL that is a faster
> replacement for sharp. I believe this is the procedure I must follow.
> (I will backup my files just in case)
>
> -create local branch so that I am not committing to the main trunk
> -remove sharp from the branch
> -add nohalo1
> -commit to the branch
> -switch back to main branch, pull
> -switch back to my local branch
> -rebase with master
> -fix conflicts
> -create the patch
>
Hi,
First of all, remeber that your git repository of GEGL is a clone, you
can mess it up however badly you like without affecting everyone elses
repo. When you get push access you need to be more careful though ;)
When you have cloned, create and checkout a branch to do your work on:
git checkout -b gsoc2009-adaptive-resampler origin/master
Then do your changes. Make sure to commit often. In general, the more
commits the better. Commits are easy to squash together but it's more
work to separate a single commit into two.
You don't need to switch back to master, to rebase with origin/master,
just do:
git pull --rebase
while you are on your gsoc2009-adaptive-resampler branch.
And note that in the end, it is not a matter of creating "the patch".
Rather, your delivery should be a series of git commits created with
git format-patch origin/master..gsoc2009-adaptive-resampler -o output-folder
You then tarball the output-folder and send it to us, preferably
coordinated through #gegl on irc.gimp.org.
Hope this helps, feel free to ask further quetions if you need
clarifications.
Oh and a final thing, make sure to look at gitk --all after each git
operation so that you can see what is going on.
/ Martin
> I found a similar procedure at this page:
> https://rails.lighthouseapp.com/projects/8994/sending-patches
>
> Any help/advice is greatly appreciated.
>
> Thank you for your time,
> Eric
>
_______________________________________________
> Gimp-developer mailing list
> Gimp-developer@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
>
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
> Gimp-developer mailing list
> Gimp-developer@lists.XCF.Berkeley.EDU
> https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
>
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 1c8827380906301210s429fa468t85489207e... |
|---|---|
| Date: | 30 Jun 2009 09:10 PM |
| From: | Adam Turcotte |
| Subject: | Submitting GIT patch |
Amongst other things I have written, I have made two small changes to
a file that are relevant to an open Bugzilla.
How would I go about creating a patch specifically for this file to
post as an attachment to this thread?
Adam Turcotte
a file that are relevant to an open Bugzilla.
How would I go about creating a patch specifically for this file to
post as an attachment to this thread?
Adam Turcotte
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 4A4A647F.6090509@gmail.com |
|---|---|
| Date: | 30 Jun 2009 09:14 PM |
| From: | Martin Nordholts |
| Subject: | Submitting GIT patch |
On 06/30/2009 09:10 PM, Adam Turcotte wrote:
> Amongst other things I have written, I have made two small changes to
> a file that are relevant to an open Bugzilla.
>
> How would I go about creating a patch specifically for this file to
> post as an attachment to this thread?
>
In short, create a new branch and base it on origin/master, cherry-pick
the commit in question, then edit that commit (google for details on how
to edit the last commit) into a commi that just changes that specific file
/ Martin
> Amongst other things I have written, I have made two small changes to
> a file that are relevant to an open Bugzilla.
>
> How would I go about creating a patch specifically for this file to
> post as an attachment to this thread?
>
In short, create a new branch and base it on origin/master, cherry-pick
the commit in question, then edit that commit (google for details on how
to edit the last commit) into a commi that just changes that specific file
/ Martin
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 1246395681.5540.22.camel@bender |
|---|---|
| Date: | 30 Jun 2009 11:01 PM |
| From: | Sven Neumann |
| Subject: | Submitting GIT patch |
Hi,
On Tue, 2009-06-30 at 15:10 -0400, Adam Turcotte wrote:
> Amongst other things I have written, I have made two small changes to
> a file that are relevant to an open Bugzilla.
>
> How would I go about creating a patch specifically for this file to
> post as an attachment to this thread?
Did you already commit this change to your tree? If not, do that now.
You may want to create a branch for your local work, but that is not
necessary. After you have committed your change(s), you create a patch
(or a set of patches) by using the command 'git format-patch'. Have a
look at 'git help commit' and 'git help format-patch' for the gory
details or consult one of the many git tutorials.
Sven
On Tue, 2009-06-30 at 15:10 -0400, Adam Turcotte wrote:
> Amongst other things I have written, I have made two small changes to
> a file that are relevant to an open Bugzilla.
>
> How would I go about creating a patch specifically for this file to
> post as an attachment to this thread?
Did you already commit this change to your tree? If not, do that now.
You may want to create a branch for your local work, but that is not
necessary. After you have committed your change(s), you create a patch
(or a set of patches) by using the command 'git format-patch'. Have a
look at 'git help commit' and 'git help format-patch' for the gory
details or consult one of the many git tutorials.
Sven
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | acc71440907031028m287a01b8l8074b8185b... |
|---|---|
| Date: | 03 Jul 2009 07:28 PM |
| From: | Eric Daoust |
| Subject: | Submitting GIT patch |
Hello,
The nohalo patch is submitted on bugzilla (bug #587696) with sampler
execution time summaries and three XML test files.
Eric
> Hi,
>
> First of all, remeber that your git repository of GEGL is a clone, you can
> mess it up however badly you like without affecting everyone elses repo.
> When you get push access you need to be more careful though ;)
>
> When you have cloned, create and checkout a branch to do your work on:
> git checkout -b gsoc2009-adaptive-resampler origin/master
>
> Then do your changes. Make sure to commit often. In general, the more
> commits the better. Commits are easy to squash together but it's more work
> to separate a single commit into two.
>
> You don't need to switch back to master, to rebase with origin/master, just
> do:
> git pull --rebase
>
> while you are on your gsoc2009-adaptive-resampler branch.
>
> And note that in the end, it is not a matter of creating "the patch".
> Rather, your delivery should be a series of git commits created with
> git format-patch origin/master..gsoc2009-adaptive-resampler -o output-folder
>
> You then tarball the output-folder and send it to us, preferably coordinated
> through #gegl on irc.gimp.org.
>
> Hope this helps, feel free to ask further quetions if you need
> clarifications.
>
> Oh and a final thing, make sure to look at gitk --all after each git
> operation so that you can see what is going on.
>
> / Martin
>
The nohalo patch is submitted on bugzilla (bug #587696) with sampler
execution time summaries and three XML test files.
Eric
> Hi,
>
> First of all, remeber that your git repository of GEGL is a clone, you can
> mess it up however badly you like without affecting everyone elses repo.
> When you get push access you need to be more careful though ;)
>
> When you have cloned, create and checkout a branch to do your work on:
> git checkout -b gsoc2009-adaptive-resampler origin/master
>
> Then do your changes. Make sure to commit often. In general, the more
> commits the better. Commits are easy to squash together but it's more work
> to separate a single commit into two.
>
> You don't need to switch back to master, to rebase with origin/master, just
> do:
> git pull --rebase
>
> while you are on your gsoc2009-adaptive-resampler branch.
>
> And note that in the end, it is not a matter of creating "the patch".
> Rather, your delivery should be a series of git commits created with
> git format-patch origin/master..gsoc2009-adaptive-resampler -o output-folder
>
> You then tarball the output-folder and send it to us, preferably coordinated
> through #gegl on irc.gimp.org.
>
> Hope this helps, feel free to ask further quetions if you need
> clarifications.
>
> Oh and a final thing, make sure to look at gitk --all after each git
> operation so that you can see what is going on.
>
> / Martin
>
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
| Permalink: | 1246646557.4345.13.camel@bender |
|---|---|
| Date: | 03 Jul 2009 08:42 PM |
| From: | Sven Neumann |
| Subject: | Submitting GIT patch |
Hi,
On Fri, 2009-07-03 at 13:28 -0400, Eric Daoust wrote:
> The nohalo patch is submitted on bugzilla (bug #587696) with sampler
> execution time summaries and three XML test files.
Please do also announce this on the gegl-developer list. Thanks.
Sven
On Fri, 2009-07-03 at 13:28 -0400, Eric Daoust wrote:
> The nohalo patch is submitted on bugzilla (bug #587696) with sampler
> execution time summaries and three XML test files.
Please do also announce this on the gegl-developer list. Thanks.
Sven
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


