Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsDNSZoneMaintained returns inverted value #58

Merged
merged 7 commits into from
Jan 13, 2022
Merged

Conversation

obel1x
Copy link
Contributor

@obel1x obel1x commented Jan 4, 2022

IsDNSZoneMaintained returns inverted value, leading to not working "Synchronise DNS-Server"

The Function IsDNSZoneMaintained is returning true if the Zone is not maintained and otherwise around.
IsDNSZoneMaintained returns inverted value
@coveralls
Copy link

coveralls commented Jan 5, 2022

Coverage Status

Coverage increased (+0.1%) to 18.002% when pulling 9c9b4d6 on obel1x:master into 20c9454 on yast:master.

@dgdavid
Copy link
Member

dgdavid commented Jan 5, 2022

@obel1x thanks a ton for your contribution! At first glance, it looks reasonable to me.

But in order to get it merged, we need to update the version and changelog (see https://yastgithubio.readthedocs.io/en/latest/contributing/#code-changes) and ideally add a small unit test for touched code in https://github.com/yast/yast-dhcp-server/blob/master/test/dialog_test.rb.

We can proceed as you want: you try to do it by yourself and we review it, or I can help with it for moving it on if you're busy.

@obel1x
Copy link
Contributor Author

obel1x commented Jan 7, 2022

great, thanks! i have had a quick look at those unit tests. ruby looks like a beautiful language, but as i am not used to it and also would not know how the test should look processual, i think it should be better done by you.

Also currently i do not have a local copy with rake and osc installed, this was done on github directly. So please can you also do the version changes and changelogs?

Maybe some time i will get back to this and then doing it right, currently i am focussing on other suse related tasks.
Best rgs, daniel

@dgdavid
Copy link
Member

dgdavid commented Jan 10, 2022

... i think it should be better done by you.

Also currently i do not have a local copy with rake and osc installed, this was done on github directly. So please can you also do the version changes and changelogs?

Sure, no problem. Added to my to-do list :)

Thanks

dgdavid and others added 5 commits January 13, 2022 14:26
Using the same "dummy" class in multiple test files makes them fail.
Co-authored-by: Daniel Pätzold <obel1x@web.de>
@dgdavid dgdavid merged commit e527639 into yast:master Jan 13, 2022
@dgdavid
Copy link
Member

dgdavid commented Jan 13, 2022

Merged! Thanks a lot @obel1x!

@yast-bot
Copy link
Contributor

✔️ Internal Jenkins job #20 successfully finished
✔️ Created IBS submit request #262158

@yast-bot
Copy link
Contributor

✔️ Public Jenkins job #29 successfully finished
✔️ Created OBS submit request #946188

@dgdavid dgdavid mentioned this pull request Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants