RFE: Optionally use the filenames as key for download items
|Reported by:||kisg||Owned by:||Blackhex|
The attached patch adds a new feature to DownloadsPlugin. If the filename_key = true option is set, the filenames are required to be unique and the generated download links include the filename instead of the download id.
This feature is used on http://oss.euedge.com, because the various source based distributions (MacPorts, Gentoo Portage) require specific naming conventions for the download links + it is nice to have the filename in the link (in our opinion) .
Could you please apply this patch? It is completely non-intrusive, can be switched on and off with graceful degradation: that is if the filenames are not unique it is undeterministic which file will be downloaded. The feature is off by default.
The patch can be applied with:
cd 0.10 patch -p6 .../dlbyname.diff
Change History (3)
Changed 6 years ago by kisg
comment:1 Changed 6 years ago by Blackhex
- Priority changed from normal to high
- Severity changed from normal to minor
- Status changed from new to assigned
- Summary changed from Patch: Optionally use the filenames as key for download items to RFE: Optionally use the filenames as key for download items