* guile contributor setup
@ 2012-02-02 14:44 Catonano
2012-02-02 15:16 ` Peter TB Brett
2012-02-02 21:37 ` Andy Wingo
0 siblings, 2 replies; 7+ messages in thread
From: Catonano @ 2012-02-02 14:44 UTC (permalink / raw)
To: guile-devel
[-- Attachment #1: Type: text/plain, Size: 776 bytes --]
Hello people,
I'm considering the idea of trying to contribute some Scheme code to guile,
and I'm running into some issues with emails, patches, git and the such.
What's the common setup you people use ?
I copied a patch from my gmail web inerface and pasted in a local file, but
I discovered I had to run dos2unix on it in order to git to process it
properly (see
http://stackoverflow.com/questions/1821267/how-can-i-apply-a-patch-file-in-git)
and then I also run into another issue that seems to be associated my gmail
use.
So I was wondering: am I supposed to use Mutt or anything else ?
I see there's an "emacs" folder in the guile folder, how many of you use
"patch.el", for example ?
What are common setups that guile contributors happen to use ?
Thanks
Catonano
[-- Attachment #2: Type: text/html, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: guile contributor setup
2012-02-02 14:44 guile contributor setup Catonano
@ 2012-02-02 15:16 ` Peter TB Brett
2012-02-02 21:37 ` Andy Wingo
1 sibling, 0 replies; 7+ messages in thread
From: Peter TB Brett @ 2012-02-02 15:16 UTC (permalink / raw)
To: guile-devel
Catonano <catonano@gmail.com> writes:
> I copied a patch from my gmail web inerface and pasted in a local file, but I
> discovered I had to run dos2unix on it in order to git to process it properly
> (see http://stackoverflow.com/questions/1821267/
> how-can-i-apply-a-patch-file-in-git) and then I also run into another issue
> that seems to be associated my gmail use.
GMail routinely mangles patches. If you wish to send a patch using
GMail, I *strongly* recommend sending it as an attachment rather than
inline.
Peter
--
Peter Brett <peter@peter-b.co.uk>
Remote Sensing Research Group
Surrey Space Centre
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: guile contributor setup
2012-02-02 14:44 guile contributor setup Catonano
2012-02-02 15:16 ` Peter TB Brett
@ 2012-02-02 21:37 ` Andy Wingo
2012-02-02 22:57 ` Neil Jerram
2012-02-03 10:04 ` Peter TB Brett
1 sibling, 2 replies; 7+ messages in thread
From: Andy Wingo @ 2012-02-02 21:37 UTC (permalink / raw)
To: Catonano; +Cc: guile-devel
On Thu 02 Feb 2012 15:44, Catonano <catonano@gmail.com> writes:
> I'm considering the idea of trying to contribute some Scheme code to
> guile, and I'm running into some issues with emails, patches, git and
> the such.
>
> What's the common setup you people use ?
I use git, from the command line and from Emacs. When I use it from
Emacs, I use magit: http://philjackson.github.com/magit/
I mostly use magit to commit, and otherwise the command line to update,
rebase, etc. I use gitk sometimes to get a graphical representations of
"the big picture".
When I make a patch and want to mail it, I use magit to commit it with a
nice log. Then on the command-line I do "git format-patch
origin/stable-2.0..HEAD" and that spits out one file for each commit I
made that is not in upstream stable-2.0. I then attach them to mails.
I use Gnus for mail, in emacs. When I receive a patch, I pipe it to a
(cd ~/src/guile; git am -3). That usually applies it fine. I could
save the file and use git am -3 manually tho.
That's pretty much it!
A
--
http://wingolog.org/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: guile contributor setup
2012-02-02 21:37 ` Andy Wingo
@ 2012-02-02 22:57 ` Neil Jerram
2012-02-03 10:04 ` Peter TB Brett
1 sibling, 0 replies; 7+ messages in thread
From: Neil Jerram @ 2012-02-02 22:57 UTC (permalink / raw)
To: Andy Wingo; +Cc: guile-devel
Andy Wingo <wingo@pobox.com> writes:
> On Thu 02 Feb 2012 15:44, Catonano <catonano@gmail.com> writes:
>
>> I'm considering the idea of trying to contribute some Scheme code to
>> guile, and I'm running into some issues with emails, patches, git and
>> the such.
>>
>> What's the common setup you people use ?
>
> I use git, from the command line and from Emacs. When I use it from
> Emacs, I use magit: http://philjackson.github.com/magit/
>
> I mostly use magit to commit, and otherwise the command line to update,
> rebase, etc. I use gitk sometimes to get a graphical representations of
> "the big picture".
>
> When I make a patch and want to mail it, I use magit to commit it with a
> nice log. Then on the command-line I do "git format-patch
> origin/stable-2.0..HEAD" and that spits out one file for each commit I
> made that is not in upstream stable-2.0. I then attach them to mails.
FWIW, 100% snap!
Neil
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: guile contributor setup
2012-02-02 21:37 ` Andy Wingo
2012-02-02 22:57 ` Neil Jerram
@ 2012-02-03 10:04 ` Peter TB Brett
2012-02-03 12:01 ` Catonano
1 sibling, 1 reply; 7+ messages in thread
From: Peter TB Brett @ 2012-02-03 10:04 UTC (permalink / raw)
To: guile-devel
Andy Wingo <wingo@pobox.com> writes:
> I use git, from the command line and from Emacs. When I use it from
> Emacs, I use magit: http://philjackson.github.com/magit/
>
> I mostly use magit to commit, and otherwise the command line to update,
> rebase, etc. I use gitk sometimes to get a graphical representations of
> "the big picture".
I use stgit, with stgit-mode for Emacs. Best patch stack management
tool *ever*.
Peter
--
Peter Brett <peter@peter-b.co.uk>
Remote Sensing Research Group
Surrey Space Centre
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: guile contributor setup
2012-02-03 10:04 ` Peter TB Brett
@ 2012-02-03 12:01 ` Catonano
2012-02-03 13:38 ` Catonano
0 siblings, 1 reply; 7+ messages in thread
From: Catonano @ 2012-02-03 12:01 UTC (permalink / raw)
To: Peter TB Brett; +Cc: guile-devel
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
People,
thank you all for your overviews.
I guess I have to go a bit off topic, here. Admittedly I'm not a Git master
and I'm having an issue.
I made my own brand new branch, checked out into it, I successfully applied
a patch onto it. The status shows nothing to commit, the log shows the
patch applied.
But the affected files aren't changed, they are as they were.
What's going on, here ?
Thanks for any hint
[-- Attachment #2: Type: text/html, Size: 480 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-02-03 13:38 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02 14:44 guile contributor setup Catonano
2012-02-02 15:16 ` Peter TB Brett
2012-02-02 21:37 ` Andy Wingo
2012-02-02 22:57 ` Neil Jerram
2012-02-03 10:04 ` Peter TB Brett
2012-02-03 12:01 ` Catonano
2012-02-03 13:38 ` Catonano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).