Change supported with boolean value to more fitting
release_status that can be one of rawhide, stable, branched
or EOL in yumrepoinfo repos configuration.
Details
Run testsuite, upgradepath - had to change /etc/taskotron/yumrepoinfo.conf
Diff Detail
- Repository
- rLTRN libtaskotron
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Can you please add a new test to verify that only stable releases are returned using releases(), and that branched() also returns correct values?
Please use case-insensitive comparisons (e.g. EOL should work the same as eol). Put that into a test case.
Thanks.
conf/yumrepoinfo.conf.example | ||
---|---|---|
25 | I think it would be cleaner if the default section didn't create any release_status default value and required all sections to define it. So, I would leave the documentation (line 25) in place, but move line 26 to the [rawhide] section. | |
libtaskotron/yumrepoinfo.py | ||
93–94 | Can you please add: :rtype: list of str to releases() and repos(), and: :rtype: str or None to branched()? Thanks. | |
testing/test_yumrepoinfo.py | ||
25 | Don't forget to change these occurrences as well. |
Once you fix the documentation it can be pushed.
conf/yumrepoinfo.conf.example | ||
---|---|---|
25–27 | For non-top-parent repos this is an empty string. Let's document it here. |
I think it would be cleaner if the default section didn't create any release_status default value and required all sections to define it. So, I would leave the documentation (line 25) in place, but move line 26 to the [rawhide] section.