From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Egli Subject: [Taskjuggler] Backwards incompatible change [was: Support for the new effort durations?] Date: Thu, 09 Jun 2011 07:17:53 +0200 Message-ID: <87fwnjfuri.fsf@sbs.ch> References: <877hbjjo96.fsf@sbs.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUXiH-0003iS-29 for emacs-orgmode@gnu.org; Thu, 09 Jun 2011 01:23:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QUXiF-0001eH-0j for emacs-orgmode@gnu.org; Thu, 09 Jun 2011 01:23:24 -0400 Received: from lo.gmane.org ([80.91.229.12]:45565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QUXdE-0000j1-VR for emacs-orgmode@gnu.org; Thu, 09 Jun 2011 01:18:13 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QUXdD-0001y3-2j for emacs-orgmode@gnu.org; Thu, 09 Jun 2011 07:18:11 +0200 Received: from gateway01.sbszh.ch ([217.162.18.85]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Jun 2011 07:18:11 +0200 Received: from christian.egli by gateway01.sbszh.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Jun 2011 07:18:11 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Christian Egli writes: > The Effort property previously had no unit attached. With release 7.5 of > orgmode you can now attach units to it such as 4h, 2d or 2m. The > taskjuggler exporter however doesn't support this feature yet. It > currently assumes that if is simply a number that we are talking about > days. If the format is something like 5:30 it assumes that the effort is > in hours:minutes. It has no support for other formats (weeks, months > which taskjuggler itself would support). > > Now I suppose the exporter should honor the new effort durations that > were introduced in 7.5. This is not that hard to change. However this > would mean that existing orgmode files will be exported differently, > i.e. the change is not backwards compatible. > > At the moment I do not know how to deal with this. Should I just move to > the new effort durations and ask the user to upgrade their orgmode files > or more specifically to upgrade their effort properties to the new > effort durations format? I pushed a change now which supports the new effort durations. However this change is NOT BACKWARDS COMPATIBLE. Previously the exporter assumed that effort estimates such as '2' meant 2 days. It now assumes that you are talking about 2 minutes. In order to get the same result when exporting change plain effort estimates such as '2' to '2d'. M-x query-replace-regexp should get you there. The info file is updated. I need to fix the tutorial on worg. Thanks Christian -- Christian Egli Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 12, CH-8045 Zürich, Switzerland