/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
287 by Martin Pool
- todo: plugins
1
                                                 -*- indented-text -*-
2
293 by Martin Pool
- todos
3
See also various low-level TODOs in the source code.  Try looking in
284 by Martin Pool
- more TODO items
4
the list archive or on gmane.org for previous discussion of these
293 by Martin Pool
- todos
5
issues.
6
7
These are classified by approximate size: an hour or less, a day or
8
less, and several days or more.
9
282 by Martin Pool
- move all TODO items into ./TODO
10
11
Small things
12
------------
13
14
* Add of a file that was present in the base revision should put back
15
  the previous file-id.
16
17
* Handle diff of files which do not have a trailing newline; probably
18
  requires patching difflib to get it exactly right, or otherwise
19
  calling out to GNU diff.
20
21
* Import ElementTree update patch.
22
284 by Martin Pool
- more TODO items
23
* Syntax should be "bzr export -r REV".
282 by Martin Pool
- move all TODO items into ./TODO
24
285 by Martin Pool
- update todos
25
* "cat -rREV FILE"
26
287 by Martin Pool
- todo: plugins
27
* Plugins that provide commands.  By just installing a file into some
28
  directory (e.g. /usr/share/bzr/plugins) it should be possible to
29
  create new top-level commands ("bzr frob").  Extensions can be
30
  written in either Python (in which case they use the bzrlib API) or
31
  in a separate process (in sh, C, whatever).   It should be possible
32
  to get help for plugin commands.
33
288 by Martin Pool
TODO
34
* Smart rewrap text in help messages to fit in $COLUMNS (or equivalent
35
  on Windows)
36
289 by Martin Pool
todo
37
* -r option should take a revision-id as well as a revno.
38
290 by Martin Pool
todo
39
* "bzr info" could show space used by working tree, versioned files,
40
  unknown and ignored files. 
41
42
* "bzr info" should count only people with distinct email addresses as
43
  different committers.  (Or perhaps only distinct userids?)
44
291 by Martin Pool
todo
45
* Tidier error for EPIPE: should be just "bzr: broken pipe" with no
46
  other details because debugging information is rarely interesting.
290 by Martin Pool
todo
47
293 by Martin Pool
- todos
48
* On Windows, command-line arguments should be glob-expanded__,
49
  because the shell doesn't do this.  However, there are probably some
50
  commands where this shouldn't be done, such as 'bzr ignore', because
51
  we want to accept globs.
52
53
__ http://mail.python.org/pipermail/python-list/2001-April/037847.html
54
282 by Martin Pool
- move all TODO items into ./TODO
55
Medium things
56
-------------
57
58
* Faster diff/status.  
59
60
  Status should be handled differently because it needs to report on
61
  deleted and unknown files.  diff only needs to deal with versioned
62
  files.
63
64
* Merge Aaron's merge code.
65
66
* Merge revert patch.
67
68
* Turn on stat cache code, and add optimization about avoiding
69
  dangerous cache entries.
70
71
* mv command?
72
73
* More efficient diff of only selected files.
74
75
* Fix up Inventory objects to represent root object as an entry.
76
77
* Don't convert entire entry from 
78
79
* Extract changes from one revision to the next to a text form
80
  suitable for transmission over email.
81
82
* More test cases.
83
84
* Write a reproducible benchmark, perhaps importing various kernel versions.
85
86
* Change test.sh from Bourne shell into something in pure Python so
87
  that it can be more portable.
88
89
* Directly import diffs!  It seems a bit redundant to need to rescan
90
  the directory to work out what files diff added/deleted/changed when
91
  all the information is there in the diff in the first place.
92
  Getting the exact behaviour for added/deleted subdirectories etc
93
  might be hard.
94
95
  At the very least we could run diffstat over the diff, or perhaps
96
  read the status output from patch.  Just knowing which files might
97
  be modified would be enough to guide the add and commit.
98
  
99
  Given this we might be able to import patches at 1/second or better.
100
101
* Get branch over http.
102
103
* Pull pure updates over http.
104
105
* revfile compression.
106
107
* Split inventory into per-directory files.
108
284 by Martin Pool
- more TODO items
109
* Fix ignore file parsing:
110
111
  - fnmatch is not the same as unix patterns
112
113
  - perhaps add extended globs from rsh/rsync
114
115
  - perhaps a pattern that matches only directories or non-directories
116
117
* Expansion of $Id$ tags within working files.  Perhaps do this in
118
  exports first as a simpler case because then we don't need to deal
119
  with removing the tags on the way back in.
120
282 by Martin Pool
- move all TODO items into ./TODO
121
122
Large things
123
------------
124
125
* Web interface
126
127
* GUI (maybe in Python GTK+?)
128
284 by Martin Pool
- more TODO items
129
* C library interface