OpenC3 / cosmos

OpenC3 COSMOS
https://openc3.com
Other
111 stars 31 forks source link

Configurable Default Repository URLs for Ruby Gems and Python Packages #1690

Closed stephen-ritter closed 2 weeks ago

stephen-ritter commented 2 weeks ago

This is a small patch to allow for the default URLs to be set based on the associated environment variables. --trusted-host was also added to account for repositories that are self hosted on local deployments.

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 33.33333% with 4 lines in your changes missing coverage. Please review.

Project coverage is 76.48%. Comparing base (500f7db) to head (ce2b98e). Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
openc3/lib/openc3/models/plugin_model.rb 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1690 +/- ## ======================================= Coverage 76.48% 76.48% ======================================= Files 618 618 Lines 46929 46938 +9 Branches 850 850 ======================================= + Hits 35892 35902 +10 Misses 10941 10941 + Partials 96 95 -1 ``` | [Flag](https://app.codecov.io/gh/OpenC3/cosmos/pull/1690/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenC3) | Coverage Δ | | |---|---|---| | [frontend](https://app.codecov.io/gh/OpenC3/cosmos/pull/1690/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenC3) | `55.99% <ø> (+0.08%)` | :arrow_up: | | [python](https://app.codecov.io/gh/OpenC3/cosmos/pull/1690/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenC3) | `83.94% <ø> (-0.01%)` | :arrow_down: | | [ruby-api](https://app.codecov.io/gh/OpenC3/cosmos/pull/1690/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenC3) | `48.74% <ø> (ø)` | | | [ruby-backend](https://app.codecov.io/gh/OpenC3/cosmos/pull/1690/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenC3) | `82.51% <33.33%> (-0.01%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=OpenC3#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.