From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QE0sKEpQxWCxNAEAgWs5BA (envelope-from ) for ; Sun, 13 Jun 2021 02:24:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uAd8I0pQxWCrNAAAbx9fmQ (envelope-from ) for ; Sun, 13 Jun 2021 00:24:42 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id CAFF7C616 for ; Sun, 13 Jun 2021 02:24:41 +0200 (CEST) Received: from localhost ([::1]:38888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsDvc-0006Sk-J9 for larch@yhetil.org; Sat, 12 Jun 2021 20:24:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49214) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsDv9-0006SO-5X for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 20:24:11 -0400 Received: from mail-pj1-x1030.google.com ([2607:f8b0:4864:20::1030]:33427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsDv5-0001ve-7P for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 20:24:10 -0400 Received: by mail-pj1-x1030.google.com with SMTP id k22-20020a17090aef16b0290163512accedso8918323pjz.0 for ; Sat, 12 Jun 2021 17:24:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=3Yo/SkHBVJjnwXUa6GkvH4la4MSSGJn6MGasS4ORfro=; b=R90GFKQ5p2y6ExFrxVKJu0vOxJ0Xjie86aWxHluLSoDkGEhU4T8y8GmUJryGQpxTKR WFFDSXy6hIV19WoC1mL3mBJjtX3VwoPZexhm/iEwTpJx7i3wEoHtWsEKmi9RyWvQl0Ik 7RZoCpZMNyCRfhtUzJMxM5E54lOFXY7vkxN6pSW6kKOVGcA3XHhz0Tg03HsHja5hCHqm 0esqmpOJ8yJc+1+Rm6j1aXHX89eOHQy7Yc5J0fXtVF55QNOIDl9DEJd6xEKCs2Aa98p7 ImUn2S7DEKe1iWTFx0pYmHBWIHaMBWnn+wltwjjauHkeX1H1ReaoN6h9vub5vhqLf65q xnjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=3Yo/SkHBVJjnwXUa6GkvH4la4MSSGJn6MGasS4ORfro=; b=gBhQ1rsXGhRqN1XxqmMsHn6H3t4xw34xkBjLjvch6LoERwEF3Gx6GxX1OnSuoalfNL tMq8f0iAJiuz9xNQemNxl9GDXWyiNkDw3+Wq8djlHXzEUpteE0HnQMKbzZjEaH8pq5QL 0ERrySdTR9nb4wLAQXk6CWXKTzX66VNzTNugyk1nLH4/zm3qpNTMl+F/QBBO7VZaMafm xCzJ07FM9J04cB6LMkJZb6EERdY0xi3QyARx4jS98cG2cqE+sYFL5EV8bHTyOafJNmMK IOiq/ahXKuUJ1MRg2Lh+urQmi2C2fmZI4TizowXV3B/H7aK9/rtupXRPZIHa2Bv2n0wK JUTg== X-Gm-Message-State: AOAM531RPtuUt/rtFqa20piuHzip1wxwA1dPcIFBJc1WtLl/6Gd8EMiD 9JvDbhNMNfB7f+b3As9YdpY00W3/ZHQ= X-Google-Smtp-Source: ABdhPJwDwbXzMtLNdiRQ5Kv/lOgg6iGpOU1Ge5oy9LsCCMkcQqyPy8MKSRff1vk+xgLEfiehuAPMvg== X-Received: by 2002:a17:90a:bf03:: with SMTP id c3mr11670101pjs.196.1623543845141; Sat, 12 Jun 2021 17:24:05 -0700 (PDT) Received: from tim-desktop (220-235-7-211.dyn.iinet.net.au. [220.235.7.211]) by smtp.gmail.com with ESMTPSA id b6sm8305015pgw.67.2021.06.12.17.24.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Jun 2021 17:24:04 -0700 (PDT) References: User-agent: mu4e 1.5.13; emacs 27.2.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: ox-taskjuggler scenarios Date: Sun, 13 Jun 2021 10:11:55 +1000 In-reply-to: Message-ID: <87wnqyfw7z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::1030; envelope-from=theophilusx@gmail.com; helo=mail-pj1-x1030.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623543881; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=3Yo/SkHBVJjnwXUa6GkvH4la4MSSGJn6MGasS4ORfro=; b=rYnbFY2nTSbGB5eAO+Jau6Vc1NVshyWe+ISZ9DulFHNQAyVCsIF+4DqBMSWr48+suNQPN4 fcbHHKv6Uw9SdA/FIch31nUPqI5BbxR4tlmCVBnBGt62kbVYGPwpqJqBwqILSAjDZiUhlh 4tmaiw22AnIiIPoXhH1mxuZRVu40xzaGfCHkbUxCdw2GK03Urfry7k9J0DAIHrldNZRgok DrUQVmw7GAXuKSQQWRUDgnhPNlIde4GULnrAFTk4JWWLtHd8kWUlz6qkY6AfFNshrsDmRI uKoSnvYCsR08ThuEiFGk6Q5ua63GK3kJerl49hOtQmBxTd4g8x2APIcVa9TDgw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623543881; a=rsa-sha256; cv=none; b=j1p9eqkcUzwKxbTghNUj9IdaUwveY68NEVnHrUNpO54rsSFH2e91tkDrW1GIdK1j1hu/1n zoMVHk4xl63UCOHmggXUeou+IbcPxs7NPihk8ohMR01UcDXovIqLK0bC54wjz+bWWsLxtC b+DJQXLEkUayheMVr+UzJfxUOUHjnsXRyiRYFVMoOe2lvQpA4gQVFQR3Dp5YaE+0KPCZqc enTpKsMYpFi9ztxr9DY5oVKgRDBX3P6YYHridCHuDdq0Nza6WrHT24xg3FXbsPga0qvTbS /ziQYwclGP/lPgaw7bHF4TxudwTcn0etkom2EDz0I/5bI/i10VWrDgZyhmNyKA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=R90GFKQ5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -1.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=R90GFKQ5; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: CAFF7C616 X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: SUwVMkF7C/Ut Hi David, it has been many years since I last used taskjuggler from within org. I recall when I did I had a similar issue to yours e.g. some valid task juggler values could not be passed into task juggler from within org mode. Although my recollections is hazy, I seem to recall that when I looked at the code, the ox-taskjuiggler.el code only accepted a subset of what was valid input for taskjuggler. I ended up doing something similar to you i.e. generated the export file and then modify it before generating the taskjuggler artifacts. >From memory, it looked like it would be fairly easy to modify the taskjuggler elisp code to add additional support/integration, but my requirements moved on and I stopped needing to use taskjuggler, so never got around to it. I do recall sending emails to the ox-taskjuggler.el author, but did not get any response. My guess is that ox-taskjuggler.el is currently lacking an active maintainer. Bastien can probably clarify, but I would consider just modifying the code to add the missing functionality you need and posting some patches. Maybe someone can take on the maintenance, but until that happens, I would consider ox-taskjuggler.el to be a basic starting point which you can modify for your needs (it is part of the contrib packages and not core org). david whiting writes: > Hi, > > I am starting to use org-mode with taskjuggler and am trying to > implement scenarios. To work with scenarios I need to be able to > provide the scenario parameter values where the scenario differs to > the default plan. For example, using the example from > https://taskjuggler.org/tj3/manual/Day_To_Day_Juggling.html#Tracking_the_Project > there are two scenarios, called "actual" and "test". To apply > different values to show the base scenario/plan, what actually > happened and the test scenario, I would do something like this: > > task t "Task" { > start 2007-05-29 > actual:start 2007-06-03 > test:start 2007-06-07 > } > > In this example, the original plan was to start on 2007-05-29, the > project actually started on 2007-06-03 and we also get to see what > would have happened if we started on 2007-06-07. > > Using org-mode I can use the following to create the task with the > planned start date: > > *** Task > :PROPERTIES: > :start: 2007-05-29 > :END: > > But I haven't been able to add the actual and test scenarios. I need > to be able to add something like: > > *** Task > :PROPERTIES: > :start: 2007-05-29 > :actual:start: 2007-06-03 > :test:start: 2007-06-07 > :END: > > But the actual and test information is ignored, it is not converted in > the tjp file. I have tried adding "actual:start" (without the quotes) > to org-taskjuggler-valid-task-attributes, but that did not work. I > have also tried a similar approach with "effort", but again it is > ignored. > > I currently have a hack to get what I want. I add the scenario info as > a comment with a marker and then run a sed script on the resulting tjp > file to replace the comment-markers with \n, like this: > > *** Task > :PROPERTIES: > :start: 2007-05-29 #@actual:start 2007-06-03 #@test:start 2007-06-07 > :END: > > Is there a better way to do this? > > David -- Tim Cross