• Joined on 2021-11-20
ungleich-gitea commented on issue ungleich-public/cdist#92 2021-11-20 15:37:58 +00:00
__block shouldn't append, but preserve position in file

ugh, time flies.

with introduction of python types, I think there's no point trying to fix __block now and do it when reimplementing this type in python.

(to everyone else reading this: python…

ungleich-gitea commented on issue ungleich-public/cdist#92 2021-11-20 15:37:57 +00:00
__block shouldn't append, but preserve position in file

@ander Ack. I will close it. When you have something for implementation in python then we can discuss and add it to https://code.ungleich.ch/ungleich-public/cdist/tree/beta.

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:54 +00:00
how to deprecate types?

changed the description

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:53 +00:00
how to deprecate types?

@ander @nico How about adding deprecated type marker? On such type usage cdist logs warning line. And after some time we remove the type.

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:52 +00:00
how to deprecate types?

Regarding some type parameter, type's implementation is responsible for deprecation warning on deprecated parameter usage.

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:50 +00:00
how to deprecate types?

Easy solution in general: output warning to STDERR. Remove in the next or overnext major version.

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:49 +00:00
how to deprecate types?

Yes, that is even better, output WARN in type code and then remove it, no need for core changes. I like it :)

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:48 +00:00
how to deprecate types?

@nico But, with default saving output streams, type stderr output won't be explicitly visible.

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:46 +00:00
how to deprecate types?

@steven Do you perhaps have a better idea?

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:45 +00:00
how to deprecate types?

assigned to @poljakowski

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:44 +00:00
how to deprecate types?

mentioned in merge request !783

ungleich-gitea commented on issue ungleich-public/cdist#91 2021-11-20 15:37:41 +00:00
how to deprecate types?

closed

ungleich-gitea commented on issue ungleich-public/cdist#90 2021-11-20 15:37:39 +00:00
Make install a first class citizen

@nico You mean unit test cases? How do we validate if image works?

ungleich-gitea commented on issue ungleich-public/cdist#90 2021-11-20 15:37:38 +00:00
Make install a first class citizen

Not so much into unit tests here, but more integration tests.

I'm fine with some make targets, like make test, which then calls test-preos, test-config etc.

ungleich-gitea commented on issue ungleich-public/cdist#90 2021-11-20 15:37:37 +00:00
Make install a first class citizen

unassigned @poljakowski

ungleich-gitea commented on issue ungleich-public/cdist#89 2021-11-20 15:37:35 +00:00
beta branch: add alpine preos

unassigned @poljakowski

ungleich-gitea commented on issue ungleich-public/cdist#88 2021-11-20 15:37:34 +00:00
question: what am I doing wrong?

@ander Interesting. Currently trying to debug it and not getting it.