Log of /lib/python/debian_support.py
Parent Directory
|
Revision Log
Revision
10579 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 2 21:13:06 2008 UTC
(4 years, 5 months ago)
by
fw
File length: 14377 byte(s)
Diff to
previous 8951
lib/python/debian_support.py: Normalize version numbers before comparison
In theory, this allows us to use the data for unstable for volatile
and backports.org. However, more testing is required if this is
indeed effective, and volatile does not actually use the version
number scheme assumed in this change.
Revision
6994 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 17 10:15:30 2007 UTC
(5 years, 7 months ago)
by
fw
File length: 13765 byte(s)
Diff to
previous 5987
* lib/python/debian_support.py: Remove fallback for missing python-apt
These days, we need the APT algorithm, not the one described in
policy. Requiring python-apt leads to a clear error message up front,
instead of an obscure one much later in the process.
Revision
5785 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Sat May 5 08:58:05 2007 UTC
(6 years ago)
by
fw
File length: 16179 byte(s)
Diff to
previous 5635
* lib/python/debian_support.py (PackageFile.re_field):
Field names are not necessarily separated by a space from the
field content.
Revision
4236 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Jun 15 18:17:18 2006 UTC
(6 years, 11 months ago)
by
fw
File length: 16168 byte(s)
Diff to
previous 3049
* lib/python/debian_support.py
(Version): Implement using apt_pkg if APT is available.
(version_compare): Add.
* lib/python/security_db.py
(DB._initFunctions): Directly invoke debian_support.version_compare.
Revision
2071 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 21 15:15:42 2005 UTC
(7 years, 7 months ago)
by
fw
File length: 15065 byte(s)
Diff to
previous 2045
Make (bug_name, package, release) unique in the package_notes table.
This is necessary because otherwise, the version tracking code does
not work right. We do not lose any data by doing this; package status
was already tracked by bug and not by package note.
lib/python/bugs.py (PackageNote.merge, Bug.mergeNotes):
New.
(CANFile.finishBugs, CVEFile.finishBugs, DSAFile.finishBugs):
New. Merge package notes for CAN, CVE and DSA files.
lib/python/security_db.py (DB):
Bump schema version.
(DB.initSchema):
Add the UNIQUE index mentioned above.
lib/python/debian_support.py (mergeAsSets):
New.
(test):
Test cases for mergeAsSets.
Revision
2045 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 19 15:12:37 2005 UTC
(7 years, 8 months ago)
by
fw
File length: 14720 byte(s)
Diff to
previous 1976
Fix bug in the version comparison algorithm.
lib/python/debian_support.py (letterValue):
New global variable.
(Version.__parse_1):
Use it to sort letters before non-letters.
(test):
New test case.
Revision
1951 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 13 14:08:22 2005 UTC
(7 years, 8 months ago)
by
fw
File length: 14145 byte(s)
Diff to
previous 1943
First step towards calculating sets of vulnerable packages. This is
currently directed towards testing (but does not yet process the
secure-testing archive).
A new table is added, so "make clean" is required.
The remaining problem (besides potential bugs in the code) is how to
deal with kernel updates, IOW how to detect them and ignore them.
bin/update-vulnerabilities:
New script, updates the bugs_status table.
lib/python/bugs.py (PackageNote.affects):
Fix all kinds of errors. The code never ran before, it seems. 8-/
(PackageNote.fixedVersion):
Add.
(BugBase.hasTODO):
Add.
(BugReservedCVE, BugRejectedCVE):
Mark as not-for-us.
(FileBase.rawRecords):
Mark all un-annotated bugs after STOP: field as not-for-us.
lib/python/security_db.py (DB.initSchema):
Add table bugs_status.
(DB.finishBugs):
Run to completion even if there are conflicting CAN/CVE entries.
(DB.getVersion, calculateVulnerabilities):
New methods.
(test):
Update.
lib/python/debian_support.py (Version):
Add a type check.
Makefile:
Add stamps/calc-vulns target.
bin/update-packages:
Fix typo in comment.
Revision
1943 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 13 07:45:17 2005 UTC
(7 years, 8 months ago)
by
fw
File length: 14085 byte(s)
Diff to
previous 1939
bin/apt-update-file:
Remove unnecessary import.
lib/python/debian_support.py (listReleases):
Add "sid".
(replaceFile):
Remove temporary file on exception.
(updateFile):
The file constructor raises IOError if the file does not exist.
urllib does not raise a proper exception on 4xx errors.
Handle varying whitespace in SHA1-Current field.
Revision
1939 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 12 20:08:46 2005 UTC
(7 years, 8 months ago)
by
fw
File length: 13343 byte(s)
Diff to
previous 1937
lib/python/debian_support.py:
Add support for downloading package file diffs.
bin/apt-update-file:
Driver script for the new functionality.
(I will use this functionality to implement package database
replication. The goal is to keep a local copy of all the interesting
data, so that we no longer need to consult madison etc.)
Revision
1937 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Sep 12 17:12:08 2005 UTC
(7 years, 8 months ago)
by
fw
File length: 6950 byte(s)
Diff to
previous 1934
lib/python/debian_support.py (ParseError):
Add class.
lib/python/debian_support.py (PackageFile.raiseSyntaxError):o
Raise ParseError instead of SyntaxError.
bin/check-syntax, bin/update-bug-list-db:
Handle the ParseError exception gracefully.
lib/python/bugs.py (CVEFile.matchHeader):
Check parentheses/brackets.
data/CAN/list:
Fix uncovered syntax errors.
Revision
1934 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Added
Mon Sep 12 16:32:23 2005 UTC
(7 years, 8 months ago)
by
fw
File length: 6183 byte(s)
Add list parser written in Python.
"make check" runs a syntax check (no SQLite required). "make all"
updates the SQLite database, and performs cross-list consistency checks.
There is some support for loading Debian Package/Sources files, but this
information is currently not used by the checks.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.