#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):
bump timestamp, not revision
{{{ #!/bin/sh new_timestamp='1305759845'
# Bump lines that look like this; # <timestamp>1305656224</timestamp> # into lines that look like this: # <timestamp>1305759845</timestamp>
cd /pub/fedora/linux/releases/15/Everything for f in $(find . -name repomd.xml); do sed -i -e "s:<timestamp>.*</timestamp>:<timestamp>${new_timestamp}</timestamp>:" $f touch -d @${new_timestamp} $f touch -d @${new_timestamp} $(dirname $f) grep timestamp $f ls -l $f done }}}