(Quoting rearranged for conversational convenience)

> On Wed, Feb 03, 2010 at 06:19:14PM -0500, Ankur Nayak wrote:
>>    Can I checkout code from the OpenBSD repository?

Nicholas Marriott wrote:
> Yes, but it won't build on any platform except OpenBSD, SF has the
> portable version.

I've been using the following (somewhat complicated) method to sync with
your latest OpenBSD changes on Ubuntu:

  1. Check out OpenBSD CVS, as of a version that has already been
synched to SourceForge, and hasn't yet been changed since that synch.

  2. When I become aware of changes to OpenBSD CVS, I make a copy of the
current CVS working directory, update the original, and then diff -ru
between them.

  3. There is a little bit of cleanup I have to do to the resulting diff:
       a. there are updates to CVS $Keywords$ at the top of most files
that I need to remove from the diffs; fortunately these tend to appear
in a separate chunk.
       b. there is a diff for CVS/Entries that needs to be removed.

     I plan on scripting this part soon.

  4. In the SourceForge CVS, where I keep a quilt "patches/" directory,
I do a "quilt import -p1 <the patch>".


This is possibly more work than it's worth to most people, especially
considering Tiago's promptness in updating SF. It's useful for me while
I'm actively writing patches, as you'll check in code that's slightly
different from my patches, or, as in the case for window_copy_next_page,
make some code changes that I need to work against before I can give you
a reasonable patch.

I imagine, for someone who just wants the latest and isn't writing code,
you could do the reverse: compare a "same" SF against OpenBSD, import
the resulting diff as a quilt patch in the OpenBSD CVS, and then
whenever there are new changes in OpenBSD, "quilt pop; cvs up; quilt push".

(For those who may not know, "quilt" is a suite of shell tools that
maintains a series of patches, and allows you to apply them in series,
and push/pop them off the current directory state.)

-mjc

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to