Skip to content

Commit

Permalink
Move release to Faktory Pro, prep for 091
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Nov 9, 2018
1 parent 17ed279 commit a525880
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 47 deletions.
25 changes: 0 additions & 25 deletions .github/notes.rb

This file was deleted.

11 changes: 0 additions & 11 deletions .github/release-notes.md.erb

This file was deleted.

4 changes: 2 additions & 2 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Faktory Changelog

## HEAD
## 0.9.1

- Fix crash on startup in Linux in development mode
- Close all associated connections when a worker process expires [#182]
- Fix to force Redis to shutdown if Faktory panics
- Shutdown Redis cleanly if Faktory panics (Linux only)

## 0.9.0

Expand Down
9 changes: 0 additions & 9 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,6 @@ endif

all: test

release: clean test package dimg tag dpush
@echo Generating release notes
ruby .github/notes.rb $(VERSION)
@echo Releasing $(NAME) $(VERSION)-$(ITERATION)
hub release create v$(VERSION)-$(ITERATION) \
-a packaging/output/systemd/$(NAME)_$(VERSION)-$(ITERATION)_amd64.deb \
-a packaging/output/systemd/$(NAME)-$(VERSION)-$(ITERATION).x86_64.rpm \
-F /tmp/release-notes.md -e -o

prepare: ## Download all dependencies
@go get github.com/golang/dep/cmd/dep
@dep ensure
Expand Down
16 changes: 16 additions & 0 deletions util/util_windows.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package util

import (
"os/exec"
)

func isTTY(fd int) bool {
// this function controls if we output ANSI coloring to the terminal.
// dunno how to do this on Windows so just play safe and assume it is not a TTY
return false
}

func EnsureChildShutdown(cmd *exec.Cmd, sig int) {
// This ensures that, on Linux, if Faktory panics, the child process will immediately
// get a signal. Dunno if this is possible on Windows or how it will behave.
}

0 comments on commit a525880

Please sign in to comment.