Override of sid distro config breaks mirrors


Quirin Gylstorff
 

On 1/30/23 10:58, Moessbauer, Felix (T CED INW-CN) wrote:
Dear devs,
the distro "debian-sid" and "debian-sid-ports" is currently specified
both in ISAR and in isar-cip-core. While in ISAR standard debian
mirrors are used, cip-core pins that to a specific release on
snapshots.debian.org.
You mean the list files, which override the list files provided by ISAR? Because the only distribution in isar-cip-core is `cip-core-sid-ports`.

This looks to me like a workaround to override DISTRO_APT_SOURCES
from `conf/distro/debian-sid-ports.conf`.

I pushed a fix at https://gitlab.com/cip-project/cip-core/isar-cip-core/-/tree/quirin/sid-lists/

This breaks use-cases where local mirrors shall be used, as these do
not support snapshots. Also, this "infects" other layers that actually
want to use sid "as-is".
Please consider renaming this distro to "cip-<distro>" to get rid of
this ambiguity.
Best regards,
Felix Moessbauer
Siemens AG
Best regards

Quirin


Moessbauer, Felix <felix.moessbauer@...>
 

Dear devs,

the distro "debian-sid" and "debian-sid-ports" is currently specified
both in ISAR and in isar-cip-core. While in ISAR standard debian
mirrors are used, cip-core pins that to a specific release on
snapshots.debian.org.

This breaks use-cases where local mirrors shall be used, as these do
not support snapshots. Also, this "infects" other layers that actually
want to use sid "as-is".

Please consider renaming this distro to "cip-<distro>" to get rid of
this ambiguity.

Best regards,
Felix Moessbauer
Siemens AG


Moessbauer, Felix <felix.moessbauer@...>
 

On Mon, 2023-01-30 at 12:01 +0100, Gylstorff Quirin wrote:


On 1/30/23 10:58, Moessbauer, Felix (T CED INW-CN) wrote:
Dear devs,

the distro "debian-sid" and "debian-sid-ports" is currently
specified
both in ISAR and in isar-cip-core. While in ISAR standard debian
mirrors are used, cip-core pins that to a specific release on
snapshots.debian.org.
You mean the list files, which override the list files provided by
ISAR?
Because the only distribution in isar-cip-core is `cip-core-sid-
ports`.

This looks to me like a workaround to override DISTRO_APT_SOURCES
from `conf/distro/debian-sid-ports.conf`.

I pushed a fix at
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/tree/quirin/sid-lists/
Thanks Quirin. I tested it and can confirm that this solves the issue.

Felix



This breaks use-cases where local mirrors shall be used, as these
do
not support snapshots. Also, this "infects" other layers that
actually
want to use sid "as-is".

Please consider renaming this distro to "cip-<distro>" to get rid
of
this ambiguity.

Best regards,
Felix Moessbauer
Siemens AG
Best regards

Quirin


Jan Kiszka
 

On 31.01.23 10:09, Moessbauer, Felix wrote:
On Mon, 2023-01-30 at 12:01 +0100, Gylstorff Quirin wrote:


On 1/30/23 10:58, Moessbauer, Felix (T CED INW-CN) wrote:
Dear devs,

the distro "debian-sid" and "debian-sid-ports" is currently
specified
both in ISAR and in isar-cip-core. While in ISAR standard debian
mirrors are used, cip-core pins that to a specific release on
snapshots.debian.org.
You mean the list files, which override the list files provided by
ISAR?
Because the only distribution in isar-cip-core is `cip-core-sid-
ports`.

This looks to me like a workaround to override DISTRO_APT_SOURCES
from `conf/distro/debian-sid-ports.conf`.

I pushed a fix at
https://gitlab.com/cip-project/cip-core/isar-cip-core/-/tree/quirin/sid-lists/
Thanks Quirin. I tested it and can confirm that this solves the issue.
Then someone just need to send the patch :)

Jan

--
Siemens AG, Technology
Competence Center Embedded Linux