This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
reposado update notification: reports changed Apple products between repo_sync runs | |
Checks the current list of updates versus the previous list of updates and | |
reports on the changes. Run this script after your repo_sync run to see the | |
changes between syncs. You can then hand this report off in email if you wish. | |
For example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# File locations - Change as needed | |
list="/tmp/updatelist.txt" # List of updates not in any branches | |
email="/tmp/updatemail.txt" # Temp file to hold the email message | |
mailbinary="/usr/sbin/sendmail" # Location of the binary that sends mail | |
repoutil="/usr/local/reposado/repoutil" # Location of the repoutil binary | |
# Options for automatically adding new updates to a branch - Change as desired | |
autoadd=true |