#3070 Some functionality uses DOCS_FOLDER and TICKETS_FOLDER, so we need to set them either way.
Closed by bkabrda. Opened by bkabrda.
bkabrda/pagure folders-defaults  into  master

Download 3070.patch

This is a fix for an issue introduced by [1] - there's some functionality that uses these values (e.g. pagure.lib.tasks.create_project), so we need to set them to None as default, otherwise this functionality gets broken.

[1] https://pagure.io/pagure/c/adea204dd0e86891d7e015ef05e57dae4ec5c3f9?branch=master

Thoughts about changing the code?

Unfortunately I don't have time for that ATM, so I though I'd provide this as an easy fix right now. We can get back to fixing the code to use the ENABLE_* values later.

The first commit in https://pagure.io/pagure/pull-request/3073 tries to fix the code, what do you think?

I think it looks ok, I'll close this PR.

Pull-Request has been closed by bkabrda

Metadata