Commit 3810d38dad8b56df233b9edfb5be27e6824bb97a

log less from tasks and update todo

Commit diff

TODO.txt

 
1[ ] sidebar sometimes disappears (esp. on commit diff pages)
21[ ] Paginated log view (like git log --skip=100 --max-count=100)
32[ ] Nag project owners with no commits to the mainline repos after a week or two
43[ ] gitk-style branch view
1515[ ] Delete/archive a repos, by owner unless its the mainline one
1616[ ] Delete/close (prefer latter) a Project
1717[ ] Refactor the Task/queue system
18[ ] Log less in task.log (set "got X tasks to..." as debug level)
1918[ ] A "Status" field for a project (though a wiki-frontpage makes this unneeded-ish)
2019[ ] Mention somewhere that emails are displayed on the site, both in commits and on "profile" pages (so people can contact them)
2120[ ] improve commenting and comments visibility
2221[ ] handle mising/wrong SHA1s gracefully in browser
2322[ ] parse SHA1s in commits+comments
2423[ ] Normalize url fields (eg add http:// if it aint there) on User+Project
25
24[ ] diff-display gets confused when there's an :add right after :mod (see edgecase1.diff)
2625---
2726
2827a ProjectMirror that sucks in svn repositories. They need to be differentiated form normal projects (don't display owner etc, since it's a mirror). Also, the mainline repository should probably be immutable so people can commit changes to the actual mirror.
toggle raw diff

app/models/task.rb

 
77
88 def self.perform_all_pending!(log=RAILS_DEFAULT_LOGGER)
99 tasks_to_perform = find_all_pending
10 log.info("Got #{tasks_to_perform.size.inspect} tasks to perform...")
10 log.debug("Got #{tasks_to_perform.size.inspect} tasks to perform...")
1111 tasks_to_perform.each do |task|
1212 task.perform!(log)
1313 end
toggle raw diff