tobixen / calendar-cli

Simple command-line CalDav client, for adding and browsing calendar items, todo list items
GNU General Public License v3.0
249 stars 23 forks source link

RFC: new interface for version 1.0 #88

Open tobixen opened 2 years ago

tobixen commented 2 years ago

I'm in the process of rewriting calendar-cli from scratch.

Design thoughts are available as NEW_CLI.md.

I've also written a shorter and more up-to-date user guide.

I'd be happy to see discussions and feedback here.

See also #87

fauxmight commented 1 year ago

kal is already excellent. The direction you are moving is very much appreciated.

As there is a great deal of overlap and potential for confusion, and as you have indicated an intention to continue to maintain calendar_cli for the foreseeable future, it looks reasonable to split kal into its own repository maintaining independent documentation for the two projects.

Also, I'm pretty sure the bike shed should be painted yellow.

EDIT: Should you see fit to split the repositories, I will push PRs for separate documentation on the two. That's a little less work on your shoulders.

tobixen commented 1 year ago

Thanks for your input. I think you are right, for many reasons:

At the other hand:

fauxmight commented 1 year ago

While I have no advise for the pypi issue, I'll be happy to have a buildable master branch.

I've been doing work (like the template PR) from a working AUR-built 0.14.1 and then adapting it in a git repo cloned from your master.

tobixen commented 1 year ago

There is no "github namespace", there are other kal projects out on github.

https://aur.archlinux.org/packages/kal has upstream https://github.com/xyproto/kal

Hence "kal" cannot be used as the project name ... and it's not even good as the command name since it already exists from before.

tobixen commented 1 year ago

I think it would be good with a new project and command name ... something unique, but still easy to type and easy to remember. Came to think that quite some commands nowadays are suffixed with "ctl" - notably systemd control commands, but also journal. Could calctl be an appropriate name? It's at least available.

I also asked ChatGPR for help. Asking for something unique, easy to type and easy to remember, it suggested:

Complaining that those lacked uniqueness, it came up with this:

tobixen commented 1 year ago

Came to think, planner may be cut short to plann, and it will be unique, short, easy to remember and easy to type.

fauxmight commented 1 year ago

plann sounds reasonable

calcmd is reasonably close to the original project name and may retain some association with the traction acquired by the calendar-cli project.

Other modifications of kal that don't appear on a brief search to have significant projects associated therewith: xal xhal chal gkal - EDIT: bad choice 'g' implies association with 'gnu' qal - EDIT: bad choice 'q' implies association with 'qt' qhal - EDIT: bad choice 'q' implies association with 'qt'

EDIT: calendcli also appears available but may be confused with several projects called calencli

EDIT2: caldavcli looks descriptive, close to the original name and available.

EDIT3: kaldav looks available, too, though there is a github user named 'kaldav.' 'kaldav' is my official vote for proper bike shed color.

tobixen commented 1 year ago

I sort of liked qal, didn't think about QT at all - but alas, there exists aqal-package in pypi. As for gkal, my associations goes towards google. There was actually another calendar-cli package which was for Google calendars, the maintainer changed the name to something starting with g to avoid the name conflict.

As for variants over caldav - I don't like it that much, ideally end-users should not have to care what protocol is being used between the cli tool and the calendar server, and it may be that other protocols will be supported in the future. Hence I think the alternatives are plann, calcmd, calctl and calcli.

tobixen commented 1 year ago

I think I'll go for plann.

fauxmight commented 1 year ago

Huzzah! Long live plann!! Sounds like a well-reasoned thought process throughout.

I'll submit PRs to modify kal -> plann in docs on both repos soon.

tobixen commented 1 year ago

From https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4542940/ ...

Plann: A command-line application for annotating plastome sequences (...) Plann is a Perl script to be executed on the command line.

Well ... I'm pretty sure that for any short, memorable, easy-to-type, easy-to-remember command there will be some conflicts. I think I will still go for plann.

tobixen commented 1 year ago

And the version number for calendar-cli should be bumped to 1.0 eventually.