[PATCH] FreeBSD backend

Joe Marcus Clarke marcus at FreeBSD.org
Tue Nov 28 18:34:22 PST 2006


On Tue, 2006-11-28 at 16:47 -0800, Dan Nicholson wrote:
> On 11/28/06, Joe Marcus Clarke <marcus at freebsd.org> wrote:
> > On Tue, 2006-11-28 at 14:03 -0800, Dan Nicholson wrote:
> > > On 11/28/06, David Zeuthen <david at fubar.dk> wrote:
> > > >
> > > > Ideally commit the shared code one unit at a time... and the full
> > > > backend in one commit? You can do all the commits in your own tree and
> > > > then generate patches (does anyone offhand know the magic git command to
> > > > do that?) and send them to the list? Then we can test out the patches
> > > > before you push all the changes..
> > >
> > > Something like
> > >
> > > git-format-patch -k --attach --stdout origin..master | git-send-email
> > > --to hal at lists.freedesktop.org
> > >
> > > will create an mbox with a bunch of patches depending on what options
> > > you pass to each command. I also mucked around with git-imap-send the
> > > other day and it worked great once I had the relevant setting in
> > > .git/config for imap. Read the man pages for git-format-patch and
> > > git-send-email (and potentially git-imap-send).
> >
> > I did, but I cannot make this syntax work.  git-send-email expects file
> > or directory names on the command line.  It does not like this data
> > piped to it.  I can make this work on a patch-by-patch basis piping
> > directly to sendmail, but this just seems too complicated.
> >
> > All I want to do is commit this work.  All of these hoops are just
> > wearing me out.  I have all the glue code in mbox format at
> > http://www.marcuscom.com/downloads/hal_git.mbox.  Can someone look that
> > over, and let me know if I can push those changes?
> 
> Sorry about that. My experience had really been with git-imap-send
> which accepts a pipe. It looks like the better way would be:
> 
> mkdir foo
> git-format-patch --attach -o foo origin
> git-send-email --to hal at lists.freedesktop.org foo/* (fill in the queries)

I tried this earlier when I was trying to make this work, but it just
sends corrupt messages.  I don't want to spam the list with that.

> 
> Although, I'm not having the best luck with git-send-email myself.
> 
> But, someone should be able to take your mbox file and run git-am with
> it into their own tree. Also, the URL was wrong (.mobx vs. .mbox).
> Here's the right one:
> 
> http://www.marcuscom.com/downloads/hal_git.mobx
> 
> The alternative would be to make your git repo accessible for someone
> (David) to pull from.

I have commit access.  All I want to do is push my changes.  Every time
I get closed to commit, someone wants to see my patches in some other
format.  I just want to do a git push.  Since everyone has seen what I
want to commit, can I just do that?

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20061128/fb684bf1/attachment.pgp


More information about the hal mailing list