user/dev discussion of public-inbox itself
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
			download mbox.gz: |
* [PATCH 5/5] ci: support CentOS-7
  2019-05-22  2:13  7% [PATCH 0/5] fixes for CentOS 7 Eric Wong
@ 2019-05-22  2:14  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-05-22  2:14 UTC (permalink / raw)
  To: meta

Tested on an amd64 chroot built with rinse 3.4
---
 ci/deps.perl   | 7 +++++++
 ci/profiles.sh | 6 ++++++
 2 files changed, 13 insertions(+)

diff --git a/ci/deps.perl b/ci/deps.perl
index 32b0226..faca459 100755
--- a/ci/deps.perl
+++ b/ci/deps.perl
@@ -58,6 +58,8 @@ my $profiles = {
 my @precious;
 if ($^O eq 'freebsd') {
 	@precious = qw(perl curl Socket6 IO::Compress::Gzip);
+} elsif ($pkg_fmt eq 'rpm') {
+	@precious = qw(perl curl);
 }
 
 if (@precious) {
@@ -168,6 +170,11 @@ if ($pkg_fmt eq 'deb') {
 	root(qw(pkg install -y), @quiet, @pkg_install) if @pkg_install;
 	root(qw(pkg autoremove -y), @quiet);
 # TODO: yum / rpm support
+} elsif ($pkg_fmt eq 'rpm') {
+	my @quiet = $ENV{V} ? () : ('-q');
+	exclude_uninstalled(\@pkg_remove);
+	root(qw(yum remove -y), @quiet, @pkg_remove) if @pkg_remove;
+	root(qw(yum install -y), @quiet, @pkg_install) if @pkg_install;
 } else {
 	die "unsupported package format: $pkg_fmt\n";
 }
diff --git a/ci/profiles.sh b/ci/profiles.sh
index 5d7c2cf..d559ec5 100755
--- a/ci/profiles.sh
+++ b/ci/profiles.sh
@@ -68,6 +68,12 @@ all devtest-
 v2essential
 essential
 essential devtest-
+EOF
+	;;
+centos-7) sed "s/^/$PKG_FMT /" <<EOF
+v2essential devtest
+essential devtest
+all Search::Xapian-
 EOF
 	;;
 esac
-- 
EW


^ permalink raw reply	[relevance 7%]

* [PATCH 0/5] fixes for CentOS 7
@ 2019-05-22  2:13  7% Eric Wong
  2019-05-22  2:14  7% ` [PATCH 5/5] ci: support CentOS-7 Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2019-05-22  2:13 UTC (permalink / raw)
  To: meta

Search::Xapian isn't available from the distro, but we can
support more things with only DBD::SQLite and DBI.

Eric Wong (5):
  init: preserve permissions for git prior to 2.1.0
  t/watch_filter_rubylang: disable v2 test for git < 2.6
  git: workaround old git-rev-parse(1) (--git-path)
  t/search*: require DBI and DBD::SQLite, too
  ci: support CentOS-7

 ci/deps.perl              |  7 +++++++
 ci/profiles.sh            |  6 ++++++
 lib/PublicInbox/Git.pm    |  5 +++++
 script/public-inbox-init  | 12 +++++++++++-
 t/search-thr-index.t      |  7 +++++--
 t/search.t                |  7 +++++--
 t/watch_filter_rubylang.t | 14 ++++++++++++--
 7 files changed, 51 insertions(+), 7 deletions(-)

-- 
EW

^ permalink raw reply	[relevance 7%]

Results 1-2 of 2 | reverse
2019-05-22  2:13  7% [PATCH 0/5] fixes for CentOS 7 Eric Wong
2019-05-22  2:14  7% ` [PATCH 5/5] ci: support CentOS-7 Eric Wong

user/dev discussion of public-inbox itself

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://public-inbox.org/meta
	git clone --mirror http://czquwvybam4bgbro.onion/meta
	git clone --mirror http://hjrcffqmbrq6wope.onion/meta
	git clone --mirror http://ou63pmih66umazou.onion/meta

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 meta meta/ https://public-inbox.org/meta \
		meta@public-inbox.org
	public-inbox-index meta

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.mail.public-inbox.meta
	nntp://ou63pmih66umazou.onion/inbox.comp.mail.public-inbox.meta
	nntp://czquwvybam4bgbro.onion/inbox.comp.mail.public-inbox.meta
	nntp://hjrcffqmbrq6wope.onion/inbox.comp.mail.public-inbox.meta
	nntp://news.gmane.io/gmane.mail.public-inbox.general
 note: .onion URLs require Tor: https://www.torproject.org/

code repositories for the project(s) associated with this inbox:

	https://80x24.org/public-inbox.git

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git