Created by Edin S and last modified
Get this branch:
bzr branch lp:~exsdev/landscape-client-charm/juju-app-annotator
Only Edin S can upload to this branch. If you are Edin S please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Edin S

Recent revisions

75. By Edin S

Add hooks for deploying Landscape annotator scripts (and supporting files)

74. By Edin S

Add Landscape annotator tests

73. By Edin S

Add script and supporting files for registering juju apps as Landscape annotations

A few notes about the design choices:
1. The script is run via a cronjob
The alternative (which was attempted previously) was to run register
annotation code whenever charms were deployed/removed. The issue with
this design is that removing other subordinate charms (e.g. filebeat)
did not trigger any code in this charm (e.g. config-changed, or
update-status) to ensure frequent updates of annotations.

2. Annotation deployment status (e.g. deployed/removed) are tracked
via annotation values: deployed={true,false}.
This is required to keep track of which applications have been
removed. While annotations are registered by creating a file in
annotations.d, removing the same file does not remove the
annotation. As such annotations are always kept around, but their
values/contents are changed (e.g. deployed=true ->
deployed=false). The accompanying landscape-tagger code then
adds/removes the annotations as tags on landscape-server.

72. By Simon Poirier

Add showing charm source version/commit in juju status output

71. By Simon Poirier

Support for focal

70. By Simon Poirier

Update icon per lp#1686721

69. By Simon Poirier

Merge sync-charmhelpers-and-keys [f=1834223] [r=roadmr,landscape-builder] [a=Simon Poirier]
Sync charmhelpers to avoid key errors on refresh.

68. By Adam Collard

Add install_sources and install_keys support to landscape-client charm

67. By Simon Poirier

Handle py2 and py3 by opening a file in wb mode.

66. By Simon Poirier

Merge 1750668_bionic_py3_support [f=1750668] [r=chad.smith,landscape-builder] [a=Simon Poirier]
Wrap hooks hooks to run on version used by landscape-client and correct a couple imports which changed.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.