/[secure-testing]/bin/update-db
ViewVC logotype

Log of /bin/update-db

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (annotate)
Sticky Revision:

Revision 3053 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 15 12:46:09 2005 UTC (7 years, 5 months ago) by fw
File length: 1780 byte(s)
Diff to previous 3051
bin/update-db:
  Be less verbose.

Revision 3051 - (view) (download) (annotate) - [select for diffs]
Modified Thu Dec 15 11:37:40 2005 UTC (7 years, 5 months ago) by fw
File length: 1794 byte(s)
Diff to previous 2155
lib/python/security_db.py (DB):
  Bump schema version.
(DB.initSchema):
  Add debsecan_data table.
(DB.calculateDebsecan, DB.getDebsecan):
  New methods.

bin/update-db:
  Invoke calculateDebsecan.

bin/tracker_service.py (TrackerService):
  Add support for debsecan/* pages.
(TrackerService.page_debsecan):
  New method.

Revision 2155 - (view) (download) (annotate) - [select for diffs]
Modified Sat Sep 24 15:35:43 2005 UTC (7 years, 7 months ago) by fw
File length: 1699 byte(s)
Diff to previous 2088
bin/update-db:
  Improve reporting of syntax errors.

Revision 2088 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 22 12:00:31 2005 UTC (7 years, 7 months ago) by fw
File length: 1519 byte(s)
Diff to previous 2000
lib/python/security_db.py (DB.initSchema):
  Add removed_packages table.
(DB.readRemovedPackages, DB.getUnknownPackages):
  New.

bin/update-db:
  Read removed packages.

data/packages/removed-packages:
  New file.

Revision 2000 - (view) (download) (annotate) - [select for diffs]
Modified Thu Sep 15 15:00:32 2005 UTC (7 years, 8 months ago) by fw
File length: 1433 byte(s)
Diff to previous 1994
Commit early if we are creating a new file.  This means that the work is
not wasted if an error occurs later.

Revision 1994 - (view) (download) (annotate) - [select for diffs]
Added Thu Sep 15 10:11:44 2005 UTC (7 years, 8 months ago) by fw
File length: 1329 byte(s)
Implement bin/update-db, to update the database with a single command.
Most processing is skipped if no input files have been modified.

lib/python/security_db.py (SchemaMismatch):
  New exception.
(DB):
  Handle schema versioning.
(DB.initSchema):
  Add subrelease column to source_packages and binary_packages.
  Set user_version.
  Remove stray commit.
(DB._parseFile):
  Return information to the caller if the file is unchanged.
(DB.readPackages):
  Move deletion code to callees.
(DB._readSourcePackages, DB._readBinaryPackages):
  Implement incremental updates.  Add subrelease.
  Need to invoke _clearVersions if any changes are made.
(DB.deleteBugs, DB.finishBugs):
  Moved into readBugs.
(DB.insertBugs):
  Rename ...
(DB.readBugs):
  ... to this one.  Implement incremental updates.
  Invoke _clearVersions if necessary.
(DB._clearVersions):
  Add.
(DB._updateVersions):
  Skip processing if _clearVersions has not been invoked.
(DB.getVersion, DB.releaseContainsPackage, DB._synthesizeReleases):
  Obsolete, remove.
(test):
  Update.

lib/python/bugs.py (CANFile, CVEFile):
  Split into two classes, which handle the differences between the two
  files.

bin/check-syntax:
  Update accordingly.

bin/update-db:
  New database update script.  Implements incremental updates.

Makefile:
  Remove references to bin/update-packages.  Simplify drastically.

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.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5