Skip to content
  • Roscoe A. Bartlett's avatar
    787dd01f
    Putting checkin email notification scripts under version control · 787dd01f
    Roscoe A. Bartlett authored
    I have now implemented a new system for handling the checkin email
    notifiations for Trilinos and preCopyrightTrilinos.  The directory:
    
       Trilinos/commonTools/git/hooks
    
    now contains updated scripts that now read from a file called dirs_to_emails
    that contains the mappings of directories to email addresses.  I copied the
    existing file /space/git/Trilinos/hooks/loginfo and cleaned this up as:
    
       Trilinos/commonTools/git/hooks/Trilinos/dirs_to_emails
    
    Instructions on how to set up email notifications is at:
    
       Trilinos/commonTools/git/hooks/README.SETUP
    
    I am using these same hooks for some other git repositories of my own on SSG.
    
    For now, I have just symbolically linked the file dirs_to_files on SSG to:
    
       /home/rabartl/PROJECTS/Trilinos.base/Trilinos/commonTools/git/hooks/Trilinos/dirs_to_emails
    
    Jim W. needs to change the symblic links to the version of Trilinos that his
    cron job updates every night.
    
    I have also enabled email notifications for preCopyrightTrilinos packages and
    added support for the current list of packages.  Anyone can add new mappings
    at:
    
       Trilinos/commonTools/git/hooks/preCopyrightTrilinos/dirs_to_emails
    
    which is also symbolicially linked as described above.
    
    I tested this manually and the mappings seem to be working perfectly.
    787dd01f
    Putting checkin email notification scripts under version control
    Roscoe A. Bartlett authored
    I have now implemented a new system for handling the checkin email
    notifiations for Trilinos and preCopyrightTrilinos.  The directory:
    
       Trilinos/commonTools/git/hooks
    
    now contains updated scripts that now read from a file called dirs_to_emails
    that contains the mappings of directories to email addresses.  I copied the
    existing file /space/git/Trilinos/hooks/loginfo and cleaned this up as:
    
       Trilinos/commonTools/git/hooks/Trilinos/dirs_to_emails
    
    Instructions on how to set up email notifications is at:
    
       Trilinos/commonTools/git/hooks/README.SETUP
    
    I am using these same hooks for some other git repositories of my own on SSG.
    
    For now, I have just symbolically linked the file dirs_to_files on SSG to:
    
       /home/rabartl/PROJECTS/Trilinos.base/Trilinos/commonTools/git/hooks/Trilinos/dirs_to_emails
    
    Jim W. needs to change the symblic links to the version of Trilinos that his
    cron job updates every night.
    
    I have also enabled email notifications for preCopyrightTrilinos packages and
    added support for the current list of packages.  Anyone can add new mappings
    at:
    
       Trilinos/commonTools/git/hooks/preCopyrightTrilinos/dirs_to_emails
    
    which is also symbolicially linked as described above.
    
    I tested this manually and the mappings seem to be working perfectly.
Loading