LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  February 2014

QSERV-L February 2014

Subject:

Re: Proposal about "scons --eups"

From:

"Daniel L. Wang" <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Wed, 19 Feb 2014 11:43:35 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (88 lines)

Hi Fabrice,

> Qserv build ran successfully with eupspkg installed dependencies using
> the "custom.py" configuration file.
> But it doesn't seem to work while running command "scons --eups", or
> "scons eups=1".
It shouldn't, because I don't know enough of what I can derive from eups 
and how. The code is not implemented. If you show me the code you wrote 
to generate your custom.py, maybe I can finish it?

> That's why, i propose you to use the "custom.py" configuration in the
> eupspkg packaging.
This is not what the custom.py was intended to address...

> Here's why i propose this :
>
> - the new TaP (Tarball and patch) eupspkg feature allow to VERY easily
> patch custom.py file. I can create this packaging in a few minutes,
I agree. I'm sure that feature could do much more...

> - having only one build process interface would be easier to maintain
> and document,
Ok.

> - we won't have to modify the qserv build code if we stop using eupspkg,
But we'll have to modify and write new code somewhere. Wherever it is, 
it will need to be tracked and kept up to date.

> - we won't have to modify the qserv build code if eups interface change
> (for exemple the name of the env variables),
But we'll have to modify the code that writes the custom.py file. I 
would rather cut out that step. Why not be more direct?

> - the build process interface would be the same for a stand-alone build
> or a eups build, which  would allow better debugging and understanding
> for sysadmins,
This is somewhat true. I wanted more integration for eups building, and 
I don't want to use files as a way of transmitting information from one 
part of qserv to another.

> - the "custom.py" technique could be also used in rpm and deb packaging,
> and so their would be only one interface to maintain for all packaging
> system,
One interface, but it's more generality than is needed. 'custom.py' 
really is a way to insert arbitrary python code into the build system. 
Each of the other packaging systems requires some integration logic, and 
usually it is fragile because the people performing the packaging are 
usually not part of the development team of the software that is being 
packaged. In our case, we are one team writing the software and doing 
the packaging. I think there is less code to manage overall if it is 
more integrated.

> - none of all the qserv dependencies, or stack dependencies, contain
> eups specific code in their build scripts,
No, but there are eups-specific files there. The eups-specific plugin I 
propose is isolated.
> - it is less job for us, and leads to a simpler solution,
I don't think so. You'll need to write the integration logic 
somewhere--whether it's bash/perl/python code to generate the right 
command line to a './configure' script or a build-configuration file or 
a plugin into the build system. It's just a matter of where it goes.

> Would you agree with it ?
> Do you think i miss some important point ?
I still need some convincing. One of the things I hate about qserv is 
that there are so many files that are created for passing information 
between its pieces. We have separate config files for the master/czar, 
proxy(sort of), my.cnf(worker AND master), and xrootd/cmsd. And in some 
way, we are asking the user to keep them consistent. Why? We control the 
code that generates every single one of them. Since we are writing the 
code that generates them, why do the generation only once during 
installation? If we can do the generation just-in-time, or not at all 
(maybe we can communicate the information directly!), we don't have to 
worry about those files being out of sync.

If you insist, you might be able to convince me of a "pkgconfig.py" file 
that mostly works like custom.py, but I'd really rather not.

What do you think? I may have missed something as well.

-Daniel

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use