#279 lookaside.py: CGILookasideCache and configurable 'self.download_path'
Opened 6 years ago by praiskup. Modified 5 years ago

Different dist-git instances use different patterns; even Fedora changed the pattern
recently to contain 's/%(hashtype)s'.

It would be nice if the download_path was configurable, without the need to
redefine the download_path attribute in class CGILookasideCache by inheritance
(which means that we need to create new python file -> new project -> new
package to just use different pattern).

Any objections against this?


No. It's a good idea. Would you like to implement this?

@praiskup Seems there is still a problem with this proposed configurable download path. The download path in different dist-git instance could be unpredictable, whatever the path is, rpkg still needs code to provide arguments to format the download path configured in conf. What do you think?

This issue has been unresolved for more than a year, and is going to be closed within a week if no further action is taken. If you feel this is in error, please contact me.
This is a cleaning process suggested by Jay Greguske. Copy of this ticket was already closed in JIRA tracker.

Login to comment on this ticket.

Metadata