github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/worker/charmrevision/doc.go (about) 1 // Copyright 2023 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 // Package charmrevision defines the charm revision updater worker. This worker 5 // is responsible for polling Charmhub every 24 hours to check if there are new 6 // revisions available of any repository charm deployed in the model. If so, it 7 // will put a document in the Juju database, so that the next time the user runs 8 // `juju status`, they can see that there is an update available. This worker 9 // also sends anonymised usage metrics to Charmhub when it polls. 10 // 11 // This worker doesn't contain much business logic - most of the work is 12 // delegated to the facade call. 13 package charmrevision