aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Erdmann <dywi@mailerd.de>2012-07-20 18:14:04 +0200
committerAndré Erdmann <dywi@mailerd.de>2012-07-20 18:14:04 +0200
commit34861f2cd5d5db7ca3ba99a8bc62ab5e75bbfd34 (patch)
tree164d60d619f3aefd86c980012a20d88b47b53aed /roverlay.py
parentManifestCreation is broken! (diff)
downloadR_overlay-34861f2cd5d5db7ca3ba99a8bc62ab5e75bbfd34.tar.gz
R_overlay-34861f2cd5d5db7ca3ba99a8bc62ab5e75bbfd34.tar.bz2
R_overlay-34861f2cd5d5db7ca3ba99a8bc62ab5e75bbfd34.zip
incremental overlay writing (#3)
* Ebuilds can now be written incrementally (but without deletion of old ebuilds) * Can now create dependency rules for scanned ebuilds / ebuilds in the overlay * Ebuilds will now only be created if necessary (= does not already exist as file or Manifest is missing). This will later be configurable. geändert: roverlay.py geändert: roverlay/overlay/category.py geändert: roverlay/overlay/creator.py neue Datei: roverlay/overlay/header.py geändert: roverlay/overlay/package.py geändert: roverlay/overlay/root.py geändert: roverlay/packageinfo.py
Diffstat (limited to 'roverlay.py')
-rwxr-xr-xroverlay.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/roverlay.py b/roverlay.py
index ae67d6a..3504fab 100755
--- a/roverlay.py
+++ b/roverlay.py
@@ -221,9 +221,7 @@ def run_overlay_create():
#run_sync()
try:
global overlay
- overlay = OverlayCreator()
- # explicitly allow overlay writing (FIXME: remove that in OverlayCreator)
- overlay.can_write_overlay = OPTION ( 'write_overlay' )
+ overlay = OverlayCreator ( allow_write=OPTION ( 'write_overlay' ) )
repo_list.add_packages ( overlay.add_package )
@@ -259,6 +257,6 @@ if 'create' in actions: run_overlay_create()
if len ( actions ) > len ( actions_done ):
die (
- "Some actions (out of %r) could not be performed!" % actions,
+ "Some actions (out of {!r}) could not be performed!".format ( actions ),
DIE.CMD_LEFTOVER
)