#4955: update releases/15 repomd.xml timestamps to be newer than published development/15 timestamps ----------------------+----------------------------------------------------- Reporter: mdomsch | Owner: rel-eng@lists.fedoraproject.org Type: task | Status: new Milestone: | Component: other Resolution: | Keywords: ----------------------+----------------------------------------------------- Comment (by mdomsch):
{{{ #!/bin/sh new_timestamp='1305759845'
# Bump lines that look like this; # <revision>1305656224</revision> # into lines that look like this: # <revision>1305759845</revision>
cd /pub/fedora/linux/releases/15/Everything for f in $(find . -name repomd.xml); do sed -i -e "s:<revision>.*</revision>:<revision>${new_timestamp}</revision>:" $f touch -d @${new_timestamp} $f touch -d @${new_timestamp} $(dirname $f) grep revision $f ls -l $f done }}}