[PR #393] [MERGED] unify unix-specific code #1293

Closed
opened 2026-05-07 01:01:25 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/393
Author: @la-ninpre
Created: 8/31/2022
Status: Merged
Merged: 9/5/2022
Merged by: @binwiederhier

Base: mainHead: main


📝 Commits (2)

  • e60e770 cmd: unify unix-specific code
  • 2fb93b1 cmd: add go1.18 build directives

📊 Changes

3 files changed (+6 additions, -8 deletions)

View changed files

cmd/publish_linux.go (+0 -8)
📝 cmd/publish_unix.go (+3 -0)
📝 cmd/subscribe_unix.go (+3 -0)

📄 Description

current code was tied to linux only, but it should work for any unix-like OS (e.g. BSDs).

i tested it on openbsd and can confirm that it works. on other OSes more testing is needed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/393 **Author:** [@la-ninpre](https://github.com/la-ninpre) **Created:** 8/31/2022 **Status:** ✅ Merged **Merged:** 9/5/2022 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`e60e770`](https://github.com/binwiederhier/ntfy/commit/e60e770419e568d19068d6a0f6c98b96972b93eb) cmd: unify unix-specific code - [`2fb93b1`](https://github.com/binwiederhier/ntfy/commit/2fb93b1eb72afa93e24b1016aec2feb050709826) cmd: add go1.18 build directives ### 📊 Changes **3 files changed** (+6 additions, -8 deletions) <details> <summary>View changed files</summary> ➖ `cmd/publish_linux.go` (+0 -8) 📝 `cmd/publish_unix.go` (+3 -0) 📝 `cmd/subscribe_unix.go` (+3 -0) </details> ### 📄 Description current code was tied to linux only, but it should work for any unix-like OS (e.g. BSDs). i tested it on openbsd and can confirm that it works. on other OSes more testing is needed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:01:25 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1293
No description provided.