From: Ingo Molnar Subject: Re: [PATCH 3/4] Provides the basic Gitish framework Date: Fri, 8 Apr 2011 08:10:39 +0200 Message-ID: <20110408061039.GC902@elte.hu> References: <1302205647-7435-1-git-send-email-prasadjoshi124@gmail.com> <1302205647-7435-3-git-send-email-prasadjoshi124@gmail.com> <20110407201402.GA11092@elte.hu> <1302241489.32207.50.camel@jaguar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Prasad Joshi , kvm@vger.kernel.org, asias.hejun@gmail.com, gorcunov@gmail.com, oswaldo.cadenas@gmail.com To: Pekka Enberg Return-path: Received: from mx3.mail.elte.hu ([157.181.1.138]:42908 "EHLO mx3.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751519Ab1DHGKp (ORCPT ); Fri, 8 Apr 2011 02:10:45 -0400 Content-Disposition: inline In-Reply-To: <1302241489.32207.50.camel@jaguar> Sender: kvm-owner@vger.kernel.org List-ID: * Pekka Enberg wrote: > On Thu, 2011-04-07 at 23:33 +0100, Prasad Joshi wrote: > > On Thu, Apr 7, 2011 at 9:14 PM, Ingo Molnar wrote: > > > > > > * Prasad Joshi wrote: > > > > > >> - kvm-cmd.h: Adds a new structure cmd_struct to create a table of commands > > >> and callback function. > > >> > > >> - kvm-cmd.c: implements two main functions for command processing. > > >> kvm_get_command(): searches table for specific command. > > >> handle_command(): invokes the callback function for a given command. > > >> > > >> - kvm-help.[ch] Implements the kvm help command. > > > > > > Please credit the people/projects from where you took these bits. > > > > Oh yes! > > struct cmd_struct and list_common_cmds_help() is copied from perf. > > Please just add that to the changelog. Yeah - and perf took it from Git :-) The way we credited the Git project in perf was this commit: 1b173f77dd0d: perf_counter tools: Add CREDITS file for Git contributors basically a CREDITS file for Git library contributors. If you expect to take more bits, such as the help system (look at tools/perf/Documentation/) and other bits, the easiest solution would be for you to take the CREDITS file and name it CREDITS-lib or so. This also serves as a way to grandfather in other history (and copyrights), the exact upstream Git sha1 is mentioned. The Git project is GPLv2 as well like the kernel and like tools/perf/, so this works out well and you do not have to re-credit again and again so precisely, as you take more bits of Git's library code. Thanks, Ingo