From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Gunthorpe Subject: Re: rdma-core package version schema Date: Wed, 11 Jan 2017 15:10:04 -0700 Message-ID: <20170111221004.GA31081@obsidianresearch.com> References: <1483642867.5227.18.camel@profitbricks.com> <20170105230928.GA4262@obsidianresearch.com> <1483723704.5227.23.camel@profitbricks.com> <20170108084759.GJ15685@mtr-leonro.local> <1484139556.2191.48.camel@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1484139556.2191.48.camel-QHcLZuEGTsvQT0dZR+AlfA@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Knut Omang Cc: Leon Romanovsky , Benjamin Drung , linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org On Wed, Jan 11, 2017 at 01:59:16PM +0100, Knut Omang wrote: > It seems that interface is only available for those with write > access to the github repo which does not cover the (for me at least) > common use case that I want to built my own slightly modified test > .rpm of something. Then users will end up creating tarballs > manually, or outside the build logic, with potentials for mistakes, > not to mention the?? documentation need to tell users this. Any user can run git archive and it will always create the correct result. $ git archive --prefix rdma-core/ --output rdma-core-12.tgz HEAD No other steps are required. > Isn't a dist target a well established standard the rdma_core packages should?? > support for simplicity and uniformity? 'make dist' is kinda a GNUism where packages that use auto* require building pre-build auto* stuff into their tar files. We do not require that and our dist tar file is identical to what git archive produces. For developers we have the buildlib/cbuild script. Install docker and it will automate building packages for you: $ buildlib/cbuild build-images centos7 # One time $ buildlib/cbuild pkg centos7 It takes care of all the details and guarantees the build is done with the correct set of build time packages. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html