Skip to content
Snippets Groups Projects
Forked from ESS EPICS Environment / wrappers / e3-require
Source project has a limited visibility.
  • Simon Rose's avatar
    8601a15d
    E3-894: Fix issue where non-existent versions would cause the build to hang · 8601a15d
    Simon Rose authored
    The ultimate issue here was that we performed a
    ```
    cat $( ... ) | sed '1d'
    ```
    and if that inner block was empty, then `cat` reverted to waiting for user input. The
    error also came up with non-specified build numbers, so we need to make sure that those
    are also being fetched correctly.
    
    The upshot is now `<module>_VERSION` will automatically fetch the correct build number;
    the only potential downside is that if we have a newer version in `${E3_SITEMODS_PATH}`
    in comparison to `${EPICS_MODULES}` (read: cellMods), then it won't pick that up. However,
    this seems to be a pretty special corner case.
    8601a15d
    History
    E3-894: Fix issue where non-existent versions would cause the build to hang
    Simon Rose authored
    The ultimate issue here was that we performed a
    ```
    cat $( ... ) | sed '1d'
    ```
    and if that inner block was empty, then `cat` reverted to waiting for user input. The
    error also came up with non-specified build numbers, so we need to make sure that those
    are also being fetched correctly.
    
    The upshot is now `<module>_VERSION` will automatically fetch the correct build number;
    the only potential downside is that if we have a newer version in `${E3_SITEMODS_PATH}`
    in comparison to `${EPICS_MODULES}` (read: cellMods), then it won't pick that up. However,
    this seems to be a pretty special corner case.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.