2f40657fa130bb55376e450268600bf5b050dad6
[stgit] / TODO
1 The TODO list before 1.0:
2
3 - more regression tests
4 - stg help should probably pipe through the $PAGER
5 - fix StGIT to run correctly in subdirectories
6 - use a separate index for some commands (refresh, fold etc.) so that
7 files already added/removed are not automatically checked in
8 - debian package support
9 - man page
10 - document the workflow on the StGIT wiki
11 - maybe a separate undo command rather than passing a --undo option to
12 push and refresh
13 - use same configuration file as GIT
14 - release 1.0
15
16
17 The future, when time allows or if someone else does them:
18
19 - patch dependency tracking
20 - multiple heads in a patch - useful for forking a patch,
21 synchronising with other patches (diff format or in other
22 repositories)
23 - "pull" argument should default to a sane value, "origin" is wrong in
24 many cases
25 - commit directly to a patch which is not top
26 - patch synchronisation between between branches (as some people,
27 including me have the same patches based on different branches and
28 they have scripts for moving the changes in one to the others)
29 - numeric shortcuts for naming patches near top (eg. +1, -2)
30 - (config?) parameter for number of patches included by "series -s"
31
32 Bugs:
33
34 - cannot branch off arbitrary branch when current branch not under
35 stgit control:
36 |$ stg branch
37 |bar
38 |$ stg branch -c foo2 foo
39 |stg branch: Branch "bar" not initialised
40
41 - patch created with empty description ("stg new" and quit editor
42 without saving) confuse "series -d":
43 |$ stg series -ds
44 |+ p5 | p5
45 |Traceback (most recent call last):
46 | File "/usr/bin/stg", line 43, in ?
47 | main()
48 | File "/var/lib/python-support/python2.4/stgit/main.py", line 261, in main
49 | command.func(parser, options, args)
50 | File "/var/lib/python-support/python2.4/stgit/commands/series.py", line 107, in func
51 | __print_patch(applied[-1], '> ', '0>', max_len, options)
52 | File "/var/lib/python-support/python2.4/stgit/commands/series.py", line 63, in __print_patch
53 | print prefix + patch.ljust(length) + ' | ' + __get_description(patch)
54 | File "/var/lib/python-support/python2.4/stgit/commands/series.py", line 55, in __get_description
55 | descr = p.get_description().strip()
56 |AttributeError: 'NoneType' object has no attribute 'strip'
57 |dwitch@gandelf:/export/work/yann/git/foo/a$ stg series
58 |+ p5
59 |> y
60 |$ cat .git/patches/master/patches/y/description
61 |cat: .git/patches/master/patches/y/description: No such file or directory