Repository navigation
fix(backend): registry install command - #11657
Conversation
✅ Deploy Preview for inventree-web-pui-preview canceled.
|
|
@vrzh can you qualify if this solves your issue? |
Codecov Report❌ Patch coverage is 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
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
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" |
|
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. |
|
@matmair is this one close to complete? Would be great to get 1.4.0 out soon |
|
@matmair would you consider this complete, or still working on it? |
|
@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: |
Fixes problems with installing from custom indexes
Also cleans up logic a bit to be easier to understand
Fixes #11460