File: TODO.txt

package info (click to toggle)
python-setuptools-git 1.2-3
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 140 kB
  • sloc: python: 492; makefile: 25
file content (21 lines) | stat: -rw-r--r-- 744 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TODO
----

* Git thinks that filenames are bytestreams, not character sequences.
  http://article.gmane.org/gmane.comp.version-control.git/122860

* Git can not work across different encodings, and admits as much.
  Then again Subversion can't either.

* Our only hope is to ask Git for bytestreams and apply some heuristics
  as to the encoding and composition used.

* ATM, setuptools-git returns files by their OS path, not the POSIX
  path that is returned by Git. It also resolves symbolic links within
  the same repository.

* We might get away with passing along the bytestreams in Python 2,
  but in Python 3 we must return Unicode.

* For passing through non-UTF-8 filenames under Python 3, use the
  'surrogateescape' error handler.