Package: obnam
Version: 0.24.1-1
Severity: minor

"obnam ls" mimicks "ls -lAR", eg.
========================================
/:
drwxr-xr-x 19 root root  20480  2012-01-08 14:22:09 root

/root:
-rw------- 1 root root  10453  2012-01-03 14:39:29 .bash_history   
drwxr-xr-x 2 root root     80  2011-10-08 21:40:26 .vim            
drwxr-xr-x 2 root root      1  2010-07-20 11:18:29 .debtags        
-rw-r--r-- 1 root root    230  2005-10-15 21:36:32 .mime.types     
-rw-r--r-- 1 root root    167  2008-08-23 20:17:26 .vimrc          
-rw------- 1 root root  16391  2012-01-08 14:22:09 .viminfo        
-rw-r--r-- 1 root root    110  2004-11-10 16:10:03 .profile        
drwxr-xr-x 3 root root      8  2011-08-25 08:15:47 .config         
-rw-r--r-- 1 root root    452  2007-06-09 13:09:22 .bashrc         
drwx------ 2 root root  61440  2012-01-08 11:42:02 .aptitude       
drwx------ 2 root root   4096  2012-01-02 11:55:42 .ssh            
-rw------- 1 root root    888  2012-01-08 14:22:22 .lesshst        
========================================

This format is not so easy to interpret for scripts, and to
my eyes is rather ugly.

I'd much prefer something imitating "find -ls", eg.
========================================
     2    8 drwxr-xr-x  21 root     root         4096 Jun 14  2011 /
 12330   28 drwxr-xr-x  18 root     root        20480 Jan  8 14:44 /root
417893   64 drwx------   2 root     root        61440 Jan  8 11:42 
/root/.aptitude
417908 7368 -rw-r--r--   1 root     root      7535616 Dec 22 07:24 
/root/.aptitude/cache
417925    4 -rw-r--r--   1 root     root          305 Jan  8 11:42 
/root/.aptitude/config
151557   12 -rw-------   1 root     root        10453 Jan  3 14:39 
/root/.bash_history
340169    4 -rw-r--r--   1 root     root          452 Jun  9  2007 /root/.bashrc
344945    0 drwxr-xr-x   3 root     root            8 Aug 25 09:15 /root/.config
221189    0 drwxr-xr-x   2 root     root            1 Jul 20  2010 
/root/.debtags
143366    4 -rw-------   1 root     root          903 Jan  8 14:35 
/root/.lesshst
242480    4 -rw-r--r--   1 root     root          230 Oct 15  2005 
/root/.mime.types
 36958    4 -rw-r--r--   1 root     root          110 Nov 10  2004 
/root/.profile
 39053    4 drwx------   2 root     root         4096 Jan  2 11:55 /root/.ssh
549654    4 -rw-r--r--   1 root     root           18 May 21  2011 
/root/.ssh/config
 39054    4 -rw-------   1 root     root         3243 Jan  2 11:55 
/root/.ssh/id_rsa
 39061    4 -rw-r--r--   1 root     root          735 Jan  2 11:55 
/root/.ssh/id_rsa.pub
532615    4 -rw-r--r--   1 root     root          419 May 21  2011 
/root/.ssh/known_hosts
447806    0 drwxr-xr-x   2 root     root           80 Oct  8 22:40 /root/.vim
709725   16 -rw-------   1 root     root        16335 Jan  8 14:30 
/root/.viminfo
639000    4 -rw-r--r--   1 root     root          167 Aug 23  2008 /root/.vimrc
========================================

Two advantages off the top of my head are:
 * One line per file, including directories, easing parsing.
 * Included inode number, allowing for hardlink detection.

The former's timestamp format does look nicer though.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.1.0-1-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages obnam depends on:
ii  libc6             2.13-24
ii  python            2.7.2-9
ii  python-cliapp     0.23-1
ii  python-larch      0.26-1
ii  python-paramiko   1.7.7.1-2
ii  python-tracing    0.6-2
ii  python-ttystatus  0.15-1
ii  python2.6         2.6.7-4
ii  python2.7         2.7.2-8

obnam recommends no packages.

obnam suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to