radiocosmology / alpenhorn

Alpenhorn is a service for managing an archive of scientific data.
MIT License
2 stars 1 forks source link

Client command list #202

Open ketiltrout opened 4 weeks ago

ketiltrout commented 4 weeks ago

A proposal for the client command list, to see what we need. Per #122, we will stick to <noun> <verb>:

tjrennie commented 4 weeks ago

This looks like a complete list of commands, but I'd like to see a way of seeing the last n transfers that were cancelled or ignored as well as the last n transfers that were run (which i assume is action list) . - You mentioned this was more server metrics but it would be useful regardless

ketiltrout commented 4 weeks ago

I've added a transfer list command which I think might do what you want, with the right set of filtering options

ketiltrout commented 2 weeks ago

After getting some familiarity working on the client for a while, I've removed the transfer and action "noun" groups.

I think it's better to limit the groups to "concrete" objects: Groups, Node, Acqs, Files (including File Copies).

I've dispersed the functionality of the removed groups to the other ones. Let me know what you think, and if you can see any gap in functionality that I've missed.

ketiltrout commented 1 week ago

After developing the on-demand import framework for the daemon (#235) I've been thinking about the need to have the ability to manually modify Archive entries in the database with the CLI. With that in mind, I've added the following commands to the list above to permit that:

ArchiveAcq

ArchiveFile

ArchiveFileCopy

These command also use the "file" command group for simplicity)