Might help to know what 'repository' you are using/talking about.
No, don't have an answer ... not even a wild suggestion .. .but in initial contemplation the above was the first question that came to mind - what repo?
In order to have links be generated automagically, however, would think there would be a known something concerning the files/links ... lIke Moodle backups that are made daily ... one might know that by option choices the file name will begin with 'backup' and have YYYYMMDDHHSS in it's file name (ending with .mbz).
Not sure there is any moodle tool that searches 'repos' like that that also generates a link to the most recent addition so you might be looking a developing something for /local/ and of your own making.
If repo is seachable via command line, a cron script that runs a scan and also dumps to an HTML file that contains only the link to the most recent. In Moodle, that HTML file is linked to in an HTML block. Something like that.
'spirit of sharing', Ken