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

eups declare -t -c bug?

    Details

    • Type: Story
    • Status: To Do
    • Resolution: Unresolved
    • Fix Version/s: None
    • Component/s: eups
    • Labels:
      None
    • Templates:
    • Team:
      SQuaRE

      Description

      sims_maf_contrib is a github repo we encourage people to use for general (non-LSST) contributions to sims_maf.
      as such, it's git cloned and then usually put into something like ~/lsstRepos/sims_maf_contrib
      (vs. ~/lsst/ .. etc for eups distributed packages).
      After it's cloned, doing :

      cd ~/lsstRepos/sims_maf_contrib
      eups declare -r . -c 
      

      results in a nonsense path being stored in eups.
      Example:

      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% pwd
      /Users/lynnej/lsstRepos/sims_maf_contrib
      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% eups list sims_maf_contrib
      eups list: Unable to find product sims_maf_contrib
      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% eups declare -r . -c
      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% setup sims_maf_contrib
      setup: Table file not found for sims_maf_contrib tag:current (DarwinX86): /Users/lynnej/lsst/epos/sims_maf_contrib/ups/sims_maf_contrib.table
      

      What does seem to work is using the tag '$USER':

      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% eups undeclare sims_maf_contrib
      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% eups declare -r . -t $USER
      Warning: path /Users/lynnej/lsstRepos/sims_maf_contrib is absolute, not relative to EUPS_PATH
      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% setup sims_maf_contrib -t $USER -t sims
      [lucy:~/lsstRepos/sims_maf_contrib] lynnej% 
      

      I think this is a bug. I'm not entirely sure who to assign it to, so I've started with SQuaRE.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ljones Lynne Jones
                Watchers:
                Kian-Tat Lim, Lynne Jones
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel