~corey.bryant/charm-helpers/drop-symlinks

« back to all changes in this revision

Viewing changes to scripts/update-revno

  • Committer: Tim Van Steenburgh
  • Date: 2015-05-20 20:10:42 UTC
  • mfrom: (375.1.2 charm-helpers)
  • Revision ID: tim.van.steenburgh@canonical.com-20150520201042-pbrh7o2rrowf43lb
[johnsca] Fix issues with provide_data in services framework

  * Providing data is gated on data being complete, with no option for sending partial data (necessary for two-way communication)

  * Providing data is gated on current hook (no way to, e.g., send new data out in response to a config-changed hook)

  * Providing data happens before data_ready with no way of telling if data_ready was triggered

I also fixed an issue with update-revno where the generated version.py was failing lint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    REVNO="${REVNO}+"
7
7
fi
8
8
cat << EOF > charmhelpers/version.py
9
 
CHARMHELPERS_VERSION='${VERSION}'
10
 
CHARMHELPERS_BZRREVNO='${REVNO}'
 
9
CHARMHELPERS_VERSION = '${VERSION}'
 
10
CHARMHELPERS_BZRREVNO = '${REVNO}'
11
11
EOF