FS#7413 - joe 3.5-1: backup file list is wrong, changed config files in /etc/joe are rewritten without warning

Attached to Project: Arch Linux
Opened by Ivan Todoroski (Grnch) - Sunday, 10 June 2007, 21:56 GMT
Last edited by Alexander Baldeck (kth5) - Monday, 11 June 2007, 10:44 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The backup file list in .PKGINFO refers to /etc/joerc, /etc/jmacsrc, etc. but the files are actually in /etc/joe/ subdirectory, so any user changes get overwritten on each upgrade. Also, the list is incomplete, here's the full list of files that are likely to be modified by advanced JOE users:

backup = etc/joe/ftyperc
backup = etc/joe/jicerc.ru
backup = etc/joe/jmacsrc
backup = etc/joe/joerc
backup = etc/joe/jpicorc
backup = etc/joe/jstarrc
backup = etc/joe/rjoerc
backup = etc/joe/syntax/4gl.jsf
backup = etc/joe/syntax/ada.jsf
backup = etc/joe/syntax/asm.jsf
backup = etc/joe/syntax/awk.jsf
backup = etc/joe/syntax/c.jsf
backup = etc/joe/syntax/cobol.jsf
backup = etc/joe/syntax/conf.jsf
backup = etc/joe/syntax/csh.jsf
backup = etc/joe/syntax/css.jsf
backup = etc/joe/syntax/diff.jsf
backup = etc/joe/syntax/fortran.jsf
backup = etc/joe/syntax/haskell.jsf
backup = etc/joe/syntax/html.jsf
backup = etc/joe/syntax/java.jsf
backup = etc/joe/syntax/joerc.jsf
backup = etc/joe/syntax/lisp.jsf
backup = etc/joe/syntax/lua.jsf
backup = etc/joe/syntax/m4.jsf
backup = etc/joe/syntax/mail.jsf
backup = etc/joe/syntax/mason.jsf
backup = etc/joe/syntax/ocaml.jsf
backup = etc/joe/syntax/pascal.jsf
backup = etc/joe/syntax/perl.jsf
backup = etc/joe/syntax/php.jsf
backup = etc/joe/syntax/ps.jsf
backup = etc/joe/syntax/python.jsf
backup = etc/joe/syntax/rexx.jsf
backup = etc/joe/syntax/ruby.jsf
backup = etc/joe/syntax/sed.jsf
backup = etc/joe/syntax/sh.jsf
backup = etc/joe/syntax/skill.jsf
backup = etc/joe/syntax/sml.jsf
backup = etc/joe/syntax/sql.jsf
backup = etc/joe/syntax/tcl.jsf
backup = etc/joe/syntax/tex.jsf
backup = etc/joe/syntax/troff.jsf
backup = etc/joe/syntax/verilog.jsf
backup = etc/joe/syntax/vhdl.jsf
backup = etc/joe/syntax/xml.jsf
This task depends upon

Closed by  Alexander Baldeck (kth5)
Monday, 11 June 2007, 10:44 GMT
Reason for closing:  Implemented
Additional comments about closing:  ok, hope fully we satisfied all joe-users' needs. :)
Comment by Roman Kyrylych (Romashka) - Monday, 11 June 2007, 10:05 GMT
reopened on this request:
Thanks for the quick response, but it still seems incomplete. I just upgraded and it trashed my wordwrap customizations in /etc/joe/ftyperc. Perhaps all of the files directly under /etc/joe/ should be added, and maybe even those under /etc/joe/syntax/ (I've tweaked those too in the past, but not lately).

Loading...