Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure filtering and add new filters #744

Merged
merged 4 commits into from
Jul 6, 2023

Conversation

monstermunchkin
Copy link
Member

Fixes #742

distrobuilder/main.go Outdated Show resolved Hide resolved
@monstermunchkin monstermunchkin force-pushed the issues/742-filters branch 2 times, most recently from 191ee50 to d0ed381 Compare July 6, 2023 13:12
@monstermunchkin monstermunchkin requested review from simondeziel and stgraber and removed request for simondeziel July 6, 2023 13:13
Copy link
Contributor

@simondeziel simondeziel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm too new to Go to give relevant feedback/review.

@monstermunchkin
Copy link
Member Author

I'm too new to Go to give relevant feedback/review.

OK, but you've been doing a good job so far with your Go reviews 😉

monstermunchkin and others added 4 commits July 6, 2023 17:00
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
This changes the way filters are applied. Prior to this change, filters
were applied in various places. With this change, all filters are
applied at start by modifying the loaded definition.

Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
@stgraber stgraber merged commit f0eb5b4 into lxc:master Jul 6, 2023
8 checks passed
@hallyn
Copy link
Member

hallyn commented Jul 8, 2023

With this PR, meta.tar.xz ends up not having config.* or templates.

If the fix is simple, let's do that, but it's probably best to revert this PR for now, as lxc-create -t download is broken for the world right now.

@hallyn hallyn mentioned this pull request Jul 8, 2023
@hallyn
Copy link
Member

hallyn commented Jul 8, 2023

Hi - when you resubmit this, it would be great if you could add a test in the github actions workflow which does a pack-lxc and verifies that the required files are generated in meta.tar.

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

Successfully merging this pull request may close these issues.

Add filters to targets and environments
4 participants