Would like to avoid implicit defaulting as this might be hiding something from the user configuring things. Better have a default set in a configuration and error if nothing is set here to make it explicit.
Would like to avoid implicit defaulting as this might be hiding something from the user configuring things. Better have a default set in a configuration and error if nothing is set here to make it explicit.
would rather not add a dependency to cconfig or parse the command line from here.
In GitLab by @xyen on Dec 1, 2019, 19:03
Commented on [src/main/sdvxio-kfca/sdvxio.c line 52](https://github.com/djhackersdev/bemanitools/compare/723b76219c1c31c9f63c1aaaf208f69eb3a35a4c..5b09ab4aea3dd3db98b5b5f587e160381c177ec0#diff-1fad6a256465ab0642a126f15ff7e64aR52)
would rather not add a dependency to cconfig or parse the command line from here.
Prefer to use last KFCA found if multiple are found.
In GitLab by @xyen on Dec 1, 2019, 19:04
Commented on [src/main/sdvxio-kfca/sdvxio.c line 106](https://github.com/djhackersdev/bemanitools/compare/723b76219c1c31c9f63c1aaaf208f69eb3a35a4c..7e387882dbcdeb2f52cb4773032c150405ba31c1#diff-1fad6a256465ab0642a126f15ff7e64aR106)
Prefer to use last KFCA found if multiple are found.
I don't think we should block on device not being found, it gets logged which should be fine?
In GitLab by @xyen on Dec 1, 2019, 19:04
Commented on [src/main/sdvxio-kfca/sdvxio.c line 117](https://github.com/djhackersdev/bemanitools/compare/723b76219c1c31c9f63c1aaaf208f69eb3a35a4c..7e387882dbcdeb2f52cb4773032c150405ba31c1#diff-1fad6a256465ab0642a126f15ff7e64aR117)
I don't think we should block on device not being found, it gets logged which should be fine?
I don’t like the idea of introducing another configuration path. I highly suggest making use of the configuration infrastructure somehow. This keeps all key-value props in a single place.
I don’t like the idea of introducing another configuration path. I highly suggest making use of the configuration infrastructure somehow. This keeps all key-value props in a single place.
In GitLab by @xyen on Dec 1, 2019, 19:32
added 1 commit
<ul><li>5b09ab4a - sdvxio-kfca: add some docs and address some comments</li></ul>
[Compare with previous version](/djhackers/bemanitools/merge_requests/15/diffs?diff_id=1102&start_sha=a5d3c32bedd9d40143dc7cb251e90473cfbffedd)
In GitLab by @xyen on Dec 1, 2019, 21:01
Commented on [src/main/sdvxio-kfca/sdvxio.c line 52](https://github.com/djhackersdev/bemanitools/compare/723b76219c1c31c9f63c1aaaf208f69eb3a35a4c..5b09ab4aea3dd3db98b5b5f587e160381c177ec0#diff-1fad6a256465ab0642a126f15ff7e64aR52)
changed this line in [version 3 of the diff](/djhackers/bemanitools/merge_requests/15/diffs?diff_id=1103&start_sha=5b09ab4aea3dd3db98b5b5f587e160381c177ec0#779511ed2fea18b42a3bc0197654e1d9a66abca5_52_55)
In GitLab by @xyen on Dec 1, 2019, 21:01
Commented on [src/main/sdvxio-kfca/sdvxio.c line 54](https://github.com/djhackersdev/bemanitools/compare/723b76219c1c31c9f63c1aaaf208f69eb3a35a4c..5b09ab4aea3dd3db98b5b5f587e160381c177ec0#diff-1fad6a256465ab0642a126f15ff7e64aR54)
changed this line in [version 3 of the diff](/djhackers/bemanitools/merge_requests/15/diffs?diff_id=1103&start_sha=5b09ab4aea3dd3db98b5b5f587e160381c177ec0#779511ed2fea18b42a3bc0197654e1d9a66abca5_54_56)
In GitLab by @xyen on Dec 1, 2019, 21:01
added 2 commits
<ul><li>0a5038fd - cconfig: add ability to load configs from default path and specify alternate flag names</li><li>7a2d9606 - sdvxio-kfca: use cconfig instead of envvar</li></ul>
[Compare with previous version](/djhackers/bemanitools/merge_requests/15/diffs?diff_id=1103&start_sha=5b09ab4aea3dd3db98b5b5f587e160381c177ec0)
In GitLab by @xyen on Dec 1, 2019, 21:06
Commented on [doc/sdvxhook/sdvxio-kfca.md line 6](https://github.com/djhackersdev/bemanitools/compare/723b76219c1c31c9f63c1aaaf208f69eb3a35a4c..7e387882dbcdeb2f52cb4773032c150405ba31c1#diff-6bea4964ab6f38e4fa064e00597e83d1R6)
sdvxio isn't a hook dll
there is no ordering
In GitLab by @xyen on Dec 1, 2019, 21:14
added 1 commit
<ul><li>7e387882 - cconfig: add some documentation to init functions</li></ul>
[Compare with previous version](/djhackers/bemanitools/merge_requests/15/diffs?diff_id=1104&start_sha=7a2d96062931f0f8f3accf27335373db02cab7ca)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In GitLab by @xyen on Dec 1, 2019, 18:56
Merges sdvxio-kfca-fixes -> master
Addresses #39
Can you explain why you read that from an env var? I expected this to be passed along with a configuration.
Would like to avoid implicit defaulting as this might be hiding something from the user configuring things. Better have a default set in a configuration and error if nothing is set here to make it explicit.
No break when found?
Init successful when no device was found?
In GitLab by @xyen on Dec 1, 2019, 19:03
Commented on src/main/sdvxio-kfca/sdvxio.c line 52
would rather not add a dependency to cconfig or parse the command line from here.
In GitLab by @xyen on Dec 1, 2019, 19:04
Commented on src/main/sdvxio-kfca/sdvxio.c line 106
Prefer to use last KFCA found if multiple are found.
In GitLab by @xyen on Dec 1, 2019, 19:04
Commented on src/main/sdvxio-kfca/sdvxio.c line 117
I don't think we should block on device not being found, it gets logged which should be fine?
IIRC the other APIs were defined/used that when the device cannot be initialized, e.g. is not found, this functions fails.
If multiple can be found, you should log a warning that you used the latest and other devices were skipped as this might be unexpected for some users.
I don’t like the idea of introducing another configuration path. I highly suggest making use of the configuration infrastructure somehow. This keeps all key-value props in a single place.
In GitLab by @xyen on Dec 1, 2019, 19:32
added 1 commit
5b09ab4a- sdvxio-kfca: add some docs and address some commentsCompare with previous version
In GitLab by @xyen on Dec 1, 2019, 21:01
Commented on src/main/sdvxio-kfca/sdvxio.c line 52
changed this line in version 3 of the diff
In GitLab by @xyen on Dec 1, 2019, 21:01
Commented on src/main/sdvxio-kfca/sdvxio.c line 54
changed this line in version 3 of the diff
In GitLab by @xyen on Dec 1, 2019, 21:01
added 2 commits
0a5038fd- cconfig: add ability to load configs from default path and specify alternate flag names7a2d9606- sdvxio-kfca: use cconfig instead of envvarCompare with previous version
In GitLab by @xyen on Dec 1, 2019, 21:02
resolved all threads
Nit: Documentation
Order of DLLs important?
👍 for readme
In GitLab by @xyen on Dec 1, 2019, 21:06
Commented on doc/sdvxhook/sdvxio-kfca.md line 6
sdvxio isn't a hook dll
there is no ordering
LGTM otherwise.
right, my bad. Ignore please.
In GitLab by @xyen on Dec 1, 2019, 21:14
added 1 commit
7e387882- cconfig: add some documentation to init functionsCompare with previous version
In GitLab by @xyen on Dec 1, 2019, 21:14
resolved all threads
In GitLab by @xyen on Dec 1, 2019, 21:14
merged