Boris Gallet
cae6e88889
wip
4 days ago
Valentin Lab
30c3b0576c
new: dev: [compose-core] add some more timing in debug mode
2 months ago
Valentin Lab
463d7bfa4c
new: pkg: make ``upstream-versions`` faster thanks to a faster ``docker:tags:fetch``
2 months ago
Valentin Lab
6f33dfff3e
new: [compose-core] make ``compose status`` resolve all cell in parallel
2 months ago
Valentin Lab
233c3c843a
new: [compose-core] improve the help message of ``compose status`` command
2 months ago
Valentin Lab
451e990746
new: [compose-core] add ``--raw|-r`` and ``-0`` raw output and NUL-separated fields support
2 months ago
Valentin Lab
910259e7c3
new: [compose-core] add defaults and ``+`` sign in ``compose status`` fields spec for left/right align
2 months ago
Valentin Lab
af9616658a
fix: pkg: upgrade ``kal-shlib-common`` version to fix ``col-0:normalize:size`` behavior
Without this, ``compose status`` would not center correctly the last
field of each row.
2 months ago
Valentin Lab
d46e9d8a84
new: [compose-core] add ``upstream-version`` field in ``status`` action
2 months ago
Valentin Lab
da3ce73968
new: pkg: add ``docker-tags-fetch`` to docker image
2 months ago
Valentin Lab
cb68778314
fix: [compose-core] make ``run`` also compute global all relation
2 months ago
Valentin Lab
4e450f062d
fix: [compose-core] make charm action also compute relation subset
2 months ago
Valentin Lab
455181e1b9
fix: [compose-core] add missing ``RELATION_DATA_FILE`` var for indirect action
2 months ago
Valentin Lab
9480da50c9
new: [compose-core] move cache files to global cache for increased performance
2 months ago
Valentin Lab
662d3f778b
new: [compose-core] add ``status`` global action
2 months ago
Valentin Lab
69ed33afcb
new: [compose-core] add service state tracking
2 months ago
Valentin Lab
aea2344b56
fix: [compose-core] make ``stub`` services un-summonable
2 months ago
Valentin Lab
e9f3a7fcee
fix: [compose-core] improve support of ``run`` action
It Should not anymore resolve relations differently in inner ``run``
2 months ago
Valentin Lab
c01460dffd
new: dev: [compose-core] introduce ``is_docker_compose_action_multi_service`` variable for convenience
2 months ago
Valentin Lab
8a08e36dbf
fix: dev: [compose-core] change minor debug statement !minor
2 months ago
Valentin Lab
f57d6b5d12
new: dev: [compose-core] introduce ``err-d`` to display location of errors in debug mode
2 months ago
Valentin Lab
2e2267716a
fix: dev: [compose-core] use ``hash_get`` from ``kal-shlib-common``
2 months ago
Valentin Lab
94acd713cc
fix: [compose-core] prevent hard to debug issue with output leaking out
2 months ago
Valentin Lab
810f0c6049
new: [compose-core] add code improvements !minor
2 months ago
Valentin Lab
f71e3ec42f
fix: dev: [compose-core] better capture error in ``get_service_relation``
2 months ago
Valentin Lab
af246b1ad6
chg: dev: [compose,compose-core] rename ``ALL_RELATIONS`` to ``GLOBAL_ALL_RELATIONS``
We aim at making this variable global to a ``compose up`` session.
2 months ago
Valentin Lab
fe9786dd25
new: [compose-core] upgrade version of generated ``docker-compose.yml`` to ``2.1``
10 months ago
Valentin Lab
8afbb111a8
new: update to docker-client version ``25.0.2``
10 months ago
Valentin Lab
ae6b1299f2
fix: [compose-core] make image local cache also fetched before looking on ``$COMPOSE_DOCKER_REGISTRY``
10 months ago
Valentin Lab
9655a98c41
fix: [compose-core] add ``build`` support again, after the cache introduced a regression
10 months ago
Valentin Lab
5b50f960bd
new: dev: [compose-core] refactoring out the ``if`` condition
10 months ago
Valentin Lab
c50f6d4c3c
new: [compose-core] do not ignore ``get_compose_relations`` errors
10 months ago
Valentin Lab
838323f18e
new: [compose-core] move partial docker-compose to a file
10 months ago
Valentin Lab
259649710a
new: [compose] check remnant directories more seriously
10 months ago
Valentin Lab
544923bf7d
fix: dev: [compose] typos !minor
10 months ago
Valentin Lab
63ee0cdf0e
new: [compose] propagate ``$PROJECT_NAME``
10 months ago
Valentin Lab
80fbf42b07
new: [compose-core] cache images on ``$COMPOSE_DOCKER_REGISTRY``
10 months ago
Valentin Lab
8ea4310945
new: dev: [compose-core] refactor ``service_base_docker_image()``
10 months ago
Valentin Lab
9dbc151f78
fix: dev: [compose-core] declare all local variables in ``get_relation_data_file()``
10 months ago
Valentin Lab
83108d4dc1
fix: [compose-core] improve protection of relation data file !minor
Fixes a timing issue where the data in the relation file could be read.
10 months ago
Valentin Lab
1a559ff7fb
fix: [compose-core] don't ignore relation constraint if providers are more than one
10 months ago
Valentin Lab
0c4868ee5c
fix: [compose-core] exit after errors in relation config retrieval
10 months ago
Valentin Lab
0db85daa48
new: [compose-core] provide full set of ``p-err`` and ``read-0-err`` for charms
10 months ago
Valentin Lab
8c0d97facb
new: [compose-core] provide ``get_service_incoming_relations`` to list services linked to a service
10 months ago
Valentin Lab
8b71a39e3b
new: replace ``shyaml`` python implementation with rust implementation
10 months ago
Valentin Lab
3a3a102459
fix: [compose-core] prevent re-building images already present
Here, subordinate charms requested images using their names and not
their master's charm name. This would trigger builds of images already
present.
10 months ago
Valentin Lab
9313ca1432
new: [compose-core] ensure compatibility with new shyaml rust implementation
11 months ago
Valentin Lab
2ab84d6692
fix: [compose-core] make special ``no-hooks`` keyword work properly in actions
11 months ago
Valentin Lab
78d3cb4da1
new: [compose-core] prevent sub compose command to try to solve again relation constraints
This is because sub-compose command are often in a subset of the
services and as a consequence they do not share the same environment
and might solve the constraints differently.
11 months ago
Valentin Lab
a9b2c33f96
fix: dev: [compose] avoid unnecessary command ``cat``
11 months ago