Skip to content

Conversation

kdudka
Copy link
Member

@kdudka kdudka commented Apr 10, 2024

... installed in usr/src/kernels/...+debug/scripts

Related: https://issues.redhat.com/browse/OSH-563

@kdudka kdudka requested a review from hanchuntao April 10, 2024 12:41
@kdudka kdudka self-assigned this Apr 10, 2024
kdudka added a commit to kdudka/csdiff that referenced this pull request Apr 10, 2024
... installed in `usr/src/kernels/...+debug/scripts`

Related: https://issues.redhat.com/browse/OSH-563
Closes: csutils#171
kdudka added a commit to kdudka/csdiff that referenced this pull request Apr 16, 2024
The original rule was able to translate:
`kernel-4.18.0-552.el8/linux-4.18.0-552.el8.x86_64/` -> `kernel-4.18.0-552.el8/`

... but it did not work for z-stream releases, where the paths are
unnecessarily inconsistent (`el8_9` on the first level vs. `el8`
on the second level):
`kernel-4.18.0-513.5.1.el8_9/linux-4.18.0-513.5.1.el8.x86_64/`

Related: https://issues.redhat.com/browse/OSH-563
Closes: csutils#171
@kdudka kdudka requested a review from hanchuntao April 16, 2024 13:31
kdudka added a commit to kdudka/csdiff that referenced this pull request Apr 16, 2024
The original rule was able to translate:
`kernel-4.18.0-552.el8/linux-4.18.0-552.el8.x86_64/` -> `kernel-4.18.0-552.el8/`

... but it did not work for z-stream releases, where the paths are
unnecessarily inconsistent (`el8_9` on the first level vs. `el8`
on the second level):
`kernel-4.18.0-513.5.1.el8_9/linux-4.18.0-513.5.1.el8.x86_64/`

Related: https://issues.redhat.com/browse/OSH-563
Closes: csutils#171
@kdudka kdudka changed the title msg-filter: ignore version-release in kernel scripts msg-filter: ignore version-release in kernel scripts and source files Apr 16, 2024
kdudka added 4 commits April 19, 2024 15:16
... installed in `usr/src/kernels/...+debug/scripts`

Related: https://issues.redhat.com/browse/OSH-563
... so that we do not need to remove `/` from the matched group
afterwards.  No change in behavior intended with this commit.

Related: https://issues.redhat.com/browse/OSH-563
The original rule was able to translate:
`kernel-4.18.0-552.el8/linux-4.18.0-552.el8.x86_64/` -> `kernel-4.18.0-552.el8/`

... but it did not work for z-stream releases, where the paths are
unnecessarily inconsistent (`el8_9` on the first level vs. `el8`
on the second level):
`kernel-4.18.0-513.5.1.el8_9/linux-4.18.0-513.5.1.el8.x86_64/`

Related: https://issues.redhat.com/browse/OSH-563
Closes: csutils#171
@kdudka
Copy link
Member Author

kdudka commented Apr 22, 2024

@hanchuntao Unless the changes in this pull request introduce any new problems, let's approve it and merge it as it is. We can discuss possible further improvements separately.

@hanchuntao
Copy link

@kdudka ok, we can merge it first, but I still think there exist many scenarios about the file path.

@kdudka kdudka closed this in f05aa13 Apr 23, 2024
@kdudka kdudka merged commit f05aa13 into csutils:main Apr 23, 2024
@kdudka kdudka deleted the msg-filter-krn branch May 6, 2024 08:02
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.

2 participants