Sentry-cli: Provide binary for FreeBSD

Created on 4 Mar 2020  路  7Comments  路  Source: getsentry/sentry-cli

Hello,

Would it be possible to provide the executable binary for FreeBSD x86/x64?

feature help wanted other

All 7 comments

Hey, there is no plan to support that on our roadmap, but we are open for the PR introducing it :)

the binary builds properly without changes. all that needs to be done is:

here is the built binary for the current version:
https://www.grinchenko.org/files/sentry-cli-FreeBSD-x86_64-1.52.1 (built on FreeBSD 12.1)

Thanks for the valuable feedback @mazafak! I'll try to add it once I find some spare time :)

@kamilogorek I'm also looking forward to this change, thank you in advance for applying @mazafak suggestion, it will be a great value for us since we can't upload sourcemaps with the webpack plugin from FreeBSD currently

@kamilogorek Can you share whether this is on your roadmap now? If so, where would an announcement be made when support has been added for a FreeBSD binary? In this issue, or somewhere else?

Yes, either upload it, or fix sentry-cli so it will work properly even if the binary is not available at that URL. I installed sentry-cli from the FreeBSD ports, and it works fine in that it causes the effects on sentry.io it is supposed to cause, but at the same time, it makes it seem like all hell broke loose on the command line:

  INFO    2020-12-09 13:52:05.206194336 +00:00 Running update nagger update check
  DEBUG   2020-12-09 13:52:05.206220974 +00:00 request GET https://release-registry.services.sentry.io/apps/sentry-cli/latest
  DEBUG   2020-12-09 13:52:05.206229559 +00:00 retry number 0, max retries: 0
  DEBUG   2020-12-09 13:52:05.221478812 +00:00 > GET /apps/sentry-cli/latest HTTP/2
  DEBUG   2020-12-09 13:52:05.221568066 +00:00 > Host: release-registry.services.sentry.io
  DEBUG   2020-12-09 13:52:05.221604298 +00:00 > accept: */*
  DEBUG   2020-12-09 13:52:05.221636703 +00:00 > connection: TE
  DEBUG   2020-12-09 13:52:05.221669418 +00:00 > te: gzip
  DEBUG   2020-12-09 13:52:05.221747605 +00:00 > user-agent: sentry-cli/1.54.0
  DEBUG   2020-12-09 13:52:05.331593599 +00:00 < HTTP/2 200 
  DEBUG   2020-12-09 13:52:05.331698405 +00:00 < content-type: application/json
  DEBUG   2020-12-09 13:52:05.331746489 +00:00 < content-length: 1774
  DEBUG   2020-12-09 13:52:05.331782723 +00:00 < access-control-allow-origin: *
  DEBUG   2020-12-09 13:52:05.331815449 +00:00 < x-from-cache: 1
  DEBUG   2020-12-09 13:52:05.331850557 +00:00 < x-envoy-upstream-service-time: 1
  DEBUG   2020-12-09 13:52:05.331887497 +00:00 < date: Wed, 09 Dec 2020 13:52:02 GMT
  DEBUG   2020-12-09 13:52:05.331919051 +00:00 < server: envoy
  DEBUG   2020-12-09 13:52:05.331954178 +00:00 < via: 1.1 google
  DEBUG   2020-12-09 13:52:05.331987156 +00:00 < alt-svc: clear
  DEBUG   2020-12-09 13:52:05.332079165 +00:00 response status: 200
  INFO    2020-12-09 13:52:05.332126530 +00:00 Looking for file named: sentry-cli-Freebsd-x86_64
  DEBUG   2020-12-09 13:52:05.332161288 +00:00 body: {"canonical":"app:sentry-cli","file_urls":{"sentry-cli-Darwin-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Darwin-x86_64","sentry-cli-Linux-i686":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Linux-i686","sentry-cli-Linux-x86_64":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Linux-x86_64","sentry-cli-Windows-i686.exe":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Windows-i686.exe","sentry-cli-Windows-x86_64.exe":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Windows-x86_64.exe"},"files":{"sentry-cli-Darwin-x86_64":{"checksums":{"sha256-hex":"37a296aeb7257c36d554c7d1e16d3b128b8fb2b8e69be71732c68955b24db4b0"},"url":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Darwin-x86_64"},"sentry-cli-Linux-i686":{"checksums":{"sha256-hex":"91053168f1b787cc91e4317ad74a99eff6610714c018793db393502dde1e49bc"},"url":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Linux-i686"},"sentry-cli-Linux-x86_64":{"checksums":{"sha256-hex":"7d9d67155cb2e7cbbd3eb17ef3abae40296a730e9cf9f5055cbe49b7ca4dfa83"},"url":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Linux-x86_64"},"sentry-cli-Windows-i686.exe":{"checksums":{"sha256-hex":"e32fad54c16a847e575d6e8ce18ccdf0bf8819637531418df786e9c67a939ec8"},"url":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Windows-i686.exe"},"sentry-cli-Windows-x86_64.exe":{"checksums":{"sha256-hex":"2ff2f8b3044f78e0842e1dde5aaf5f02f74c329748286a47657c2f37b80e8283"},"url":"https://downloads.sentry-cdn.com/sentry-cli/1.60.1/sentry-cli-Windows-x86_64.exe"}},"main_docs_url":"https://docs.sentry.io/learn/cli","name":"Sentry CLI","repo_url":"https://github.com/getsentry/sentry-cli","version":"1.60.1"}

  INFO    2020-12-09 13:52:05.332239823 +00:00 Found asset sentry-cli-Darwin-x86_64
  INFO    2020-12-09 13:52:05.332273731 +00:00 Found asset sentry-cli-Linux-i686
  INFO    2020-12-09 13:52:05.332304959 +00:00 Found asset sentry-cli-Linux-x86_64
  INFO    2020-12-09 13:52:05.332337232 +00:00 Found asset sentry-cli-Windows-i686.exe
  INFO    2020-12-09 13:52:05.332386518 +00:00 Found asset sentry-cli-Windows-x86_64.exe
  WARN    2020-12-09 13:52:05.332419035 +00:00 Unable to find release file
error: For non git repositories explicit revisions are required
  DEBUG   2020-12-09 13:52:05.333163680 +00:00 client close; no transport to shut down  (from sentry)

Same problem here on FreeBSD 12.2

Was this page helpful?
0 / 5 - 0 ratings