Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Support for Email Options #1719

Merged
merged 17 commits into from
Jul 14, 2017
Merged

Add Support for Email Options #1719

merged 17 commits into from
Jul 14, 2017

Commits on Jul 13, 2017

  1. Added mail options to case.submit.

    Added --mail-user and --mail-type to case.submit and most of \nthe infrastructure associated with it. It isn't yet functional though.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    4f94044 View commit details
    Browse the repository at this point in the history
  2. Added email options for batch systems

    Added a default email and email type to both the env_batch.xml and to
    case.submit. For the xml it uses the environment variable EMAIL to set
    the users email. Additionally, the email type defaults to never.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    c36bc48 View commit details
    Browse the repository at this point in the history
  3. Fixed typo

    Fixed a typo when comparing strings.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    c824805 View commit details
    Browse the repository at this point in the history
  4. Testing a environ check bipass

    I am testing to see if the environment variable doesn't exist can we
    still run things as expected.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    56b91ef View commit details
    Browse the repository at this point in the history
  5. Adding handling of non-existent $ENV{EMAIL}

    Trying to handle non-existent EMAIL in environment elegantly.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    7989df3 View commit details
    Browse the repository at this point in the history
  6. Fixed a simple typo

    Fixed a typo in variable name.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    d0cf34f View commit details
    Browse the repository at this point in the history
  7. Fixed call to wrong function

    When determining the proper flag for the current batch system I called
    the wrong function, which made the code crash. This now appears to work
    and I am able to received an email at various times in the run process.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    9fce892 View commit details
    Browse the repository at this point in the history
  8. Moved flags and options to XML

    Removed the dictionary hard code of mail_types and flags in favor of XML
    definitions.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    3a10387 View commit details
    Browse the repository at this point in the history
  9. Fixed typo in XML

    Fixed a type on config_batch.xml where a node was not closed.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    04016e5 View commit details
    Browse the repository at this point in the history
  10. Fixed another typo in XML

    Found another set of typos in config_batch.xml.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    aac6ad1 View commit details
    Browse the repository at this point in the history
  11. Last set of XML typos?

    Hopefully, I found the last set of XML typos.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    4eac8a0 View commit details
    Browse the repository at this point in the history
  12. Added mail elements to XML schema

    Forgot to add the appropriate elements to the XML schema.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    f886a07 View commit details
    Browse the repository at this point in the history
  13. Element definitions in wrong place

    Placed element definitions in the wrong portion of the XML schema.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    882e9b1 View commit details
    Browse the repository at this point in the history
  14. Made elements a minOccurs element

    Changed element types for the batch_mail system.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    9469592 View commit details
    Browse the repository at this point in the history
  15. Forgot the simple element

    Had to add both simple element and minOccurs to get things to work.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    fe21e13 View commit details
    Browse the repository at this point in the history
  16. Another typo in env_batch.py

    Fixed a simple typo.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    5e2424d View commit details
    Browse the repository at this point in the history
  17. Email feature appears to work

    Fixed the template file so that skip-preview-namelist option works
    and it so that get_value looked over all of env_batch.xml. Everything
    appears to work as expected.
    Erich L Foster committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    bb19ad6 View commit details
    Browse the repository at this point in the history