#4955: update releases/15 repomd.xml timestamps to be newer than published
development/15 timestamps
----------------------+-----------------------------------------------------
Reporter: mdomsch | Owner: rel-eng(a)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
}}}
--
Ticket URL: <
https://fedorahosted.org/rel-eng/ticket/4955#comment:2>
Fedora Release Engineering <
http://fedorahosted.org/rel-eng>
Release Engineering for the Fedora Project