Skip to content

Also trim "~..." from AppArmor versions#41537

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
tianon:apparmor-tilde
Oct 9, 2020
Merged

Also trim "~..." from AppArmor versions#41537
AkihiroSuda merged 1 commit intomoby:masterfrom
tianon:apparmor-tilde

Conversation

@tianon
Copy link
Copy Markdown
Member

@tianon tianon commented Oct 8, 2020

- What I did

Asked Canonical (who in turn had spoken to AppArmor upstream maintainers) whether we needed to trim ~... from AppArmor versions too (#41518 (comment)). 😄

- How I did it

I found https://gitlab.com/apparmor/apparmor/-/commit/bca67d3d27d219d11ce8c9cc70612bd637f88c10 as a good example of the historical ~ versions, and copied the implementation of #41518 to also trim ~.... 😄

- How to verify it

Go back in time to AppArmor 2.7.0~rc2 🤔

- A picture of a cute animal (not mandatory but encouraged)

image

Copy link
Copy Markdown
Member

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@AkihiroSuda
Copy link
Copy Markdown
Member

Can we have a unit test?

Signed-off-by: Tianon Gravi <admwiggin@gmail.com>
@tianon
Copy link
Copy Markdown
Member Author

tianon commented Oct 9, 2020

Great point, updated 👍

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants