zzamboni-things2thl 0.8.3 → 0.8.4

Sign up to get free protection for your applications and to get access to all the features.
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. Updated in-code version number to the correct one (it was still
4
- reporting 0.7.0)
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 in
85
- THL. This means that projects are NOT nested inside areas, as is the
86
- case in the other two modes. Instead, the lists for areas will
87
- contain only single tasks that were inside the area in Things. If --projects-top-level and --areas-top-level are not given, all the
88
- lists will be created in the main folders group. Otherwise, they
89
- will appear within the corresponding folder.
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 --projects-as-lists by creating a
359
- new task within the list, with the appropriate due date. - Mark fake "notes" task when --projects-as-lists as completed if the enclosing project is completed or canceled. - Added project- and area-tag inheritance into individual tasks when the project/area is a list (THL lists can't have tags) - Added generic internal mechanism for creating additional nodes,
360
- used both for the due dates tasks and the notes tasks.
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 tasks - Base support for putting tasks in the proper focus. So far, only Today tasks are properly flagged.
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 notes and warnings.
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 to get stuff out of Things instead of the things-rb library (needs Things 1.1.1 or later) - Simplified the algorithm to a multiple-pass one (areas, projects,
387
- tasks) using memoization to do the nesting, instead of trying to do
388
- a hierarchical traversal. - Tasks are also now imported, but those not in projects or areas
389
- are still not divided properly (e.g. in Inbox, Scheduled, etc.)
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
@@ -1,4 +1,4 @@
1
- Things2THL 0.8.3
1
+ Things2THL 0.8.4
2
2
  http://zzamboni.github.com/things2thl/
3
3
 
4
4
  Conversion program to transfer data from Things
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
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
@@ -13,7 +13,7 @@ module Things2THL
13
13
  module Version
14
14
  MAJOR = 0
15
15
  MINOR = 8
16
- PATCH = 3
16
+ PATCH = 4
17
17
 
18
18
  STRING = [MAJOR, MINOR, PATCH].join(".")
19
19
  end
data/things2thl.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{things2thl}
5
- s.version = "0.8.3"
5
+ s.version = "0.8.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Diego Zamboni"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zzamboni-things2thl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Diego Zamboni