klen / klen/Flask-Collect

Set source directory

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
50
Forks
12
PR merge metrics
No merged PRs in 30d

Description

We optimise our statics (using grunt/node) into a dist dir at build time. Seems Flask-Collect doesn't yet support configuring the source directory to use, instead always using `spath = op.join(root, f)`. Is this lib the best approach to solve this? I may be able to submit the fix if so.
Cheers
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/37442711-set-source-directory?utm_campaign=plugin&utm_content=tracker%2F394635&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F394635&utm_medium=issues&utm_source=github).

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Flask-Collect code containing `spath = op.join(root, f)` and read how static files and build directories are currently selected. Define the source-directory configuration needed for the reported dist workflow, then run the project's existing tests to verify collection uses the configured source and preserves current behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js, python
Domain
backend, build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.