BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

Xtce support #1699

Closed jmthomas closed 2 years ago

jmthomas commented 2 years ago

closes #1697

codecov[bot] commented 2 years ago

Codecov Report

Merging #1699 (383f5f2) into master (50f291e) will decrease coverage by 0.00%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1699      +/-   ##
==========================================
- Coverage   78.23%   78.22%   -0.01%     
==========================================
  Files         235      235              
  Lines       18140    18144       +4     
==========================================
+ Hits        14191    14193       +2     
- Misses       3949     3951       +2     
Impacted Files Coverage Δ
lib/cosmos/models/target_model.rb 81.59% <0.00%> (-0.41%) :arrow_down:
lib/cosmos/models/microservice_model.rb 92.92% <0.00%> (+0.07%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 50f291e...383f5f2. Read the comment docs.

akshatd commented 2 years ago

Thank you, @jmthomas . Will try it and report back once the build start passing

AstreeDeshayes commented 2 years ago

Hello,

I am still stuck even after doing the git pull with xtce-support. I used bundle exec ruby bin/xtce_converter ... command and I have the following error :

bin/xtce_converter:25:in `require': cannot load such file -- Cosmos (LoadError) from bin/xtce_converter:25:in '<main'

Do you know why ?

jmthomas commented 2 years ago

@AstreeDeshayes the command has now changed. See https://cosmosc2.com/docs/v5/xtce

AstreeDeshayes commented 2 years ago

It still does not work. :

./cosmos-control.sh cosmos xtce_converter --import BDS-Eyesat.xtce --output test_xtce <internal:/usr/local/lib/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in require': cannot load such file -- Cosmos (LoadError) from <internal:/usr/local/lib/site_ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:inrequire' from /cosmos/bin/xtce_converter:25:in `<main