You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently configured Github Dependabot for our project but scans are crashing due to realm-swift's Package.swift requiring /usr/sbin/ioreg to exist.
Presumably Dependabot runs on Linux but ioreg is only available on macos. I appreciate it was not expected that this package be parsed on any platform other than Apple's, but please could a fallback be added when this file does not exist? Dependabot is simply parsing the Package.swift to determine the version number.
This is a real shame for us as our use of Realm is preventing us from using Dependabot for all dependencies. There doesn't seem to be a way to skip parsing of realm-swift's Package.swift currently.
We don't plan to support actually using the Swift package on linux, but ensuring that swift package describe (or equivalent things via the API) works shouldn't be difficult.
How frequently does the bug occur?
Always
Description
We recently configured Github Dependabot for our project but scans are crashing due to realm-swift's Package.swift requiring /usr/sbin/ioreg to exist.
Presumably Dependabot runs on Linux but ioreg is only available on macos. I appreciate it was not expected that this package be parsed on any platform other than Apple's, but please could a fallback be added when this file does not exist? Dependabot is simply parsing the Package.swift to determine the version number.
This is a real shame for us as our use of Realm is preventing us from using Dependabot for all dependencies. There doesn't seem to be a way to skip parsing of realm-swift's Package.swift currently.
Thanks!
Stacktrace & log output
Can you reproduce the bug?
Always
Reproduction Steps
Configure Dependabot for a repo that contains a Package.swift with realm-swift as a dependency, then run a scan for library updates.
Version
10.45.3
What Atlas Services are you using?
Local Database only
Are you using encryption?
Yes
Platform OS and version(s)
Linux (I assume)
Build environment
Xcode version: 15.2
Dependency manager and version: SPM, swift-tools-version: 5.8
The text was updated successfully, but these errors were encountered: