← Back to issue list

chore: Update gunicorn v2 extensions to use the /app root directory

View original Github issue

Metadata

Project
rockcraft
Number
#1348
Type
pull request
State
open
Author
javierdelapuente
Labels
Created
Updated
Closed

Current evaluation

Updates Flask and Django v2 extensions to use /app as application root, aligning with paas-charm v2. Pending review with 0 reviewers; CI has failing build and snap-build checks.

Suggested action: needs review

Reason: The PR has been inactive for 16 days with 0 reviewers assigned and failing CI checks (build, snap-build). The contributor requested a review from @alithethird but received no response. The changes are legitimate (aligning extensions with paas-charm v2) and CI failures may be environmental rather than code issues, so maintainer review is needed to assess and proceed.

Impact: 55 Quick Win: 35.75 Staleness: 45 Complexity: 35 Confidence: 70

Issue body

Update the Flask and Django framework v2 extensions to use  /app  as the application root, aligning Rockcraft-generated rocks with paas-charm v2. For flat application layouts, the application files are copied into  /app  during  override-build  instead of using organize , which cannot organize a source directory into itself. Non-flat layouts retain their existing organization behavior. See https://github.com/canonical/craft-parts/issues/1460#issuecomment-5630646386 for more context. This also updates the corresponding extension tests. Upstream changes from  main  remain preserved, --- - [x] I've followed the [contribution guidelines](https://github.com/canonical/rockcraft/blob/main/CONTRIBUTING.md). - [x] I've signed the [CLA](http://www.ubuntu.com/legal/contributors/). - [x] I've successfully run `make lint && make test`. - [x] I've added or updated any relevant documentation. - [ ] In documents I changed, I [added a meta description](https://canonical-starflow.readthedocs-hosted.com/how-to/add-a-page-meta-description/) if one was missing. - [x] I've updated the relevant release notes.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 35.75
Staleness: 45
Complexity: 35
Confidence: 70
needs review Updates Flask and Django v2 extensions to use /app as application root, aligning with paas-charm v2. Pending review with 0 reviewers; CI has failing build and snap-build checks.
qwen/qwen3.6-35b-a3b
Impact: 50
Quick Win: 32.5
Staleness: 25
Complexity: 35
Confidence: 75
needs review Updates Flask and Django framework v2 extensions to use /app as application root, aligning with paas-charm v2. Waiting for maintainer review with passing CI.
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 30.25
Staleness: 45
Complexity: 45
Confidence: 65
needs review Updates Flask and Django framework v2 extensions to use /app as the application root directory for flat layouts, addressing craft-parts#1460 organize mapping issue. Pending maintainer review with 0 comments.
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 30.25
Staleness: 5
Complexity: 45
Confidence: 75
needs review Updates Flask and Django v2 extensions to use /app as the application root, aligning with paas-charm v2. Passing CI, awaiting maintainer review.
qwen/qwen3.6-35b-a3b
Impact: 55
Quick Win: 33.0
Staleness: 15
Complexity: 40
Confidence: 70
needs review Updates flask and django gunicorn extensions to use /app root directory instead of framework-specific paths. Pending maintainer review with 2 unresolved comments, CI passing.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 35.0
Staleness: 20
Complexity: 30
Confidence: 75
needs review Updates gunicorn v2 extensions (flask, django) to use /app root directory for consistency with other extensions. All CI passing, awaiting maintainer review.
qwen/qwen3.6-35b-a3b
Staleness: 5
Complexity: 15
Confidence: 85
needs review Updates gunicorn v2 extensions to use the /app root directory. Currently pending maintainer review with no CI results or comments.

Update history

Date Change
updated
updated
updated
updated
updated
updated
updated
updated
updated
updated
created

Related issues

Issue Project State Summary Similarity
#944 chore: pin gunicorn package in flask and django extensions rockcraft merged Merged changes pinning gunicorn to major version 23 in Flask and Django extensions to prevent breaking changes from upstream updates. Approved by two reviewers with all CI checks passing.
70%