Closed Abuelodelanada closed 9 months ago
Is jhack utils sync only syncing *.py files?
jhack utils sync
*.py
I've modified metadata.yaml but it is not synced:
metadata.yaml
$ jhack utils sync indico/0 watching: /home/ubuntu/repos/indico-operator/src/charm.py /home/ubuntu/repos/indico-operator/src/state.py /home/ubuntu/repos/indico-operator/lib/charms/grafana_k8s/v0/grafana_dashboard.py /home/ubuntu/repos/indico-operator/lib/charms/loki_k8s/v0/loki_push_api.py /home/ubuntu/repos/indico-operator/lib/charms/nginx_ingress_integrator/v0/nginx_route.py /home/ubuntu/repos/indico-operator/lib/charms/observability_libs/v0/juju_topology.py /home/ubuntu/repos/indico-operator/lib/charms/prometheus_k8s/v0/prometheus_scrape.py /home/ubuntu/repos/indico-operator/lib/charms/redis_k8s/v0/redis.py Ctrl+C to interrupt
But the doc says it sync a folder:
$ jhack utils sync --help Usage: jhack utils sync [OPTIONS] TARGET Syncs a local folder to a remote juju unit via juju scp.
Version installed: 0.3.19.1.1
0.3.19.1.1
indeed, it defaults to only .py files. You should be able to override it with -i
Is
jhack utils sync
only syncing*.py
files?I've modified
metadata.yaml
but it is not synced:But the doc says it sync a folder:
Version installed:
0.3.19.1.1