From olly at survex.com Mon Dec 3 01:38:08 2018 From: olly at survex.com (Olly Betts) Date: Mon, 3 Dec 2018 01:38:08 +0000 Subject: Reproducible build of xapian-bindings for python - patch included In-Reply-To: <20181126123632.43cec159@scratchpost.org> References: <20181126123632.43cec159@scratchpost.org> Message-ID: <20181203013808.omn64atnjua5es54@survex.com> On Mon, Nov 26, 2018 at 12:36:32PM +0100, Danny Milosavljevic wrote: > The reason is that in python3/Makefile.am there's a "cp" statement > without "-p" - which means it will not preserve timestamps but rather > generate a new timestamp every time - making every build output > different. > > (We do have a general snippet to reset timestamps, but it comes too > late - by that time, the pyc file already contains the ever-changing > source timestamp and thus is also ever-changing) > > So we patch xapian-bindings to include the "-p" option on our side. > > Would you be willing to apply the patch below? The patch looks OK (though this should be addressed in git master first). However it seems it only solves the problem of .pyc files embedding timestamps because we currently ship the SWIG-generated .py files (which we mostly do because there was a period when it was hard to find a SWIG release which worked for all the languages we use it for - SWIG now has extensive testsuites which are monitored by CI for most of its target languages so that's probably no longer a valid concern). A package which runs SWIG at build time would presumably also have arbitrary timestamps on the SWIG-generated .py files. Maybe https://www.python.org/dev/peps/pep-0552/ is better general solution? Cheers, Olly From gauravarora.daiict at gmail.com Wed Dec 19 02:53:49 2018 From: gauravarora.daiict at gmail.com (Gaurav Arora) Date: Wed, 19 Dec 2018 13:53:49 +1100 Subject: No subject In-Reply-To: References: Message-ID: Hi Vaibhav, Sorry for the delayed response and Thanks for reaching out. I would suggest you start by reading Guide here: https://trac.xapian.org/wiki/GSoC%20Guide#Getfamiliarwiththecode Best way to get started is by the building the code your local machine and trying out bite-sized project or GoodFirstBugs. You can find links and details here: https://trac.xapian.org/wiki/GSoC%20Guide#Getfamiliarwiththecode Looking forward to seeing you contribute to Xapian. Thanks, Gaurav P.S: It's generally advisable to ask queries on IRC or xapian-devel List ( https://xapian.org/lists) as you can get a response quickly and others with same questions later can benefit. On Sun, Dec 16, 2018, 5:47 AM vaibhav kansagara < vaibhavkansagara249 at gmail.com wrote: > Hi, > My name is Vaibhav Kansagara. I am a third year undergrad student studying > in International Institute of Information Technology Bangalore. I was > hoping you could guide me in contributing to the codebase. I have > experience in c++ and machine learning. I have installed xapian on my > system and i was hoping you could guide me what to do next. > Thanks in advance. > Regards. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From vaibhavkansagara249 at gmail.com Wed Dec 19 07:14:42 2018 From: vaibhavkansagara249 at gmail.com (vaibhav kansagara) Date: Wed, 19 Dec 2018 12:44:42 +0530 Subject: No subject In-Reply-To: References: Message-ID: Thank you, I will check it out. On Wed, Dec 19, 2018 at 8:24 AM Gaurav Arora wrote: > > Hi Vaibhav, > > Sorry for the delayed response and Thanks for reaching out. > > I would suggest you start by reading Guide here: > https://trac.xapian.org/wiki/GSoC%20Guide#Getfamiliarwiththecode > > Best way to get started is by the building the code your local machine and > trying out bite-sized project or GoodFirstBugs. > You can find links and details here: > https://trac.xapian.org/wiki/GSoC%20Guide#Getfamiliarwiththecode > > Looking forward to seeing you contribute to Xapian. > > Thanks, > Gaurav > > P.S: It's generally advisable to ask queries on IRC or xapian-devel List ( > https://xapian.org/lists) as you can get a response quickly and others > with same questions later can benefit. > > On Sun, Dec 16, 2018, 5:47 AM vaibhav kansagara < > vaibhavkansagara249 at gmail.com wrote: > >> Hi, >> My name is Vaibhav Kansagara. I am a third year undergrad student >> studying in International Institute of Information Technology Bangalore. I >> was hoping you could guide me in contributing to the codebase. I have >> experience in c++ and machine learning. I have installed xapian on my >> system and i was hoping you could guide me what to do next. >> Thanks in advance. >> Regards. >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: