Initialize
Continous integration / Tests (push) Canceled after 0s
Testing clients / Build beanstalkd (push) Canceled after 0s
Continous integration / Docker build (push) Canceled after 0s
Testing clients / Test Pheanstalk PHP (push) Canceled after 0s
Testing clients / Test Greenstalk Python (3.9) (push) Canceled after 0s
Testing clients / Test Pystalk Python (3.10) (push) Canceled after 0s
Continous integration / Tests (push) Canceled after 0s
Testing clients / Build beanstalkd (push) Canceled after 0s
Continous integration / Docker build (push) Canceled after 0s
Testing clients / Test Pheanstalk PHP (push) Canceled after 0s
Testing clients / Test Greenstalk Python (3.9) (push) Canceled after 0s
Testing clients / Test Pystalk Python (3.10) (push) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
How to make a release:
|
||||
|
||||
1. Check out master
|
||||
2. Tag the commit to release devX.Y: git tag dev1.11
|
||||
3. Write a change log in file News (don't commit it)
|
||||
4. Run pkg/dist.sh and follow the intructions.
|
||||
5. Push tags and beanstalkd.github.io
|
||||
6. Run pkg/mail.sh
|
||||
@@ -0,0 +1,88 @@
|
||||
%define beanstalkd_user beanstalkd
|
||||
%define beanstalkd_group %{beanstalkd_user}
|
||||
%define beanstalkd_home %{_localstatedir}/lib/beanstalkd
|
||||
%define beanstalkd_logdir %{_localstatedir}/log/beanstalkd
|
||||
|
||||
Name: beanstalkd
|
||||
Version: @VERSION@
|
||||
Release: 0%{?dist}
|
||||
Summary: A simple, fast workqueue service
|
||||
|
||||
Group: System Environment/Daemons
|
||||
License: GPLv3+
|
||||
URL: http://xph.us/software/%{name}/
|
||||
Source0: http://xph.us/dist/%{name}/rel/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
Requires(pre): %{_sbindir}/useradd
|
||||
Requires(post): /sbin/chkconfig
|
||||
Requires(preun): /sbin/chkconfig, /sbin/service
|
||||
Requires(postun): /sbin/service
|
||||
|
||||
|
||||
%description
|
||||
Beanstalk is a simple, fast workqueue service. Its interface is generic, but
|
||||
was originally designed for reducing the latency of page views in high-volume
|
||||
web applications by running time-consuming tasks asynchronously.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
if [ ! -e configure ]; then
|
||||
sh buildconf.sh
|
||||
fi
|
||||
|
||||
%build
|
||||
%configure --disable-rpath --docdir=%{_defaultdocdir}/%{name}-%{version}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__install} -p -D -m 0644 doc/%{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
%{__install} -p -D -m 0755 scripts/%{name}.init %{buildroot}%{_initrddir}/%{name}
|
||||
%{__install} -p -D -m 0644 scripts/%{name}.sysconfig %{buildroot}%{_sysconfdir}/sysconfig/%{name}
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%pre
|
||||
%{_sbindir}/useradd -c "beanstalkd user" -s /bin/false -r -m -d %{beanstalkd_home} %{beanstalkd_user} 2>/dev/null || :
|
||||
|
||||
%post
|
||||
/sbin/chkconfig --add %{name}
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/service %{name} stop >/dev/null 2>&1
|
||||
/sbin/chkconfig --del %{name}
|
||||
fi
|
||||
|
||||
%postun
|
||||
if [ $1 -ge 1 ]; then
|
||||
/sbin/service %{name} condrestart > /dev/null 2>&1 || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc %{_defaultdocdir}/%{name}-%{version}/protocol.txt
|
||||
%doc README COPYING doc/protocol.txt
|
||||
%{_initrddir}/%{name}
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1.gz
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Oct 1 2009 Keith Rarick <kr@xph.us> - 1.4-0
|
||||
- Convert this file to an autoconf template
|
||||
- Tweak the summary and description
|
||||
|
||||
* Sun Jan 4 2009 Ask Bjørn Hansen <ask@develooper.com> - 1.2-0
|
||||
- 1.2-tobe
|
||||
- Use man page and .init/sysconfig scripts from .tar.gz
|
||||
|
||||
* Sat Nov 22 2008 Jeremy Hinegardner <jeremy at hinegardner dot org> - 1.1-1
|
||||
- initial spec creation
|
||||
@@ -0,0 +1,8 @@
|
||||
---
|
||||
layout: post
|
||||
title: Beanstalkd @VERSION@ Release Notes
|
||||
version: @VERSION@
|
||||
dist: https://github.com/beanstalkd/beanstalkd/archive/v@VERSION@.tar.gz
|
||||
file: beanstalkd-@VERSION@.tar.gz
|
||||
---
|
||||
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
exp() {
|
||||
sed s/@VERSION@/$ver/ | sed s/@PARENT@/$prev/
|
||||
}
|
||||
|
||||
clean() {
|
||||
rm -f "$GIT_INDEX_FILE"
|
||||
}
|
||||
|
||||
mkobj() {
|
||||
git hash-object -w --stdin
|
||||
}
|
||||
|
||||
die() {
|
||||
echo >&2 "$@"
|
||||
exit 2
|
||||
}
|
||||
|
||||
ver=`./vers.sh`
|
||||
case $ver in *+*) die bad ver $ver ;; esac
|
||||
prev=`git describe --abbrev=0 --match=dev* --tags dev$ver^|sed s/^dev//`
|
||||
test -n "$prev" || die no prev ver
|
||||
test -f News || die no News
|
||||
|
||||
export GIT_INDEX_FILE
|
||||
GIT_INDEX_FILE=`mktemp -t beanstalkd-dist-index-XXX`
|
||||
trap clean EXIT
|
||||
|
||||
git read-tree dev$ver
|
||||
newsobj=`cat News pkg/newstail.in|exp|mkobj`
|
||||
versobj=`echo "printf '$ver'"|mkobj`
|
||||
specobj=`exp <pkg/beanstalkd.spec.in|mkobj`
|
||||
git update-index --add --cacheinfo 100644 $newsobj News
|
||||
git update-index --cacheinfo 100755 $versobj vers.sh
|
||||
git update-index --add --cacheinfo 100644 $specobj beanstalkd.spec
|
||||
tree=`git write-tree`
|
||||
commit=`git commit-tree $tree -p dev$ver -m "release $ver"`
|
||||
git tag -m "beanstalkd version $ver" v$ver $commit
|
||||
|
||||
postcont=`(exp <pkg/bloghead.in; git cat-file blob v$ver:News)`
|
||||
postfile=`date +%Y-%m-%d`-$ver-release-notes.md
|
||||
echo "$postcont" >$postfile
|
||||
echo "Now, run these commands to update the blog:"
|
||||
echo "(mv $postfile ../beanstalkd.github.io/_posts/ && cd ../beanstalkd.github.io && git add . && git commit -m \"announce release $ver\")"
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
die() {
|
||||
echo >&2 "$@"
|
||||
exit 2
|
||||
}
|
||||
|
||||
addr=beanstalk-talk@googlegroups.com
|
||||
ver=`./vers.sh`
|
||||
case $ver in *+*) die bad ver $ver ;; esac
|
||||
|
||||
(cat <<end; git cat-file -p v$ver:News)|msmtp -t $addr
|
||||
To: $addr
|
||||
From: `git config user.name` <`git config user.email`>
|
||||
Subject: [ANN] beanstalkd $ver
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
Full list of changes (includes authorship information):
|
||||
<http://github.com/beanstalkd/beanstalkd/compare/v@PARENT@...v@VERSION@>
|
||||
|
||||
Our Urls
|
||||
--------
|
||||
|
||||
Download the @VERSION@ tarball directly:
|
||||
<https://github.com/beanstalkd/beanstalkd/archive/v@VERSION@.tar.gz>
|
||||
|
||||
Learn all about beanstalk:
|
||||
<https://beanstalkd.github.io/>
|
||||
|
||||
Talk about beanstalk development or use at:
|
||||
<https://groups.google.com/group/beanstalk-talk>
|
||||
|
||||
Bugs
|
||||
----
|
||||
|
||||
Please report any bugs to:
|
||||
<http://github.com/beanstalkd/beanstalkd/issues>
|
||||
Reference in New Issue
Block a user