zzamboni-things2thl 0.8.3 → 0.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +43 -17
- data/README +1 -1
- data/VERSION +1 -1
- data/bin/things2thl +5 -5
- data/lib/Things2THL.rb +1 -1
- data/things2thl.gemspec +1 -1
- metadata +1 -1
data/ChangeLog
CHANGED
|
@@ -1,7 +1,18 @@
|
|
|
1
|
+
2009-06-12 Diego Zamboni <diego@zzamboni.org>
|
|
2
|
+
|
|
3
|
+
* VERSION: Version bump to 0.8.4
|
|
4
|
+
|
|
5
|
+
2009-06-12 Diego Zamboni <diego@zzamboni.org>
|
|
6
|
+
|
|
7
|
+
* README, bin/things2thl, lib/Things2THL.rb: Increased timeouts for
|
|
8
|
+
all top-level get operations, to avoid errors on slow machines or
|
|
9
|
+
with lots of tasks/projects/areas
|
|
10
|
+
|
|
1
11
|
2009-06-11 Diego Zamboni <diego@zzamboni.org>
|
|
2
12
|
|
|
3
|
-
* README, VERSION, lib/Things2THL.rb: Version bump to 0.8.3.
|
|
4
|
-
|
|
13
|
+
* README, VERSION, lib/Things2THL.rb: Version bump to 0.8.3.
|
|
14
|
+
Updated in-code version number to the correct one (it was still
|
|
15
|
+
reporting 0.7.0)
|
|
5
16
|
|
|
6
17
|
2009-05-26 Diego Zamboni <diego@zzamboni.org>
|
|
7
18
|
|
|
@@ -81,12 +92,14 @@
|
|
|
81
92
|
|
|
82
93
|
* README, bin/things2thl, lib/Things2THL.rb: Added a new mode of
|
|
83
94
|
operation --projects-areas-as-lists (-B). As the name implies, in
|
|
84
|
-
this mode both projects and areas from Things are stored as lists
|
|
85
|
-
THL. This means that projects are NOT nested inside areas, as
|
|
86
|
-
case in the other two modes. Instead, the lists for areas
|
|
87
|
-
contain only single tasks that were inside the area in
|
|
88
|
-
|
|
89
|
-
will
|
|
95
|
+
this mode both projects and areas from Things are stored as lists
|
|
96
|
+
in THL. This means that projects are NOT nested inside areas, as
|
|
97
|
+
is the case in the other two modes. Instead, the lists for areas
|
|
98
|
+
will contain only single tasks that were inside the area in
|
|
99
|
+
Things. If --projects-top-level and --areas-top-level are not
|
|
100
|
+
given, all the lists will be created in the main folders
|
|
101
|
+
group. Otherwise, they will appear within the corresponding
|
|
102
|
+
folder.
|
|
90
103
|
|
|
91
104
|
2009-05-21 Diego Zamboni <diego@zzamboni.org>
|
|
92
105
|
|
|
@@ -355,13 +368,21 @@
|
|
|
355
368
|
|
|
356
369
|
2009-05-14 Diego Zamboni <diego@zzamboni.org>
|
|
357
370
|
|
|
358
|
-
* lib/Things2THL.rb: - Handle project due dates when
|
|
359
|
-
|
|
360
|
-
|
|
371
|
+
* lib/Things2THL.rb: - Handle project due dates when
|
|
372
|
+
--projects-as-lists by creating a new task within the list, with
|
|
373
|
+
the appropriate due date. - Mark fake "notes" task when
|
|
374
|
+
--projects-as-lists as completed if the enclosing project is
|
|
375
|
+
completed or canceled. - Added project- and area-tag
|
|
376
|
+
inheritance into individual tasks when the project/area is a
|
|
377
|
+
list (THL lists can't have tags) - Added generic internal
|
|
378
|
+
mechanism for creating additional nodes, used both for the due
|
|
379
|
+
dates tasks and the notes tasks.
|
|
361
380
|
|
|
362
381
|
2009-05-14 Diego Zamboni <diego@zzamboni.org>
|
|
363
382
|
|
|
364
|
-
* lib/Things2THL.rb: - Inherit project tags into the corresponding
|
|
383
|
+
* lib/Things2THL.rb: - Inherit project tags into the corresponding
|
|
384
|
+
tasks - Base support for putting tasks in the proper focus. So
|
|
385
|
+
far, only Today tasks are properly flagged.
|
|
365
386
|
|
|
366
387
|
2009-05-13 Diego Zamboni <diego@zzamboni.org>
|
|
367
388
|
|
|
@@ -379,14 +400,19 @@
|
|
|
379
400
|
|
|
380
401
|
* README, bin/things2thl, lib/Things2THL.rb: Added proper handling
|
|
381
402
|
of most node attributes, including rudimentary transfering of the
|
|
382
|
-
tags (not contexts vs tags yet). Updated README with some usage
|
|
403
|
+
tags (not contexts vs tags yet). Updated README with some usage
|
|
404
|
+
notes and warnings.
|
|
383
405
|
|
|
384
406
|
2009-05-12 Diego Zamboni <diego@zzamboni.org>
|
|
385
407
|
|
|
386
|
-
* bin/things2thl, lib/Things2THL.rb: - Modified to use Applescript
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
408
|
+
* bin/things2thl, lib/Things2THL.rb: - Modified to use Applescript
|
|
409
|
+
to get stuff out of Things instead of the things-rb
|
|
410
|
+
library (needs Things 1.1.1 or later) - Simplified the algorithm
|
|
411
|
+
to a multiple-pass one (areas, projects, tasks) using
|
|
412
|
+
memoization to do the nesting, instead of trying to do a
|
|
413
|
+
hierarchical traversal. - Tasks are also now imported, but
|
|
414
|
+
those not in projects or areas are still not divided
|
|
415
|
+
properly (e.g. in Inbox, Scheduled, etc.)
|
|
390
416
|
|
|
391
417
|
2009-05-05 Diego Zamboni <diego@zzamboni.org>
|
|
392
418
|
|
data/README
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.4
|
data/bin/things2thl
CHANGED
|
@@ -131,7 +131,7 @@ unless options.inboxonly
|
|
|
131
131
|
# First, traverse all areas
|
|
132
132
|
if options.areas && !options.areas_as
|
|
133
133
|
puts "Processing Areas of Responsibility" unless options.quiet.nonzero?
|
|
134
|
-
things.areas.get.each do |area|
|
|
134
|
+
things.areas.get(:timeout => 10000).each do |area|
|
|
135
135
|
converter.process(Things2THL::ThingsNode.new(area))
|
|
136
136
|
end
|
|
137
137
|
end
|
|
@@ -140,10 +140,10 @@ unless options.inboxonly
|
|
|
140
140
|
puts "Processing Projects" unless options.quiet.nonzero?
|
|
141
141
|
if options.completed
|
|
142
142
|
puts " (fetching all projects - this may take a while)" unless options.quiet.nonzero?
|
|
143
|
-
projlist=things.projects.get
|
|
143
|
+
projlist=things.projects.get(:timeout => 10000)
|
|
144
144
|
else
|
|
145
145
|
puts " (fetching only open projects - this may take a while)" unless options.quiet.nonzero?
|
|
146
|
-
projlist=things.projects[its.status.eq(:open)].get
|
|
146
|
+
projlist=things.projects[its.status.eq(:open)].get(:timeout => 10000)
|
|
147
147
|
end
|
|
148
148
|
projlist.each do |project|
|
|
149
149
|
converter.process(Things2THL::ThingsNode.new(project))
|
|
@@ -163,10 +163,10 @@ else
|
|
|
163
163
|
end
|
|
164
164
|
if options.completed
|
|
165
165
|
puts " (fetching all tasks - this may take a while)" unless options.quiet.nonzero?
|
|
166
|
-
tasklist=queryobj.to_dos.get
|
|
166
|
+
tasklist=queryobj.to_dos.get(:timeout => 10000)
|
|
167
167
|
else
|
|
168
168
|
puts " (fetching only open tasks - this may take a while)" unless options.quiet.nonzero?
|
|
169
|
-
tasklist=queryobj.to_dos[its.status.eq(:open)].get
|
|
169
|
+
tasklist=queryobj.to_dos[its.status.eq(:open)].get(:timeout => 10000)
|
|
170
170
|
end
|
|
171
171
|
tasklist.each do |t|
|
|
172
172
|
task=Things2THL::ThingsNode.new(t)
|
data/lib/Things2THL.rb
CHANGED
data/things2thl.gemspec
CHANGED