Skip to content

fix: package distribution - #10515

Merged
SchrodingersGat merged 8 commits into
inventree:masterfrom
matmair:fix-pkg-forntend
Oct 6, 2025
Merged

SchrodingersGat merged 8 commits into
inventree:masterfrom
matmair:fix-pkg-forntend

Conversation

@matmair

@matmair matmair commented Oct 6, 2025 •

Copy link
Copy Markdown
Member

This PR smoothes some rough edges:

  • adds a better warning if there is an issue with template collection or serving
  • small docs improvements
  • fix usage of site_url settings during upgrades

Closes #9592
Closes #9787
Closes #10367

@matmair matmair added this to the 1.0.5 milestone Oct 6, 2025
@matmair matmair self-assigned this Oct 6, 2025
@matmair matmair added bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process labels Oct 6, 2025
@netlify

netlify Bot commented Oct 6, 2025 •

Copy link
Copy Markdown

✅ Deploy Preview for inventree-web-pui-preview canceled.

Name Link
🔨 Latest commit 3554ab7
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/68e4325bc24658000885aae2

@codecov

codecov Bot commented Oct 6, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.63%. Comparing base (363c5fd) to head (3554ab7).
⚠️ Report is 262 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #10515      +/-   ##
==========================================
- Coverage   87.63%   87.63%   -0.01%     
==========================================
  Files        1266     1266              
  Lines       56990    56990              
  Branches     2054     2054              
==========================================
- Hits        49945    49943       -2     
- Misses       6542     6544       +2     
  Partials      503      503              
Flag Coverage Δ
backend 89.36% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.94% <ø> (-0.01%) ⬇️
Backend General 93.69% <ø> (ø)
Frontend 70.04% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@matmair matmair added backport Apply this label to a PR to enable auto-backport action backport-to-1.0.x labels Oct 6, 2025
@matmair

matmair commented Oct 6, 2025

Copy link
Copy Markdown
Member Author

This fixes the # POI12| u | ERROR: InvenTree command failed: 'python3 manage.py collectplugins' issues, cause by missing site_url settings during installs / upgrades / reinstalls

@matmair

matmair commented Oct 6, 2025

Copy link
Copy Markdown
Member Author

Ready for review and merge; I am looking into another issue before we can make another point release

@SchrodingersGat
SchrodingersGat merged commit c83a9b0 into inventree:master Oct 6, 2025
@SchrodingersGat
SchrodingersGat deleted the fix-pkg-forntend branch October 6, 2025 21:56
github-actions Bot pushed a commit that referenced this pull request Oct 6, 2025
* show warning text

* fix formatting

* try to gather site-url correctly

* protect envs that are set in the config

* raise issue if they appear

* prefer app setting over file config

* preserve setting if injected via envs

(cherry picked from commit c83a9b0)
@github-actions

github-actions Bot commented Oct 6, 2025

Copy link
Copy Markdown
Contributor

💚 All backports created successfully

Status Branch Result
✅ 1.0.x

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

SchrodingersGat pushed a commit that referenced this pull request Oct 6, 2025
* show warning text

* fix formatting

* try to gather site-url correctly

* protect envs that are set in the config

* raise issue if they appear

* prefer app setting over file config

* preserve setting if injected via envs

(cherry picked from commit c83a9b0)

Co-authored-by: Matthias Mair <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Apply this label to a PR to enable auto-backport action bug Identifies a bug which needs to be addressed setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bad Gateway error installing v1.0.0 Install script does not install static web files InvenTree command failed: 'python3 manage.py

2 participants