Archive of RubyForge sup-devel mailing list
 help / color / mirror / Atom feed
From: Ben Walton <bwalton@artsci.utoronto.ca>
To: sup-devel <sup-devel@rubyforge.org>
Subject: Re: [sup-devel] What's your workflow?
Date: Tue, 29 Dec 2009 15:40:25 -0500	[thread overview]
Message-ID: <1262118240-sup-4202@ntdws12.chass.utoronto.ca> (raw)
In-Reply-To: <1262117270-sup-1009@tilus.net>


[-- Attachment #1.1: Type: text/plain, Size: 1482 bytes --]

Excerpts from Tero Tilus's message of Tue Dec 29 15:14:45 -0500 2009:

> Wiki page just doesn't say anything on how to have your own daily-sup
> branch (master or next + a set of own and others' patches) and how to
> keep that up-to-date with upstream while your develop your own patches
> (which are supposed to live in topic branches).

Maybe something like Stacked Git would work for you?

http://www.procode.org/stgit/

Alternately, if you want to stick to plain git, I'd recommend
something like:

origin/master -> master
origin/next -> next
	       |
	       \ mybranch

Where 'mybranch' collects your locally desired deviations.  If you're
not familiar with git, you'll want to do, assuming you've already got
a good repo that is tracking both origin/* branches.

Now, you can do:

git checkout -b mybranch next

As you update next with changes from origin/next, you can 'move' your
local changeset forward with:

git rebase next

If you don't explicitly track the next branch locally, you can do:

git checkout -b mybranch origin/next

and then

git rebase origin/next

as you do `git fetch` to get changes from upstream.

Be sure to do any devel work you expect to send back to the project as
a branch from master though, as that makes integration easier
upstream.

HTH.
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302

GPG Key Id: 8E89F6D2; Key Server: pgp.mit.edu
Contact me to arrange for a CAcert assurance meeting.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 143 bytes --]

_______________________________________________
Sup-devel mailing list
Sup-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-devel

  reply	other threads:[~2009-12-29 21:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-29 19:34 Tero Tilus
2009-12-29 19:41 ` Edward Z. Yang
2009-12-29 19:58 ` William Morgan
2009-12-29 20:14   ` Tero Tilus
2009-12-29 20:40     ` Ben Walton [this message]
2009-12-29 21:58       ` Tero Tilus
2009-12-29 22:51         ` William Morgan
2009-12-29 23:03           ` Tero Tilus
2009-12-30  0:01             ` William Morgan
2009-12-29 20:43     ` William Morgan
2009-12-29 22:03       ` Tero Tilus
2009-12-29 22:33         ` William Morgan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1262118240-sup-4202@ntdws12.chass.utoronto.ca \
    --to=bwalton@artsci.utoronto.ca \
    --cc=sup-devel@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox