From patchwork Fri Aug 9 11:39:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jacob Kjaergaard X-Patchwork-Id: 266013 X-Patchwork-Delegate: esben@haabendal.dk Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hugin.dotsrc.org (hugin.dotsrc.org [IPv6:2001:878:346::102]) by ozlabs.org (Postfix) with ESMTP id 6149D2C0089 for ; Fri, 9 Aug 2013 21:39:54 +1000 (EST) Received: from hugin.dotsrc.org (localhost [127.0.0.1]) by hugin.dotsrc.org (Postfix) with ESMTP id 981823F935 for ; Fri, 9 Aug 2013 13:39:52 +0200 (CEST) X-Original-To: dev@oe-lite.org Delivered-To: dev@oe-lite.org Received: from mail01.prevas.se (mail01.prevas.se [62.95.78.3]) by hugin.dotsrc.org (Postfix) with ESMTPS id AA75F3F935 for ; Fri, 9 Aug 2013 13:39:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=1991; q=dns/txt; s=ironport1; t=1376048390; x=1407584390; h=from:to:cc:subject:date:message-id:mime-version; bh=jUQ9734paUUny1KjyId2koUqAV+emmtbzuqDgTVoBNM=; b=tpePpnVEPuVfA9MZk4nRibpVwvprTVCCoTgXhMIHJXSJ/tI5T42HLBVj pJPYuYOdvs5O98dDc/hkGj31TzVxBcp28Vopo/XVMcaDfmLEZQs74YZDN MJyJ8vUEzoGBiJTdHoGoCf1WGymwPcEjpr+p/RTZ12wyukTJISfH8Vitt I=; X-IronPort-AV: E=Sophos;i="4.89,845,1367964000"; d="scan'208";a="3543977" Received: from vmprevas3.prevas.se (HELO smtp.prevas.se) ([172.16.8.103]) by ironport1.prevas.se with ESMTP/TLS/AES128-SHA; 09 Aug 2013 13:39:50 +0200 Received: from arh116.prevas.se (172.16.11.12) by smtp.prevas.se (172.16.8.105) with Microsoft SMTP Server (TLS) id 14.2.342.3; Fri, 9 Aug 2013 13:39:49 +0200 From: To: Subject: [PATCH] upstream: added section on how to lighten the workload when sending patches upstream Date: Fri, 9 Aug 2013 13:39:46 +0200 Message-ID: <1376048387-22669-1-git-send-email-jabk@prevas.dk> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [172.16.11.12] X-BeenThere: dev@oe-lite.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: OE-lite development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dev-bounces@oe-lite.org Errors-To: dev-bounces@oe-lite.org From: Jacob Kjaergaard --- upstream.txt | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/upstream.txt b/upstream.txt index fdd2fbe..5dbead3 100644 --- a/upstream.txt +++ b/upstream.txt @@ -229,3 +229,55 @@ For this to work, you need to have your host machine configured to be able to send e-mail, so that git send-email is able to send mails to the +++dev@oe-lite.org+++ list. The details for how to do this depends very much on your host system setup, and is not covered in this handbook. + +Single patches +~~~~~~~~~~~~~~ + +In some cases creating a pull request will require a lot of work overhead. + +When it is figured that a single patch will apply to the master branch +of a OE-lite repository even after some time this is the faster way to +submit changes to the project. + +Those special cases that applies cleanly could be, e.g. new recipes, +small changes to split tasks, package tasks and so on. + +Let say you made a new recipe and tested it and just committed it +locally, simply do: + +[source,sh] +---- +git format-patch -1 +---- + +"-1" may be replaced with a specific commitid or "-2" if you want that +last two commits in a patchfile. + +[source,sh] +---- +git format-patch -2 mypatches/ +---- + +Before sending single patch files upstream make sure that you have git +send-email configure as described above. + +If you dont think the log message itself is saying enough to explain +you change to the other members of the mailing list add +"--cover-letter" to generate and editable cover letter where you can +elaborate on the greater meaning with the patch (life, and +everything). + +[source,sh] +---- +edit mypatch/0000-* #( if coverletter has been chosen) +git send-email mypatch/* +---- + +or just one simple patch: + +[source,sh] +---- +git send-email 0001-.patch +---- + +