Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7179

sconsUtils reads SConscript files in alphabetical order

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Resolution: Done
    • None
    • sconsUtils
    • None
    • 1
    • DRP F16-3
    • Data Release Production

    Description

      I have made the deeply embarrassing discovery that I knowingly made sconsUtils' reading of SConstruct files discovered in subdirectories ordered alphabetically, and considered this okay because "include < lib < python < test". This needs to be made user-configurable, probably via a keyword argument to sconsUtils.scripts.BasicSConstruct.

      Attachments

        Issue Links

          Activity

            Parejkoj John Parejko added a comment -

            I believe the posted commit fixes the problem: I was able to remove the file-only dependency, add various Requires() in the base SConstruct, and the build order was obeyed.

            Parejkoj John Parejko added a comment - I believe the posted commit fixes the problem: I was able to remove the file-only dependency, add various Requires() in the base SConstruct, and the build order was obeyed.
            jbosch Jim Bosch added a comment -

            Parejkoj, could you please review this, and try the latest version on your test case?

            jbosch Jim Bosch added a comment - Parejkoj , could you please review this, and try the latest version on your test case?
            Parejkoj John Parejko added a comment -

            Although I still need to put in Requires and Depends commands to ensure the right things are built at the right time (unsurprising), this does do what I need. I posted one comment about a section of the code. Looks good otherwise.

            Parejkoj John Parejko added a comment - Although I still need to put in Requires and Depends commands to ensure the right things are built at the right time (unsurprising), this does do what I need. I posted one comment about a section of the code. Looks good otherwise.
            jbosch Jim Bosch added a comment -

            Merged to master.

            jbosch Jim Bosch added a comment - Merged to master.

            People

              jbosch Jim Bosch
              jbosch Jim Bosch
              John Parejko
              Jim Bosch, John Parejko, Paul Price
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.