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

When using --write option sorting key value pairs case-sensitive #11

Open
Hooverdan96 opened this issue Jan 30, 2025 · 0 comments
Open

Comments

@Hooverdan96
Copy link
Member

When using the -w (--write) option and there is an issue with matching the checked rockon json file(s), e.g. case not matching between key and rockon name in the rockon definition file, then the root.json list is resorted entirely considering case, e.g.

    "ecoDMS 18.09": "ecodms18-09.json",
    "gollum": "gollum.json",
    "qBittorrent": "qbittorrent_lsio.json",
    "sabnzb": "sabnzb.json"

are sorted to the bottom of the list below the originally last entry "Zabbix-XXL": "zabbix-xxl.json"

Suggestion is to continue to sort the root.json list, ignoring the case, as software used by the Rockons will continue to have sometimes upper and sometimes lowercase product names.

Since I haven't spent any time with the go language at all, I am currently not sure where that change would need to occur.

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

No branches or pull requests

1 participant