On Friday, November 14, 2014 5:58:26 AM UTC-8, Roger Oberholtzer wrote: > > I see the the trac-admin 'download' command supports the following: > > download add Add new download > download list Show uploaded downloads > download remove Remove uploaded download > > I would like to update files that already exist. I guess I could remove it > and add it again. The disadvantage is that the various properties that have > been applied would need to be maintained (list/parse and then use in the > add). The list command does not really offer something that is wasy to > parse as there are no field delimiters. > > An alternative would be that the downloader would check the actual file > for size and time and display that. Then I could just copy the file in > place. I realize that checking the database is faster. But when there are > not so many files, it is not an issue. > > Opinions? I am wanting to do this via a Makefile on a remote system that > builds software packages and would like to have them available in the > download area. > > -- > Roger Oberholtzer >
I guess you are referring to DownloadsPlugin: http://trac-hacks.org/wiki/DownloadsPlugin It sounds like you want to overwrite the file and preserve the description and other optional properties, download add <file> [description=<description>] [author=<author>] [tags="<tag1> <tag2> ..."] [component=<component>] [version=<version>] It shouldn't be too hard to add that behavior. Could you create a ticket for the issue?: http://trac-hacks.org/newticket?component=DownloadsPlugin -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
