Merge lp:~nshepperd/apt-zeroconf/parse-hacking into lp:apt-zeroconf
Proposed by
nshepperd
Status: | Needs review |
---|---|
Proposed branch: | lp:~nshepperd/apt-zeroconf/parse-hacking |
Merge into: | lp:apt-zeroconf |
Diff against target: | None lines |
To merge this branch: | bzr merge lp:~nshepperd/apt-zeroconf/parse-hacking |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Apt Zeroconf Team | Pending | ||
Review via email: mp+10888@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 128. By nshepperd
-
Merge back from trunk.
- 127. By nshepperd
-
Remove unused 'V3' epoch pattern regular expression.
- 126. By nshepperd
-
Add test for downloading a deb with an epoch, which the parse.py changes
probably broke, and add fixes so that test passes. - 125. By nshepperd
-
Major disruption of parse.py to simplify extremely.
I fixed a bug preventing apt-zeroconf from downloading locally packages with an epoch in the version. The problem involved http unquoting ("%3a" -> ":") of package names in the list, and requoting, which changed the quoted part to uppercase. I felt it was unsafe to do this sort of manipulation in the package list anyway, so I removed that quote/unquoting.
I also changed a bit of the way the list parser works, mostly because I think it makes it more readable. However that is subjective, of course.
I'd like some feedback on these changes, please, and if everyone thinks they're okay, I'll merge them.