sentry-cli icon indicating copy to clipboard operation
sentry-cli copied to clipboard

Provide binary for FreeBSD

Open versedi opened this issue 5 years ago • 12 comments

Hello,

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

versedi avatar Mar 04 '20 11:03 versedi

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

kamilogorek avatar Mar 04 '20 13:03 kamilogorek

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

  • binary uploaded to https://downloads.sentry-cdn.com/sentry-cli/
  • referenced in https://github.com/getsentry/sentry-cli/blob/master/scripts/install.js#L45

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)

mazafak avatar Apr 03 '20 03:04 mazafak

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

kamilogorek avatar Apr 03 '20 11:04 kamilogorek

@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

oswaldofreitas avatar Apr 03 '20 14:04 oswaldofreitas

@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?

djhype avatar May 26 '20 22:05 djhype

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)

zilti avatar Dec 09 '20 14:12 zilti

Same problem here on FreeBSD 12.2

nkosi23 avatar Feb 14 '21 19:02 nkosi23

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

github-actions[bot] avatar Jan 18 '22 12:01 github-actions[bot]

Any update on FreeBSD binary?

bartoszkrawczyk2 avatar Apr 14 '22 21:04 bartoszkrawczyk2

No, not really, at least not for now.

kamilogorek avatar Apr 20 '22 12:04 kamilogorek

For anyone interested; I've updated the sentry-cli FreeBSD port to the latest version at the time of me adding this comment[1]—with the addition of the managed flag enabled by default (meaning the update/uninstall commands are disabled). It may be worthwhile documenting that there is a package available.

[1] https://cgit.freebsd.org/ports/commit/?id=f6d0781d39204f1b9cb8142ad1687cad683938c5

lcook avatar Jun 03 '23 09:06 lcook

Thanks @lcook! I pinned this issue for now so it's easier to find for anyone.

kamilogorek avatar Jun 05 '23 14:06 kamilogorek