Commit 74ee17d
authored
docs: add AMD copyright license header to external-facing docs (#65)
* docs: add AMD copyright license header to external-facing docs
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* ci: check AMD license header in all tracked Markdown files
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* docs: add AMD copyright license header to remaining Markdown files
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* ci: also verify SPDX-License-Identifier in Markdown license header check
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* ci: use hawkeye to check Markdown license headers
Replace the grep-based Markdown header check with hawkeye, keeping all
header enforcement in one tool. Two new config files are needed because
hawkeye excludes *.md by default and has no built-in header type for it:
- licenserc-md.toml: hawkeye config for Markdown, using a negation rule
(!**/*.md) to override the default exclusion and a custom MARKDOWN_STYLE
mapping for the .md extension.
- licenserc-md-header.toml: defines MARKDOWN_STYLE as an HTML comment block
(<!-- ... -->) without extra blank lines, matching our existing headers.
The CI step now runs `hawkeye check --config licenserc-md.toml` instead of
the 12-line git ls-files + grep loop.
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* ci: exclude .hawkeye-bin from Markdown license check
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* ci: gitignore .hawkeye-bin so hawkeye skips it
The negation exclude rule (!**/*.md) in licenserc-md.toml overrides
any subsequent positive excludes for .md files, so .hawkeye-bin/**
in the excludes list had no effect. Adding .hawkeye-bin to .gitignore
is cleaner: hawkeye's git integration never enumerates those files.
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* ci: fold Markdown into single hawkeye config and check
Merge licenserc-md.toml into licenserc.toml so one config and one
hawkeye check covers all file types. Remove the separate
"Check license headers (Markdown)" CI step.
The !**/*.md negation override, the MARKDOWN_STYLE mapping, and the
additionalHeaders reference are now all in licenserc.toml. Add a
comment explaining the force-include limitation: the negation cannot be
subsequently re-excluded for a subset of paths, so any tracked *.md
file under third_party/ would require a copyright header.
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
* chore: standardize copyright header wording repo-wide
Apply the © form and ", or its affiliates." suffix to all .rs, .py,
and .sh files, matching the wording already used in the Markdown
headers. Run with: hawkeye format
Signed-off-by: Juho Vainio <juho.vainio@amd.com>
---------
Signed-off-by: Juho Vainio <juho.vainio@amd.com>1 parent dfeed20 commit 74ee17d
176 files changed
Lines changed: 287 additions & 157 deletions
File tree
- apps
- rocmd/src
- rocm
- src
- tests
- crates
- rocm-core
- src
- rocm-dash-collectors
- src
- tests
- rocm-dash-core/src
- rocm-dash-daemon
- src
- tests
- rocm-dash-tui
- examples
- src
- app
- ui
- tabs
- tests
- rocm-engine-protocol/src
- docs
- engines
- atom/src
- lemonade/src
- llama-cpp/src
- pytorch/src
- sglang/src
- vllm/src
- scripts
- skills/rocm-cli-assistant
- xtask/src
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments