Re: Supporting Gtk+ Maintenance
- From: Behdad Esfahbod <behdad behdad org>
- To: मयंक जैन "(makuchaku)" <mayank gnu gmail com>
- Cc: Federico Mena Quintero <federico ximian com>, GTK+ development mailing list <gtk-devel-list gnome org>
- Subject: Re: Supporting Gtk+ Maintenance
- Date: Tue, 27 Mar 2007 19:42:14 -0400
On Tue, 2007-03-27 at 11:27 -0400, मयंक जैन (makuchaku) wrote:
> On 3/16/07, Federico Mena Quintero <federico ximian com> wrote:
> > Your mission, should you decide to accept it, is to do this:
> >
> > - Get the latest GTK+ from svn trunk.
> >
> > - Go through each of the unreviewed patches and classify them
> > informally:
> >
> > - obsolete patch which does not apply "as-is" to the sources
> > (you can use "patch --dry-run" to test this easily without
> > screwing up your source tree)
> > - big patch which needs detailed testing/review
> > - small patch which could be tested/reviewed in a few minutes
> >
>
> 29 patches were categorized. More to go...
>
> Is there a way to check programatically (scripts/patch-command/etc)
> that if a patch is applicable to be applied with p0 or p1?
patch --dry-run
$ cat gnome-patch
#!/bin/bash
if test $# '!=' 1; then
echo usage: $0 attachmentid
exit 2
fi
ID=$1
FILE="attachment.cgi?id=$ID"
OUT="attachment-$ID.patch"
wget "http://bugzilla.gnome.org/$FILE" -O "$OUT" &&
patch --dry-run -p0 < "$OUT" &&
patch -p0 < "$OUT" &&
echo "Patch $OUT applied cleanly."
> If so, then this process of categorizing patches can be automated i suppose.
>
> ...any comments, suggestions :)
>
> --
> Makuchaku
> http://www.makuchaku.info/blog
> _______________________________________________
> gtk-devel-list mailing list
> gtk-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
--
behdad
http://behdad.org/
"Those who would give up Essential Liberty to purchase a little
Temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin, 1759
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]