skshetry / webdav4

WebDAV client library with a fsspec based filesystem and a CLI.
https://skshetry.github.io/webdav4
MIT License
60 stars 17 forks source link

The CLI command name “dav” is rather generic #179

Open musicinmybrain opened 1 month ago

musicinmybrain commented 1 month ago

The only other project I’m aware of that builds a dav command is https://github.com/atsb/dav-text, but in general—and as was mentioned in a review for a python-webdav4 package in Fedora—using very generic command names like this increases the likelihood of conflicts with other software in system-wide installations such as those provided by Linux distribution packages. Maybe it would be worth considering a more unique name for the CLI in the future?

skshetry commented 1 month ago

What do you suggest?

musicinmybrain commented 1 month ago

Hmm. Maybe webdav4, or even dav4?

Of course, any change in the executable name would be a breaking change anyone who is using the CLI in scripts…

@FelixSchwarz, do you have any thoughts?

musicinmybrain commented 1 month ago

The only other project I’m aware of that builds a dav command is https://github.com/atsb/dav-text, but in general […]

To follow up on this, the dav-text project doesn’t seem very active upstream, but it is packaged in Debian and its derivatives, with an executable named /usr/bin/dav, so there is certainly a conflict on those distributions. Fedora doesn’t currently have a package for dav-text, but I suppose that could change in the future, especially if upstream development picks up again.

FelixSchwarz commented 1 month ago

well, webdav4 seems to be a better choice for me (also "dav" is a bit ambiguous as there is also caldav+carddav).