Bug#693868: ITP: mailnag -- mail notification daemon for GNOME 3

2012-11-21 Thread Vincent Cheng
Package: wnpp
Severity: wishlist
Owner: Vincent Cheng vincentc1...@gmail.com

* Package name: mailnag
  Version : 0.4.4
  Upstream Author : Patrick Ulbrich zul...@gmx.net
* URL : https://github.com/pulb/mailnag
* License : GPL-2+
  Programming Lang: Python
  Description : mail notification daemon for GNOME 3

Mailnag checks POP3 and IMAP servers for new mail. When it finds new messsages,
it creates a GNOME 3 notification that mentions sender and subject.

(Not part of extended description: This is similar to mail-notification,
except that it's not dead upstream and it's integrated nicely with GNOME shell)


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20121121090945.14168.82421.reportbug@vincent-tlaptop



Bug#693868: ITP: mailnag -- mail notification daemon for GNOME 3

2012-11-21 Thread Timo Juhani Lindfors
Hi,

Vincent Cheng vincentc1...@gmail.com writes:
 Mailnag checks POP3 and IMAP servers for new mail. When it finds new 
 messsages,
 it creates a GNOME 3 notification that mentions sender and subject.

I briefly read through the source (git commit
37f1c59b573d1e261e0feea668c321f884c274e3):

- mailnag seems to store log files and pid files in
  XDG_CONFIG_HOME. According to
  http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
  this directory is for user-specific configuration files. This fails
  if I share my /home with NFS to multiple machines and login to two
  different machines.

- mailnag seems to store also mailnag.dat to XDG_CONFIG_HOME. This
  seems to contain list of known messages. Maybe this the right
  directory in this case? Does this handle concurrent access in the NFS
  case?

- mailnag writes its configuration file with

  with open(cfg_file, 'wb') as configfile: cfg.write(configfile)

  How does this behave if the disk is full? Will it truncate the
  configuration file to zero size?

- imaplib2.py seems to be under python license but does not specify a
  version. Some versions of python license were not compatible with GPL.

- mailnag uses

  urllib2.urlopen(http://www.google.com/;)

  to test if internet connection works. This is a privacy issue. I don't
  want my computer to report to google when I login to my desktop.

- mailnag uses %s/.config/autostart/ % (os.path.expanduser(~/). It
  should not hardcode .config but use XDG_CONFIG_HOME?


-Timo


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/84sj832s72@sauna.l.org