oxidized-script icon indicating copy to clipboard operation
oxidized-script copied to clipboard

Newer version of oxidized-script gem

Open codeout opened this issue 2 years ago • 10 comments

Hi @ytti, do you have any plan to publish newer version as gem?

oxidized-script 0.6.0 doesn't work along with oxidized 0.28 due to version conflict of "slop" gem.

Thanks,

oxidized-script 0.6.0

https://github.com/ytti/oxidized-script/blob/a86cebbfc0b5c1996ec65c2da98e70df9e00b846/oxidized-script.gemspec#L16-L17

  s.add_runtime_dependency 'oxidized', '~> 0.25'  # covers 0.28.0
  s.add_runtime_dependency 'slop',     '~> 3.5'   # but this conflicts with 4.6

oxidized 0.28.0

https://github.com/ytti/oxidized/blob/835384c6bb3a02896d05c73a1476c054b0856965/oxidized.gemspec#L27

s.add_runtime_dependency 'slop',    '~> 4.6'

codeout avatar Jan 31 '23 15:01 codeout

@ytti, can you give me permissions in the github project and on rubygems? then I will publish a new gem

mortzu avatar Apr 14 '23 05:04 mortzu

@mortzu you actually had it on rubygems, I removed them earlier today for three independent reasons, inactivity, another contributor rolled gem for oxidized yesterday and lack of MFA.

I will give @aschaber1 right of first refusal, on thesis that more cooks isn't better for pushing out releases. Should he refuse, I'll set you up.

ytti avatar Apr 14 '23 05:04 ytti

yeah. thats fine for me

mortzu avatar Apr 14 '23 08:04 mortzu

I'm happy either way. I can do the release today, or @mortzu can do it. I'll propose a GitHub Action on the weekend anyway, that will release ruby gems automatically on merge on master. Then this becomes a non-issue.

aschaber1 avatar Apr 14 '23 08:04 aschaber1

oxidized version 0.29 is now available

joschi99 avatar Apr 22 '23 15:04 joschi99

I'm happy either way. I can do the release today, or @mortzu can do it. I'll propose a GitHub Action on the weekend anyway, that will release ruby gems automatically on merge on master. Then this becomes a non-issue.

any news?

mortzu avatar Apr 22 '23 16:04 mortzu

https://github.com/ytti/oxidized/pull/2754

My friend created some pipelines which might help us out :)

aschaber1 avatar Apr 24 '23 17:04 aschaber1

+1 on finishing this off - just did a new gem install and have ended up with:

  • oxidized 0.29.1 polling configs, working fine
  • oxidized-script 0.6.0, using libraries from oxidized 0.26.3 pulled in as dependency, not able to connect to anything via SSH:
oxidized@oxidized:~$ oxs -d -v test.thing 'show run'
unable to connect
/var/lib/gems/3.1.0/gems/oxidized-script-0.6.0/lib/oxidized/script/script.rb:113:in `connect': unable to connect (Oxidized::Script::NoConnection)
        from /var/lib/gems/3.1.0/gems/oxidized-script-0.6.0/lib/oxidized/script/script.rb:92:in `initialize'
        from /var/lib/gems/3.1.0/gems/oxidized-script-0.6.0/lib/oxidized/script/cli.rb:122:in `new'
        from /var/lib/gems/3.1.0/gems/oxidized-script-0.6.0/lib/oxidized/script/cli.rb:122:in `connect'
        from /var/lib/gems/3.1.0/gems/oxidized-script-0.6.0/lib/oxidized/script/cli.rb:37:in `run'
        from /var/lib/gems/3.1.0/gems/oxidized-script-0.6.0/bin/oxs:5:in `<top (required)>'
        from /usr/local/bin/oxs:25:in `load'
        from /usr/local/bin/oxs:25:in `<main>'

Trying to debug that any further is really hard without hacking around in the code (-d and -v flags don't seem to have helped) and I don't want to do that on an old version if the new version is apparently working.

cjwbath avatar Jul 11 '23 14:07 cjwbath

we have the same problem. With oxidized 0.29.1 the connection works, with oxs or oxidized-script 0.6.0 no connection can be established. Same error as with cjwbath

ahab77 avatar Oct 10 '23 10:10 ahab77

Up.

Vladyslav78956785786576 avatar Nov 22 '23 14:11 Vladyslav78956785786576