Skip to content

Add support for deb822 apt sources format#260

Open
deosrc wants to merge 2 commits into
gantsign:masterfrom
deosrc:feature/deb822-apt-format
Open

Add support for deb822 apt sources format#260
deosrc wants to merge 2 commits into
gantsign:masterfrom
deosrc:feature/deb822-apt-format

Conversation

@deosrc

@deosrc deosrc commented Feb 3, 2025

Copy link
Copy Markdown

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

CLAassistant commented Feb 3, 2025

Copy link
Copy Markdown

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

MaKaNu commented Oct 9, 2025

Copy link
Copy Markdown

#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