Bug 9647 - Refactor the update script
Summary: Refactor the update script
Status: RESOLVED FIXED
Alias: None
Product: Layer Index
Classification: Yocto Project Subprojects
Component: Layer Index (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.2
Assignee: Paul Eggleton
QA Contact: Libertad
URL:
Whiteboard:
Depends on: 9704
Blocks:
  Show dependency tree
 
Reported: 2016-05-17 16:18 UTC by Belen Barros Pena
Modified: 2016-11-03 07:10 UTC (History)
1 user (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Belen Barros Pena 2016-05-17 16:18:15 UTC
Refactor the update script so that there are two scripts - one internal one
that does the update for one layer at a time, and another that does the git
fetching and runs the internal script for each layer. 

This will eliminate the memory leaks and other issues we've had as the index grows once and for all, as well as making it so we don't have to edit the script for every YP release.
Comment 1 Paul Eggleton 2016-07-12 02:27:40 UTC
This has now been implemented. Adding a new release is now as simple as adding a branch in the admin interface - no need to modify anything on the backend.