Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network/node/routes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sugar_network/node/routes.py')
-rw-r--r--sugar_network/node/routes.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sugar_network/node/routes.py b/sugar_network/node/routes.py
index 80f8893..ebb46a8 100644
--- a/sugar_network/node/routes.py
+++ b/sugar_network/node/routes.py
@@ -511,7 +511,12 @@ def load_bundle(volume, request, bundle_path):
unpack_size = 0
with bundle:
+ changelog = join(bundle.rootdir, 'CHANGELOG')
for arcname in bundle.get_names():
+ if changelog and arcname == changelog:
+ with bundle.extractfile(changelog) as f:
+ impl['notes'] = f.read()
+ changelog = None
unpack_size += bundle.getmember(arcname).size
spec = bundle.get_spec()
context_meta = _load_context_metadata(bundle, spec)