Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librmd comand line tool (basic) #70

Closed
jrse opened this issue Aug 18, 2017 · 0 comments
Closed

librmd comand line tool (basic) #70

jrse opened this issue Aug 18, 2017 · 0 comments
Assignees

Comments

@jrse
Copy link
Contributor

jrse commented Aug 18, 2017

Implement librmb command line tool to give admin possibility to list mails in Mailbox, and modify xattributes.

  1. list mails belonging to user X
  2. List mailboxes
  3. list xattributes for mail with UID = X
  4. read mail content.
  5. set xattributes
@jrse jrse self-assigned this Aug 18, 2017
@peter-mauritius peter-mauritius added this to the SuseCon Release milestone Aug 28, 2017
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
first version is able to list all objects for given dovecot user.
cmdline arguments:
-p <poolname> -U <user>

e.g. 
rbox_list_objects -p mail_storage -U t1

+ minor refactoring. (X_ATTR defines moved to Rados-mail-object),
size_t to string conversion.
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
added test to validate convert from std::string,char*,uint, size_t,
time_t to std::string xattr.
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
added unit test good case read_mail
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
new cmd line option get
usage: get M=<guid> -O mailfolder
tool will download all mails matching search criteria to given
directory, id -O is not given, rmb folder is used.
peter-mauritius pushed a commit that referenced this issue Sep 8, 2017
- new test to validate output path build function
- fixed merge issue in rbox-mail.cpp
jrse added a commit that referenced this issue Oct 4, 2017
 - binary files are now correctly saved
jrse added a commit that referenced this issue Oct 6, 2017
setting xattribute values via rmb 
 rmb -p <storage> -N <namespace> set <oid> <Xattr> <value> <Xattr>
<value>
jrse added a commit that referenced this issue Oct 6, 2017
use rmb <oid> R "2017-08-22 14:30" to set date xattributes
jrse added a commit that referenced this issue Oct 9, 2017
new option list pools
 usage: rmb lspools
jrse added a commit that referenced this issue Oct 9, 2017
removed debug messages, added aditional checks
jrse added a commit that referenced this issue Oct 9, 2017
jrse added a commit that referenced this issue Oct 9, 2017
rmb .. ls - sort guid|recv_date|save_date
jrse added a commit that referenced this issue Oct 9, 2017
- added possibility to sort output by phy_size

rmb .... ls - sort phy_size

added --bindir configure option to README.md (rmb tool installation
path)
jrse added a commit that referenced this issue Oct 9, 2017
removed some old comments.
jrse added a commit that referenced this issue Oct 9, 2017
jrse added a commit that referenced this issue Oct 9, 2017
jrse added a commit that referenced this issue Oct 9, 2017
jrse added a commit that referenced this issue Oct 10, 2017
- new unit tests for RadosUtils functions
- date format (rmb) changed to yyyy-MM-dd HH:mm:ss
@jrse jrse closed this as completed Oct 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants