profile
viewpoint

luksen/maildir 27

A go package to access Maildir mailboxes.

luksen/sic 1

small, personal modifications to the simple irc client (tools.suckless.org/sic)

luksen/airemote 0

handle input from ASUS AI Remote

luksen/clock 0

a digital terminal clock written in go

luksen/conf 0

my config files

luksen/django-autocomplete-light 0

A fresh approach to autocomplete implementations, specially for Django. Status: v3 stable, 2.x.x stable, 1.x.x deprecated. Please DO regularely ping us with your link at #yourlabs IRC channel

luksen/django-bootstrap3 0

Bootstrap 3 integration with Django.

luksen/fsnotify 0

Cross-platform file system notifications for Go.

luksen/gkcli 0

Gnome Keyring command line interface

luksen/Go-SDL 0

Go bindings for SDL

created repositorychgl/fhir-server-exporter

FHIR Server resource count exporter for Prometheus.

created time in 7 days

PublicEvent

startedsighupio/gatekeeper-policy-manager

started time in 19 days

issue commentluksen/maildir

Allow access to raw data

Just FYI, since I opened this issue I forked this library into https://github.com/emersion/go-maildir.

emersion

comment created time in 2 months

PR opened luksen/maildir

Feature/accelerate message lookup

Accelerate filename by trying to open files with legal :info suffixes (according to the maildir spec) before trying a full directory scan. It greatly increases key lookup speed when the mail folder is big. It introduces some subtle change in error handling: previously, the lookup would fail on duplicate keys, now we don't: there is no quick way to detect all duplicates without doing a full directory scan.

+161 -6

0 comment

2 changed files

pr created time in 2 months

PR opened luksen/maildir

Fix: Key lookup may fail if message path contains glob characters []

As you suggested, I replaced use of Glob() by scanning the "cur" directory and doing prefix lookup on directory entries and removed the handling of the unseen messages from the patch.

+28 -4

0 comment

2 changed files

pr created time in 2 months

PR closed luksen/maildir

Feature/accelerate key lookup

Accelerate key lookup by trying to open files with legal :info suffixes (according to the maildir spec) before doing full directory scan. It greately increases key lookup speed when mail folder is big. It introduces some subtle change in error handling: previously the lookup would fail on duplicate keys, now we don't: there is no quick way to detect all duplicates without doing full directory scan.

+195 -12

2 comments

2 changed files

dudinea

pr closed time in 2 months

pull request commentluksen/maildir

Feature/accelerate key lookup

Will send updated PR

dudinea

comment created time in 2 months

PR closed luksen/maildir

Fix/filename bugs

Fixes two bugs:

  1. Maildir was not able to use mailboxes with path that contains globbing characters, a common use case for this is Gmail synchronization with offlineimap, which produces folders like [Gmail].Drafts in its default configuration.
  2. Filename did not look up keys for newly delivered messages in the "new" subdir

As you suggested I've replaced Glob by scanning directory looking for matching file names.

+48 -8

2 comments

2 changed files

dudinea

pr closed time in 2 months

pull request commentluksen/maildir

Fix/filename bugs

Ok, removed the "new" part. Sending new PR

dudinea

comment created time in 2 months

PR opened luksen/maildir

Feature/accelerate key lookup

Accelerate key lookup by trying to open files with legal :info suffixes (according to the maildir spec) before doing full directory scan. It greately increases key lookup speed when mail folder is big. It introduces some subtle change in error handling: previously the lookup would fail on duplicate keys, now we don't: there is no quick way to detect all duplicates without doing full directory scan.

+195 -12

0 comment

2 changed files

pr created time in 2 months

PR opened luksen/maildir

Fix/filename bugs

Fixes two bugs:

  1. Maildir was not able to use mailboxes with path that contains globbing characters, a common use case for this is Gmail synchronization with offlineimap, which produces folders like [Gmail].Drafts in its default configuration.
  2. Filename did not look up keys for newly delivered messages in the "new" subdir

As you suggested I've replaced Glob by scanning directory looking for matching file names.

+48 -8

0 comment

2 changed files

pr created time in 2 months

PR closed luksen/maildir

Bugfix: could not use maildir if its path contains globbing chars

Fixes bug with mail dir not able to use mailboxes with patch that contain globbing characters, a common use case for this is Gmail synchronization with offlineimap, which produces folders like [Gmail].Drafts in its default configuration.

+26 -4

2 comments

2 changed files

dudinea

pr closed time in 2 months

pull request commentluksen/maildir

Bugfix: could not use maildir if its path contains globbing chars

Did as you suggested, see my new pull request. Thanks

dudinea

comment created time in 2 months

PR opened luksen/maildir

Bugfix: could not use maildir if its path contains globbing chars

Fixes bug with mail dir not able to use mailboxes with patch that contain globbing characters, a common use case for this is Gmail synchronization with offlineimap, which produces folders like [Gmail].Drafts in its default configuration.

+26 -4

0 comment

2 changed files

pr created time in 2 months

fork dudinea/maildir

A go package to access Maildir mailboxes.

fork in 2 months

more