Skip to content

Conversation

@deosrc
Copy link

@deosrc deosrc commented Feb 3, 2025

The decision on format to use is determined by the visual_studio_code_use_deb822_format variable. I'm not aware of a way to auto-detect the preferred format.

I've tried to keep this consistent with the style of other areas, so the forking logic (i.e. decision of deb822 or oneline format) uses include_tasks to "skipped" tasks. This means the original apt source setup needed extracting to a separate file.

Rather than re-use the apt key setup, I've jsut used the built-in functionality of the deb822_repository task. The only difference I believe would be the filename.

I'm not sure how to write molecule tests so haven't been able to add those, but have tested using check mode for both, and run mode for deb822.

Resolves #259

@CLAassistant
Copy link

CLAassistant commented Feb 3, 2025

CLA assistant check
All committers have signed the CLA.

@deosrc deosrc marked this pull request as ready for review February 3, 2025 19:51
@MaKaNu
Copy link

MaKaNu commented Oct 9, 2025

#264 is working on the same topic. There are still a few quirks if migrating from one to the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Support deb822 apt format

3 participants