summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* NFUs: 31; adjust debian_support to use hashlibKees Cook2009-03-271-2/+2
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@11483 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py: create the oldstable status viewFlorian Weimer2009-02-151-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@11219 e39458fd-73e7-0310-bf30-c45bca0a0e42
* more occurences of etch,lenny,squeezeThijs Kinkhorst2009-02-143-13/+18
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@11217 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/debian_support.py: Handle failure to download patchesFlorian Weimer2008-12-121-2/+5
| | | | | | If the data is inconsistent, use a non-diffed download. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@10680 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/debian_support.py: Normalize version numbers before comparisonFlorian Weimer2008-12-021-4/+16
| | | | | | | | | 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. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@10579 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/web_support.py: Include server port in generated URLsFlorian Weimer2008-12-011-0/+3
| | | | | | This allows us to run the service on a non-default port. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@10567 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/web_support.py: one more typing fix for Python 2.5Florian Weimer2008-12-011-2/+4
| | | | | | We suddenly have to deal with additional Unicode strings. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@10566 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/bugs.py: Replace integer type asserts to with int conversionFlorian Weimer2008-11-231-3/+8
| | | | | | | The reason is that even in Python 2.5, numeric objects fluctuate between int and long types. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@10465 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py (DB.getEffectiveVersion): New methodFlorian Weimer2008-06-171-1/+56
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9092 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/dist_config.py: New fileFlorian Weimer2008-06-171-0/+75
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9091 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py: Do not detect binary package notesFlorian Weimer2008-06-171-63/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@9090 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/debian_support.py: Fix PseudoEnum.__repr__ methodFlorian Weimer2008-05-311-1/+3
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8951 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py: Fix missing singleton tupleFlorian Weimer2008-05-271-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8909 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Remove oldstable from the trackerFlorian Weimer2008-05-211-4/+3
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@8857 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Rejected CVEs with package notes are no longer an errorFlorian Weimer2007-12-251-10/+5
| | | | | | | | | | | | Without this change, an update from the CVE database may result in failed consistency checks, which is not desirable. In a later commit, the web front end will be extended to list such CVE entries. This will provide interested parties with a means to perform cleanups. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@7720 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Fix typo in error messageFlorian Weimer2007-12-251-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@7719 e39458fd-73e7-0310-bf30-c45bca0a0e42
* CVE no longer uses separate names for candidatesFlorian Weimer2007-12-251-3/+1
| | | | | | | This means that we can simplify bugs.BugBase.cveStatus a bit. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@7718 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Remove unused methodsFlorian Weimer2007-12-251-79/+0
| | | | | | | | | | | | | | The following methods are removed: bugs.PackageNote.affects bugs.PackageNote.affectsKernel bugs.PackageNote.fixedVersion bugs.PackageNote.sourceStatus bugs.BugBase.hasTODO bugs.BugBase.isKernelOnly git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@7715 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/debian_support.py: Remove fallback for missing python-aptFlorian Weimer2007-10-171-102/+25
| | | | | | | | | 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. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@6994 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/nvd.py:Florian Weimer2007-06-261-1/+6
| | | | | | | | Make runnable as a script, for testing purposes. (Parser.characters): Keep whole node string, not just the last part. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@6061 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/bugs.py (PackageNote, BugBase, Bug):Florian Weimer2007-06-101-3/+3
| | | | | | Losen type checks for string arguments, to support Unicode strings. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5989 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/security_db.py (DB._parseFile):Florian Weimer2007-06-101-1/+1
| | | | | | Store pickled data as blob in the SQLite database. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5988 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/debian_support.py (Version):Florian Weimer2007-06-101-1/+5
| | | | | | Support Unicode strings by converting them to UTF-8. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5987 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/security_db.py (DB.__del__):Florian Weimer2007-06-101-0/+3
| | | | | | Add destructor to close the SQLite database object explicitly. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5986 e39458fd-73e7-0310-bf30-c45bca0a0e42
* make tracker accept May as a month name for DTSAsStefan Fritsch2007-05-171-1/+1
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5861 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/debian_support.py (PackageFile.re_field):Florian Weimer2007-05-051-1/+1
| | | | | | | | Field names are not necessarily separated by a space from the field content. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5785 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Use a separate file, data/packages/removed-packages, to list sourceFlorian Weimer2007-04-181-2/+36
| | | | | | | | | | | | packages which are no longer present in the archive. * lib/python/security_db.py (DB.readBugs.do_parse): Ignore duplicate packages. (DB.readBugs): Treat removed-packages as yet another input file. (DB.readRemovedPackages): Resurrect method. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5668 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/security_db.py (DB.calculateDebsecan):Florian Weimer2007-04-181-1/+1
| | | | | | | No longer create version 0 debsecan data for woody. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5665 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/security_db.py (DB._initViews):Florian Weimer2007-04-091-6/+6
| | | | | | | | Adjust SQL for the testing_status view to what's actually in the database. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5639 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Missing change for etch releaseFlorian Weimer2007-04-081-1/+1
| | | | | | | A manual schema migration is required here. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5637 e39458fd-73e7-0310-bf30-c45bca0a0e42
* First round of adjustments for the etch releaseFlorian Weimer2007-04-082-13/+14
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5635 e39458fd-73e7-0310-bf30-c45bca0a0e42
* After the release of etch, the DTSA file will contain historicFlorian Weimer2007-04-061-3/+2
| | | | | | | | | | | | | | | | entries for etch, and new ones for lenny. Our previous automatic tagging of all entries as etch does not work anymore. Hence, we make the release indicator explicit. * lib/python/bugs.py (DTSAFile.finishBug): Verify that a release has been specified. No longer default to "etch". * data/DTSA/list Mark all entries as etch. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5632 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Treat packages marked as <removed> as source packages.Florian Weimer2007-02-182-28/+19
| | | | | | | | | | | | | | | | | This allows us to track firefox issues again. * lib/python/bugs.py (FileBase): Keep track of removed packages. * lib/python/security_db.py (DB.readBugs): Populate removed_packages table using <removed> entries. (DB.readRemovedPackages): Remove method. * bin/update-db: Do not call readRemovedPackages anymore. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5470 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Various changes to switch from FAKE- to TEMP- prefixesFlorian Weimer2006-12-102-9/+9
| | | | | | | | (Yeah, less than stellar engineering that this isn't concentrated in a single place.) git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5103 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py (DB.getBugsForBinaryPackage,Florian Weimer2006-12-101-2/+6
| | | | | | | | DB.getBugsForSourcePackage): Ignore bugs in woody. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5101 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Add a no-dsa filter to the "testing" web pageFlorian Weimer2006-12-101-0/+4
| | | | | | | | | | | lib/python/security_db.py (DB._initViews): Add no_dsa column to the testing_status table. bin/tracker_service.py (TrackerService.page_status_release_testing): Use it to implement the filter in the same way as for "stable". git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@5100 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/bugs.py (FileBase.re_package_version)Florian Weimer2006-09-301-1/+1
| | | | | | | Yet another fix for ~ versions. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4782 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/security_db.py (DB._parseFile):Florian Weimer2006-09-271-1/+1
| | | | | | | Relax regexp for source versions, to support the new ~ syntax. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4773 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Do not enforce version ordering between different suites.Florian Weimer2006-09-171-18/+21
| | | | | | | The archive currently violates this constraint. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4738 e39458fd-73e7-0310-bf30-c45bca0a0e42
* allow ~ in versionsStefan Fritsch2006-08-091-2/+2
| | | | git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4534 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/debian_support.pyFlorian Weimer2006-06-152-71/+100
| | | | | | | | | | | (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. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4236 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/bugs.py (FileBase.__iter__):Florian Weimer2006-06-021-1/+1
| | | | | | | Fix name generation for bugs involving <no-dsa> notes. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4110 e39458fd-73e7-0310-bf30-c45bca0a0e42
* * lib/python/security_db.py (DB.getTODOs):Florian Weimer2006-05-201-6/+16
| | | | | | | | | | Add hide_check parameter. * bin/tracker_service.py (TrackerService.page_status_todo): Use it. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@4005 e39458fd-73e7-0310-bf30-c45bca0a0e42
* Add support for no-dsa handling to the database. This is stillFlorian Weimer2006-04-232-14/+76
| | | | | | | | | | | | | | | | | | | | preliminary. lib/python/bugs.py (PackageNoteNoDSA): New class. (BugBase.__init__): Losen assert to include PackageNoteNoDSA. (FileBase.__iter__): Create PackageNoteNoDSA objects. lib/python/security_db.py (DB): Bump schema version to 21. Add package_notes_nodsa table. Add schema migration code. (DB.readBugs): Clear package_notes_nodsa table. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3858 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/web_support.py (URLFactory.updateParamsDict):Florian Weimer2006-04-231-1/+1
| | | | | | | Fix. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3857 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/web_support.py (URLFactory.updateParamsDict):Florian Weimer2006-04-231-1/+3
| | | | | | | | | New method. (URLFactory.updateParams): Implement using updateParamsDict. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3856 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/web_support.py (make_numbered_list):Florian Weimer2006-03-111-0/+9
| | | | | | | New function. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3593 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/bugs.py (FileBase.__iter__):Florian Weimer2006-01-041-2/+12
| | | | | | | Handle <no-dsa>, by treating it as <unfixed> for now. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3228 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py (DB.calculateDebsecan1):Florian Weimer2005-12-291-2/+7
| | | | | | | | | Record versions of source packages from binary packages, too, to include versions from binary-only NMUs. This is expected to fix Debian bug #345158, reported against debsecan. git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3179 e39458fd-73e7-0310-bf30-c45bca0a0e42
* lib/python/security_db.py (DB.calculateDebsecan1):Florian Weimer2005-12-241-3/+5
| | | | | | | | | Only include CVE-* and FAKE-* vulnerabilities in version 1 data. (The other data is redundant anyway, and no unstable vulnerability status information is available.) git-svn-id: svn+ssh://svn.debian.org/svn/secure-testing@3147 e39458fd-73e7-0310-bf30-c45bca0a0e42

© 2014-2024 Faster IT GmbH | imprint | privacy policy