webis cvs X
I see our new people struggling with graphical CVS clients, which are also dropping out of support. However, the CVS command line is fine, just takes a bit to get used to and is missing convenient shortcuts. We should be able to make it work for webis with a small number of scripts.
(included some comments from Martin)
Existing command:
- webis cvs update
- webis cvs status
- webis cvs onboard [--login LOGIN] NAME FULLNAME
Needed:
- webis cvs checkout [REPOSITORY]
- webis cvs add FILE...
- webis cvs commit [FILE...]
- webis cvs rm FILE...
- webis cvs mv SOURCE DEST
- webis cvs reset (or revert? a replace with latest from head)
Specifications:
- "add" should consider the .cvsignore
- I need to check again how CVS decides whether a file is committed binary or as text; I think there is a setting per file-suffix on the server (that the Eclipse-plugin always ignored); probably we need a flag to add something as binary
- "add" and "rm" work recursively, and ask for approval
- "commit" should also remove files if they are deleted locally
- "rm" should not delete the local files
- "mv" should remove files, delete them locally, and add and commit them anew
Also, "update" should not automatically update in case of conflicts: as @poma1006 said: "the user must be asked whether to skip, merge, or override and commit, override and update, or backup local copy and update (backing up the local copy should be the default, regardless) and in case merge is selected, meld is automatically invoked. In case the file is binary, merging is not an option, of course, and that should be said."
Ping @mike4537