On Thu, 1 Feb 2024 18:31:27 +0100 Ladislav Slezak <lslezak@suse.com> wrote:
Overall impression is that after applying new cops code looks better and especially new syntax for named parameters really improve feel of our ruby code so it start looking like modern ruby code. Of course, porting from SLE15 will be more work, but due to many autocorrections I think it will be quite smooth.
I realized another thing. Running the new Rubocop from a container is quite simple. The same problem is also with running unit tests. That could be also solved by a container or VM. But a worse problem is development and testing. I'm running Leap15 on my machine and if you cannot run the new code in Leap15 then it will be quite difficult to develop and test it on your machine.
So the question is who uses Tumbleweed for development and who uses Leap15 (or SLE15)?
Unless the majority runs on TW I'd prefer to keep the old backward compatible Ruby 2.5 syntax for easier development and testing.
Ladislav
Hi, I also developing on Leap 15, but rubocop and unit tests are only parts that does not depend on system. For development and testing you depends on your system tools, libraries and configuration and I worry it will start more and more diverging. I think already some parts of code ( mainly not maintained by us ) uses TW tools, that are no available in SLE15. And I think it will get worse more and more. So I worry that having as goal to be able to develop for TW and ALP on Leap15 can be quite challenging. Josef
-- Ladislav Slezák YaST Developer
SUSE LINUX, s.r.o. Corso IIa Křižíkova 148/34 18600 Praha 8