Project

General

Profile

« Previous | Next » 

Revision 275e93b3

Added by Adam Ruzicka about 2 months ago

Fixes #37295 - Drop foreman-hooks

View differences:

plugins/ruby-foreman-hooks/debian/changelog
ruby-foreman-hooks (0.3.17-2) stable; urgency=low
* Use Foreman postinst library
-- Evgeni Golov <evgeni@debian.org> Tue, 19 Jul 2022 09:28:36 +0200
ruby-foreman-hooks (0.3.17-1) stable; urgency=low
* 0.3.17 released
-- Lukas Zapletal <lzap+git@redhat.com> Wed, 18 Nov 2020 15:17:17 +0100
ruby-foreman-hooks (0.3.16-1) stable; urgency=low
* 0.3.16 released
-- Lukas Zapletal <lzap+git@redhat.com> Tue, 17 Dec 2019 14:28:20 +0100
ruby-foreman-hooks (0.3.14-1) stable; urgency=low
* 0.3.14 released
-- Dominic Cleal <dominic@cleal.org> Wed, 17 May 2017 11:26:21 +0100
ruby-foreman-hooks (0.3.13-1) stable; urgency=low
* 0.3.13 released
-- Dominic Cleal <dominic@cleal.org> Thu, 16 Feb 2017 10:50:34 +0000
ruby-foreman-hooks (0.3.12-1) stable; urgency=low
* 0.3.12 released
-- Dominic Cleal <dominic@cleal.org> Mon, 05 Sep 2016 13:03:23 +0100
ruby-foreman-hooks (0.3.11-1) stable; urgency=low
* 0.3.11 released
-- Dominic Cleal <dominic@cleal.org> Mon, 20 Jun 2016 13:02:36 +0100
ruby-foreman-hooks (0.3.10-1) stable; urgency=low
* 0.3.10 released
-- Dominic Cleal <dominic@cleal.org> Mon, 16 May 2016 08:33:50 +0100
ruby-foreman-hooks (0.3.9) stable; urgency=low
* 0.3.9 released
* Include jgrep gem hook dependency (#11684)
-- Dominic Cleal <dcleal@redhat.com> Wed, 16 Sep 2015 11:25:51 +0100
ruby-foreman-hooks (0.3.8) stable; urgency=low
* 0.3.8 released
-- Dominic Cleal <dcleal@redhat.com> Thu, 30 Jul 2015 15:09:18 +0100
ruby-foreman-hooks (0.3.7-1) stable; urgency=low
* Fix version number to reflect packaged gem
-- Dominic Cleal <dcleal@redhat.com> Tue, 27 Jan 2015 12:21:29 +0000
ruby-foreman-hooks (0.3.4-3) stable; urgency=low
* Set HOME to ~foreman as rb-readline requires it
-- Dominic Cleal <dcleal@redhat.com> Wed, 17 Dec 2014 14:50:30 +0000
ruby-foreman-hooks (0.3.4-2) stable; urgency=low
* Prefer foreman-ruby symlink to run bundler if it exists
-- Dominic Cleal <dcleal@redhat.com> Fri, 17 Oct 2014 16:59:57 +0100
ruby-foreman-hooks (0.3.4-1) unstable; urgency=low
* Package gems into Foreman's cache dir for local install
-- Greg Sutcliffe <gsutclif@redhat.com> Thu, 28 Aug 2014 09:35:00 +0000
ruby-foreman-hooks (0.3.4) unstable; urgency=low
* 0.3.7 released
-- Greg Sutcliffe <gsutclif@redhat.com> Wed, 26 Feb 2014 15:12:00 +0000
ruby-foreman-hooks (0.3.4) unstable; urgency=low
* 0.3.4 released
-- Greg Sutcliffe <gsutclif@redhat.com> Wed, 22 Jan 2014 15:58:12 +0000
ruby-foreman-hooks (0.3.3) unstable; urgency=low
* Initial Release.
-- Greg Sutcliffe <gsutclif@redhat.com> Mon, 16 Dec 2013 18:43:49 +0000
plugins/ruby-foreman-hooks/debian/compat
8
plugins/ruby-foreman-hooks/debian/control
Source: ruby-foreman-hooks
Section: ruby
Priority: extra
Maintainer: Greg Sutcliffe <gsutclif@redhat.com>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.3
Homepage: https://github.com/theforeman/foreman_hooks
Package: ruby-foreman-hooks
Architecture: all
Depends: ${misc:Depends}, foreman (>= 3.1.0~)
Description: Foreman Hooks Plugin
Plugin engine for Foreman that enables running custom hook scripts on Foreman
events.
plugins/ruby-foreman-hooks/debian/copyright
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ruby-foreman-hooks
Source: https://github.com/theforeman/foreman_hooks
Files: *
Copyright: 2012-2014 Red Hat Inc. <foreman-dev@googlegroups.com>
License: GPL-3.0+
Files: debian/*
Copyright: 2013-2014 Red Hat Inc. <foreman-dev@googlegroups.com>
License: GPL-3.0+
License: GPL-3.0+
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
.
On Debian systems, the complete text of the GNU General
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid to pick license terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
plugins/ruby-foreman-hooks/debian/gem.list
# list of gem urls to download via Jenkins, space separated
GEMS="https://rubygems.org/downloads/foreman_hooks-0.3.17.gem"
GEMS="$GEMS https://rubygems.org/downloads/jgrep-1.4.1.gem"
plugins/ruby-foreman-hooks/debian/install
foreman_hooks.rb usr/share/foreman/bundler.d
cache usr/share/foreman/vendor
plugins/ruby-foreman-hooks/debian/postinst
#!/bin/sh
# postinst script for foreman-*
#
# see: dh_installdeb(1)
if [ ! -z "${DEBUG}" ]; then
set -x
else
set -e
fi
. /usr/share/debconf/confmodule
. /usr/share/foreman/foreman-plugin.postinst-lib
# if this script aborts with an error dpkg can
# hang if daemons have been started
trap db_stop EXIT
foreman_plugin_install "foreman_hooks" "$2" "false" "false"
GEM_INSTDIR=$(find /usr/share/foreman/vendor/ruby/*/gems -mindepth 1 -maxdepth 1 -name foreman_hooks\* -printf '%T+ %p\n' | sort -r | head -n 1 | awk '{ print $NF }')
if [ -n "$GEM_INSTDIR" ]; then
chmod +x "$GEM_INSTDIR/extra/foreman-debug.sh"
mkdir -p /usr/share/foreman/script/foreman-debug.d
ln -sf "$GEM_INSTDIR/extra/foreman-debug.sh" /usr/share/foreman/script/foreman-debug.d/50-foreman_hooks
fi
#DEBHELPER#
exit 0
plugins/ruby-foreman-hooks/debian/prerm
#!/bin/sh
[ -n "${DEBUG}" ] && set -x
set -e
. /usr/share/debconf/confmodule
#DEBHELPER#
if [ -h /usr/share/foreman/script/foreman-debug.d/50-foreman_hooks -a "x$1" = xremove ]; then
rm -f /usr/share/foreman/script/foreman-debug.d/50-foreman_hooks
fi
exit 0
plugins/ruby-foreman-hooks/debian/rules
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
plugins/ruby-foreman-hooks/debian/source/format
3.0 (native)
plugins/ruby-foreman-hooks/foreman_hooks.rb
gem 'foreman_hooks', '0.3.17'
gem 'jgrep', '1.4.1'

Also available in: Unified diff