How do I set the Alt.link to collect data from RubyGems?
Updated: 2025-01-23 SBOM Central
Read here about how Vcs, Homepage and Alt.Link is used
Alt. link is an alternate and manually inserted link address to a component source, superseding Vcs and Homepage. When adding the Alt. link, all versions registered in MAIA, current, previous and future, will have the Alt. link activated.
Example:
-
Pages referenced in this example:
- actioncable 6.5.1 (component/version) show page.
- actioncable component index page.
- actioncable component edit dialog.
-
The component is actioncable 6.1.5.
-
Weblink is set to rubyonrails.org with no usable API for MAIA/SBOMC.
-
No update information available.
-
Action 1: open the component index page by clicking the actioncable link in the top the information section.

- Action 2: find the actioncable component on a repository service integrated with MAIA/SBOMC.
- actioncable is a Gem so it can be found on the RubyGems web.
- RubyGems API is integrated with MAIA.
- Action 3: copy the actioncable web address, https://rubygems.org/gems/actioncable

- The actioncable component index page is opened.
- Action 4: click the Edit button to change component information.

- Action 5: paste the weblink into the Alt weblink section.
- Action 6: save and close

- The component index page is updated.
- The Alt. link in the information section is updated.
- All weblinks, for each version, in the table are updated.

- Data in the actioncable 6.5.1 show page is updated.
- Later, when the externa artifact update job is executed, the MAIA/SBOMC services will update the version status for actioncable 6.5.1.
