webdav4 icon indicating copy to clipboard operation
webdav4 copied to clipboard

The CLI command name “dav” is rather generic

Open musicinmybrain opened this issue 1 year ago • 4 comments

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?

musicinmybrain avatar Jul 12 '24 20:07 musicinmybrain

What do you suggest?

skshetry avatar Jul 13 '24 19:07 skshetry

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 avatar Jul 14 '24 14:07 musicinmybrain

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.

musicinmybrain avatar Jul 14 '24 15:07 musicinmybrain

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

FelixSchwarz avatar Jul 14 '24 18:07 FelixSchwarz