Part of lp.registry.scripts.populate_distroseriesdiff View In Hierarchy
DistroSeriesDifference
for pre-existing differences.Method | add_my_options | Register options specific to this script. |
Method | getDistroSeries | Return the DistroSeries that are to be processed. |
Method | processDistroSeries | Generate DistroSeriesDifference`s for `distroseries . |
Method | commit | Commit (or if doing a dry run, abort instead). |
Method | listDerivedSeries | Log all DistroSeries that the --all option would cover. |
Method | checkOptions | Verify command-line options. |
Method | main | Do the script's work. |
Method | update | Call DistroSeriesDifference.update() where appropriate. |
Inherited from LaunchpadScript:
Method | __init__ | Construct new LaunchpadScript. |
Method | handle_options | Undocumented |
Method | name | Enable subclasses to override with command-line arguments. |
Method | dbuser | Enable subclasses to override with command-line arguments. |
Method | login | Super-convenience method that avoids the import. |
Method | lockfilename | Return lockfilename. |
Method | lockfilepath | Undocumented |
Method | setup_lock | Create lockfile. |
Method | lock_or_die | Attempt to lock, and sys.exit(1) if the lock's already taken. |
Method | unlock | Release the lock. Do this before going home. |
Method | run | Actually run the script, executing zcml and initZopeless. |
Method | record_activity | Hook to record script activity. |
Method | lock_and_run | Call lock_or_die(), and then run() the script. |
Method | _init_zca | Initialize the ZCA, this can be overridden for testing purposes. |
Method | _init_db | Initialize the database transaction. |
DistroSeriesDifference`s for `distroseries
.DistroSeriesDifference.update()
where appropriate.
The DistroSeriesDifference
records we create don't have their
details filled out, such as base version or their diffs.
Only instances where the source package is published in both the parent series and the derived series need to have this done.