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/python3 | |
import datetime | |
import os | |
import sys | |
import git | |
import PyRSS2Gen | |
if 'DEBUG' in os.environ: |
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/python3 | |
import datetime | |
import os | |
import sys | |
import git | |
import PyRSS2Gen | |
# TODO: autodetect remotes |
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/python3 | |
import sys | |
import hashlib | |
if len(sys.argv) != 3: | |
sys.exit('usage: %s name1 name2' % sys.argv[0]) | |
if sys.argv[2] > sys.argv[1]: | |
name1 = sys.argv[1] | |
name2 = sys.argv[2] |
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 | |
mkdir -p /usr/local/lib/systemd-delta-delta/ | |
cd /usr/local/lib/systemd-delta-delta/ | |
log=delta_$(date '+%Y%m%d').log | |
logs=$(ls delta_*.log 2> /dev/null | wc -l) | |
if [ $logs != 0 ]; then | |
lastlog=$(ls delta_*.log | tail -n 1) | |
else | |
# first run |