On Wed, 2017-01-11 at 15:10 -0700, Jason Gunthorpe wrote: > 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. Wonderful, I'll add it to my git vocabulary, Thanks, Knut > > 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html