Ticket #10 (closed enhancement: fixed)

Opened 3 years ago

Last modified 5 months ago

Reduce update overhead during install and commit operations

Reported by: blee Owned by: confman-developers@…
Priority: minor Milestone: confman-1.9.4
Component: confman Version: 1.7.2
Keywords: Cc:

Description

confman 'install' and 'commit' operations generate significant overhead updating the entire working copy (including modules that do not pertain to the host). This does not scale well when there are a large number of modules in the repository that are not included in the host's recipe.

One way to reduce this overhead is to only update modules included in the host's recipe. Naturally, the recipe should be updated before it is examined.

Change History

comment:1 Changed 19 months ago by joshu

(In [511]) Adds an $UPDATE_RELEVANT_ONLY option to confman.conf that updates only
recipe-relevant files during commit/install.

See #10

comment:2 Changed 18 months ago by joshu

(In [512]) Changed 'confman update' so that it no longer has the (undocumented) feature of
passing any arguments on to 'svn up' wholesale. After discussion with ccowart,
we determined that -r is really the only argument that needs to be passed to
'svn update'.

'confman update' now takes an optional argument of a recipe name; if no recipe
name is supplied, the default behavior is to update the entire repository. If
$UPDATE_RELEVANT_ONLY is set to true, however, the default behavior is the
equivalent of 'confman update $RECIPE_NAME', and a full repo update can be
achieved with 'confman update -a'. I also updated the documentation and manpages
to reflect these changes.

See #10

comment:3 Changed 12 months ago by joshu

(In [519]) Addresses blee's worries about a race condition in confman updates by specifying
a revision using the -r flag for svn.

See #10.

comment:4 Changed 5 months ago by blee

  • Owner set to confman-developers@…
  • Status changed from new to assigned
  • Milestone changed from confman-3.0 to confman-1.9.4

comment:5 Changed 5 months ago by blee

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [565]) Merge fix for #10 into confman-1.9.

Closes #10

Note: See TracTickets for help on using tickets.