~launchpad-pqm/launchpad/devel

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-11-24 18:50:58 UTC
  • mfrom: (11962.3.9 safe-blueprints-model)
  • Revision ID: launchpad@pqm.canonical.com-20101124185058-a8oz0qy5syq17r3j
[r=jelmer][ui=none][bug=680875] Move some Blueprint code from views
        to models in preparation for exposing Blueprints on the API.
        - Get rid of propose_goal_with_automatic_approval by merging it with
        proposeGoal(). This required refactoring the code of the
        security adapter into a model method that is then used in
        proposeGoal() and the security adapter
        - Refactor retarget() to take just a target instead of a product or a
        distribution.
        - Start splitting ISpecification into several interfaces where each
        will be protected with a different permission.
        - Consolidate validation of blueprint retargeting into a validateMove()
        method and use that all around.
Filename Latest Rev Last Changed Committer Comment Size
..
Makefile 10637.3.3 14 years ago Guilherme Salgado Get rid of PYTHON_VERSION from all Makefiles and u 823 bytes Diff Download File