~onemoresuza

Trackers

~onemoresuza/rham

Last active 7 days ago

~onemoresuza/hare-master-overlay

Last active 2 months ago

~onemoresuza/aba

Last active 3 months ago

~onemoresuza/pass-sxatm

Last active 7 months ago

~onemoresuza/dwm

Last active 10 months ago

#196 Delete messages that can also be moved or archived 3 months ago

Ticket created by ~onemoresuza on ~rjarry/aerc

#Description

As discussed in the aerc-discuss mailing list, aerc seems not to be capable of deleting messages on notmuch queries, even when it can move or archive them.

#3 build: generate pre compiled binaries 3 months ago

Comment by ~onemoresuza on ~onemoresuza/aba

Implemented as of 0.4.0.

REPORTED RESOLVED IMPLEMENTED

#4 refactor: split address_book functionality into modules 3 months ago

Comment by ~onemoresuza on ~onemoresuza/aba

Although not as described, the simplification of the code base was made as of 73bc336.

REPORTED RESOLVED CLOSED

#4 refactor: split address_book functionality into modules 4 months ago

Ticket created by ~onemoresuza on ~onemoresuza/aba

#Description

The implementations on the src/address_book.rs file is too crowded, which justifies splitting it into modules. For example, creating an AddressBookCmdName for the functionality of each of the cli commands.

#Proposed Solution

[user@hostname:~/projec-root]$ tree
src/address_book
└─mod.rs
└─address_book_parse.rs
└─address_book_add.rs
└─address_book_del.rs
└─address_book_list.rs

#3 build: generate pre compiled binaries 4 months ago

Ticket created by ~onemoresuza on ~onemoresuza/aba

#Description

As of now, the project does not provide pre compiled binaries. So, must find a way to create them with nix, or compile them inside docker containers.

#2 Do not rely on the premise of "\"Name\" <email@address.org>" for `parse` cmd 4 months ago

Comment by ~onemoresuza on ~onemoresuza/aba

Implemented as of a836a32c.

REPORTED RESOLVED IMPLEMENTED

#1 refactor address book file format 4 months ago

Comment by ~onemoresuza on ~onemoresuza/aba

Implemented as of 360c6b371.

REPORTED RESOLVED IMPLEMENTED

#2 Do not rely on the premise of "\"Name\" <email@address.org>" for `parse` cmd 4 months ago

Ticket created by ~onemoresuza on ~onemoresuza/aba

#Description

As of this commit, I realized that the parse command relies on the premise that every parsed email has a From header in the following format:

"Name" email@address.org

Which is not reliable.

Some of these addresses may come as only the email, causing an incorrect store of the address.

#Proposed Solution

Check each of the From headers to see in which format they come, possible with captures of the regex crate, possibly with these two regular expressions:

  1. "(.*) <(.*)>", capturing the Name and the Email; and

  2. "(.*)@(.*)", splitting the Email by capturing the user and the domain.

#1 refactor address book file format 4 months ago

Ticket created by ~onemoresuza on ~onemoresuza/aba

#Description

Refactor the address file format from:

[[address]]
name = "John Doe"
email = "johndoe@mail.org"

to:

[[entry]]
alias = "John Doe"
address = "\"John Doe\" <johndoe@mail.org>"

#Steps

  1. Refactor source code:
  2. Refactor manpages: