Skip to content

fix(backend): registry install command - #11657

Merged
SchrodingersGat merged 38 commits into
inventree:masterfrom
matmair:matmair/issue11460
Jul 28, 2026
Merged

SchrodingersGat merged 38 commits into
inventree:masterfrom
matmair:matmair/issue11460

Conversation

@matmair

@matmair matmair commented Apr 1, 2026 •

Copy link
Copy Markdown
Member

Fixes problems with installing from custom indexes
Also cleans up logic a bit to be easier to understand

Fixes #11460

@matmair matmair added this to the 1.2.7 milestone Apr 1, 2026
@matmair matmair self-assigned this Apr 1, 2026
@matmair
matmair requested a review from SchrodingersGat as a code owner April 1, 2026 22:38
@matmair matmair added bug Identifies a bug which needs to be addressed plugin Plugin ecosystem setup Relates to the InvenTree setup / installation process labels Apr 1, 2026
@matmair
matmair marked this pull request as draft April 1, 2026 22:38
@netlify

netlify Bot commented Apr 1, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit 3857de6
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/6a67f2df0e83900008693e75

@matmair

matmair commented Apr 1, 2026

Copy link
Copy Markdown
Member Author

@vrzh can you qualify if this solves your issue?

@codecov

codecov Bot commented Apr 1, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 82.85714% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.90%. Comparing base (c74884f) to head (3857de6).

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11657      +/-   ##
==========================================
- Coverage   86.90%   86.90%   -0.01%     
==========================================
  Files        1443     1443              
  Lines       95688    95693       +5     
  Branches    11121    11216      +95     
==========================================
+ Hits        83162    83165       +3     
- Misses      12462    12464       +2     
  Partials       64       64              
Flag Coverage Δ
backend 91.16% <82.85%> (-0.02%) ⬇️

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

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

@vrzh

vrzh commented Apr 6, 2026 •

Copy link
Copy Markdown

@vrzh can you qualify if this solves your issue?

I am not sure what is the correct way to fill out the InvenTree UI, what are the correct values for "Package Name" and "Source URL". In my original bug report, I have 3 options, is the first one correct?

Package Name: "my_custom_plugin"
Source URL: "https://my-custom-domain.com/python"

@matmair

matmair commented Apr 6, 2026

Copy link
Copy Markdown
Member Author

That is a difficult question. Anything pip will resolve works - that can be a local package, an http/https repository, any number of vcs repositories.

The option you listed should work.

@SchrodingersGat SchrodingersGat modified the milestones: 1.2.7, 1.3.0 Apr 7, 2026
@matmair
matmair marked this pull request as ready for review May 26, 2026 21:17
@matmair matmair removed backport Apply this label to a PR to enable auto-backport action backport-to-1.3.x labels Jun 9, 2026
@SchrodingersGat

Copy link
Copy Markdown
Member

@matmair is this one close to complete? Would be great to get 1.4.0 out soon

@matmair matmair modified the milestones: 1.4.0, 1.5.0 Jun 23, 2026
@SchrodingersGat

Copy link
Copy Markdown
Member

@matmair would you consider this complete, or still working on it?

@matmair

matmair commented Jul 28, 2026

Copy link
Copy Markdown
Member Author

@SchrodingersGat i consider this done

full_pkg = url
package_ref = f'{packagename}@{url}' if packagename else url
# http based index reference
elif url.startswith(('http://', 'https://')) and packagename:
@SchrodingersGat
SchrodingersGat merged commit 253aee1 into inventree:master Jul 28, 2026
39 of 40 checks passed
@SchrodingersGat
SchrodingersGat deleted the matmair/issue11460 branch July 28, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Identifies a bug which needs to be addressed plugin Plugin ecosystem setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to install plugins through web UI using custom registry and/or Python wheel files.

4 participants