-
Notifications
You must be signed in to change notification settings - Fork 97
Description
The check for the Trademark Disclaimer works quite well for static web sites, but we should identify possible ways to improve it for dynamic web sites (i.e., Docusaurus/React/Angular).
The current check identifies the web site in the GitHub repo config, downloads that site, and looks for a pair of regular expression checks to identify that the Linux Foundation disclaimer is included in the text:
https://clomonitor.io/docs/topics/checks/#trademark-disclaimer
The Backstage project was failing this check, even though the site is a) listed in the GitHub repo and b) does properly display the disclaimer.
| Repo | Web Site |
|---|---|
![]() |
![]() |
The main page is delivered as a React-based app, and as a result, downloading the static page results in only some basic HTML that downloads JavaScript, but it itself does not include the Linux Foundation regular expression strings. Thus the project is marked as not having the trademark disclaimer, even though it does.
As a result I fired an exemption via the .clomonitor.yml file into the project via backstage/backstage#18916, but perhaps we could brainstorm about other ways to improve this check. May also tangentially relate to the other issue in this repo about improving how to align that the relevant trademarks have been properly handed over to the foundation (#33).

