-
Notifications
You must be signed in to change notification settings - Fork 304
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
sorting: Use old sorting algorithm for channels #269
Conversation
This algorithm should be backwards compatible Signed-off-by: Adrian Suciu <adrian.suciu@analog.com>
I think it is OK as it is now, the apps should not rely on the sorting of the channels or attributes, but rather use iio_device_find_channel. |
No - it's still broken - |
Hi @pcercuei, Do you see a way of fixing this while maintaining backward compatibility? |
Ah, right. I don't think there's an easy way to fix this then. The revert would be the proper solution. |
This fixes a channel sorting bug which has caused compatibility issues, in case the local and remote libiio differed in version. This will revert the channel sorting changes and thus restore backward compatibility to v0.15 and before. Version 0.16 and 0.17 should not be used. Changelog: f331535 sorting: Use old sorting algorithm for channels 826563e CI/travis/lib.sh: fix triggering multiple builds cce2ee2 CI/travis/inside_docker.sh: handle lowercase `ci` dir f06a730 CI/travis/jobs_running_cnt.py: count `created` states as well ed5ddb2 build,.travis.yml: drop xcode 8 build f24c618 CI/travis/lib.sh: make the build dir configurable f79c01b CI/travis: disable debug tracing b7c1584 CI/travis/lib.sh: rework artifact removal via SFTP 1e23f69 CI/travis/lib.sh: add echo_[red,green,blue] functions Adrian Suciu (1): sorting: Use old sorting algorithm for channels Alexandru Ardelean (8): CI/travis/lib.sh: add echo_[red,green,blue] functions CI/travis/lib.sh: rework artifact removal via SFTP CI/travis: disable debug tracing CI/travis/lib.sh: make the build dir configurable build,.travis.yml: drop xcode 8 build CI/travis/jobs_running_cnt.py: count `created` states as well CI/travis/inside_docker.sh: handle lowercase `ci` dir CI/travis/lib.sh: fix triggering multiple builds Michael Hennerich (1): Merge pull request #269 from analogdevicesinc/sort-old-reorder Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
This fixes a channel sorting bug which has caused compatibility issues, in case the local and remote libiio differed in version. This will revert the channel sorting changes and thus restore backward compatibility to v0.15 and before. Version 0.16 and 0.17 should not be used. Changelog: f331535 sorting: Use old sorting algorithm for channels 826563e CI/travis/lib.sh: fix triggering multiple builds cce2ee2 CI/travis/inside_docker.sh: handle lowercase `ci` dir f06a730 CI/travis/jobs_running_cnt.py: count `created` states as well ed5ddb2 build,.travis.yml: drop xcode 8 build f24c618 CI/travis/lib.sh: make the build dir configurable f79c01b CI/travis: disable debug tracing b7c1584 CI/travis/lib.sh: rework artifact removal via SFTP 1e23f69 CI/travis/lib.sh: add echo_[red,green,blue] functions Adrian Suciu (1): sorting: Use old sorting algorithm for channels Alexandru Ardelean (8): CI/travis/lib.sh: add echo_[red,green,blue] functions CI/travis/lib.sh: rework artifact removal via SFTP CI/travis: disable debug tracing CI/travis/lib.sh: make the build dir configurable build,.travis.yml: drop xcode 8 build CI/travis/jobs_running_cnt.py: count `created` states as well CI/travis/inside_docker.sh: handle lowercase `ci` dir CI/travis/lib.sh: fix triggering multiple builds Michael Hennerich (1): Merge pull request #269 from analogdevicesinc/sort-old-reorder Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
This fixes a channel sorting bug which has caused compatibility issues, in case the local and remote libiio differed in version. This will revert the channel sorting changes and thus restore backward compatibility to v0.15 and before. Version 0.16 and 0.17 should not be used. Changelog: f331535 sorting: Use old sorting algorithm for channels 826563e CI/travis/lib.sh: fix triggering multiple builds cce2ee2 CI/travis/inside_docker.sh: handle lowercase `ci` dir f06a730 CI/travis/jobs_running_cnt.py: count `created` states as well ed5ddb2 build,.travis.yml: drop xcode 8 build f24c618 CI/travis/lib.sh: make the build dir configurable f79c01b CI/travis: disable debug tracing b7c1584 CI/travis/lib.sh: rework artifact removal via SFTP 1e23f69 CI/travis/lib.sh: add echo_[red,green,blue] functions Adrian Suciu (1): sorting: Use old sorting algorithm for channels Alexandru Ardelean (8): CI/travis/lib.sh: add echo_[red,green,blue] functions CI/travis/lib.sh: rework artifact removal via SFTP CI/travis: disable debug tracing CI/travis/lib.sh: make the build dir configurable build,.travis.yml: drop xcode 8 build CI/travis/jobs_running_cnt.py: count `created` states as well CI/travis/inside_docker.sh: handle lowercase `ci` dir CI/travis/lib.sh: fix triggering multiple builds Michael Hennerich (1): Merge pull request #269 from analogdevicesinc/sort-old-reorder Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
This algorithm should be backwards compatible
Signed-off-by: Adrian Suciu adrian.suciu@analog.com