Improve the 'ditz init' experience
I decided to use ditz on one of my personal projects, but it fails and, as a new user, leaves me a bit bewildered.
i'm confused about how to enter initial components. Entering a single word causes 'ditz add' to fail:
/var/lib/gems/1.8/gems/ditz-0.5/lib/ditz/model-objects.rb:124:in `validate!': undefined method `name' for "bookme":String (NoMethodError)
from /usr/lib/ruby/1.8/yaml.rb:143:in `map'
from /var/lib/gems/1.8/gems/ditz-0.5/lib/ditz/model-objects.rb:124:in `each'
from /var/lib/gems/1.8/gems/ditz-0.5/lib/ditz/model-objects.rb:124:in `map'
from /var/lib/gems/1.8/gems/ditz-0.5/lib/ditz/model-objects.rb:124:in `validate!'
from /var/lib/gems/1.8/gems/ditz-0.5/lib/ditz/model-objects.rb:133:in `from'
from /var/lib/gems/1.8/gems/ditz-0.5/lib/ditz/file-storage.rb:17:in `load'
from /var/lib/gems/1.8/gems/ditz-0.5/bin/ditz:135
from /usr/local/bin/ditz:19:in `load'
from /usr/local/bin/ditz:19
--- project.yaml --- !ditz.rubyforge.org,2008-03-06/project
name: bookme
version: "0.5"
components: bookme
releases: []
Perhaps nothing entered for a component should default it to a downcase version of the project name? Either way, I'm not clear on what I should enter here.
Details
| Id: | 878ea81810f79d2d8a7580317fb1aa4781294761 |
| Type: | bug |
| Creation time: | 2008-09-01 16:56 GMT |
| Creator: | Nolan Darilek <nolan@...> |
| Release: | 0.6 (unreleased) |
| Component: | ditz |
| Status: |
closed: won't fix
|
Commits for this issue
| 2008-09-03 17:45 GMT | Nolan Darilek <nolan@...> |
| 2008-09-01 16:56 GMT | Nolan Darilek <nolan@...> |
Issue log
| 2008-11-01 20:41 GMT | William Morgan <wmorgan-ditz@...> | |
| hasn't cropped up again. | ||
| 2008-09-03 17:44 GMT | Nolan Darilek <nolan@...> | |
| Now it works for me. I'll leave this issue open until the others who've experienced it have a chance to chime in. | ||
| 2008-09-03 03:41 GMT | William Morgan <wmorgan-ditz@...> | |
| ok, you're the second person to notice this and i can't figure out what's going on. can you try it with the ditz in git master? | ||
| 2008-09-01 16:56 GMT | Nolan Darilek <nolan@...> | |