From nobody Mon Jan 30 13:05:20 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P57hK3ngvz3cY3j; Mon, 30 Jan 2023 13:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4P57hK1yBnz4N7d; Mon, 30 Jan 2023 13:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675083921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QyM9qe3eywXENj00NtnAKtl+eSp9PUFd4kYV1/zXyxI=; b=ONyWKW5cb6eKOXmrZUPXs+iivr4yD2IfdHsr6/Ssi2zZI/U2GaoZSnVExvGA1coFBeq2MX nbaYhZQN9vUzRpD/A+siEReW7PsWUCIj0/cvNLrmAq2Dd39LhjoMwWdmC+kQfOGHJbOekd G6It2YA7UicmgCXegLjns3nM8pdrSB2oPUWbSpdccKCf+LCwguExquZGIpRyVhjQM8W2Cm 9uqNMGyjQgTV2G2/x7WkHnQD5BMbTvsZigFdM+azs4I4J/879Ps0pyWVeQp7iGPClo7fa9 6AT13+QFY7KoFXR9jRuwHcqW6mdpAxoz46uTD7vW2cIOLHueP4VRiAhiUemLYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1675083921; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=QyM9qe3eywXENj00NtnAKtl+eSp9PUFd4kYV1/zXyxI=; b=rl90+LMnz5JOWShBAcuVs0m5ipp+svmN+msPr01M4TIRgGLJ5mdLhf9IDsqNIgJy03zgOk TqXiauxyB7U0b53wnv/IqxlPdC/9d2ugi4VBw2YKnx76O+9UiNqqdR/TjhQsJ/SlmDHg25 6SxfwxUudBCgIubidXUs+q46DUPaGpNOIzd0Y4hVITo6jq7zcwnnA0gGcpfN/pparru+hu logvpjIX3RiAoTWfrE1Ph2GtT6JMjZgms2KwBXrzmayjlxQXCM6KC3kNP6Tw5WlNMSnU5H QGU/x0ZLImCm1v8kb35mZvxaL59O1IPwSL2eCn+3wnypJHRL7fdlbP00pcpvfw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675083921; a=rsa-sha256; cv=none; b=EOWEV9nJBpqMRCH8X7wQg1UCqlC/6VXrhqLH0XyO/0ggnmikQIbM4NdvB8edn03z68vuGl nXxPScCIdUCyOPpxierBKL6ixTQ8gWjXdjfM5daR6iQdqDi4tTe1wWn5KE9DWPI7Vd3YAV HR3gQssk+mYvM1m+KoFeIbfo7/yLX1KkFLOCLWqn9wY/xXKKdz623jbUQ+ep14apW9oZUi xcxP1aqUtHG+rUwBmG3UhxidxOoj9DkbAvGuqb7eRdU2sgLN0nj9Rl5keMcoY1xs2xw/Qt 6/iyBnuQIZhaARGBiyO3WNa5OFrdtOur0rPnUhRS2j5sJS3vZDqsl1KgHyehnw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4P57hK0hm2z188j; Mon, 30 Jan 2023 13:05:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 30UD5Llq052032; Mon, 30 Jan 2023 13:05:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30UD5Kjp052031; Mon, 30 Jan 2023 13:05:20 GMT (envelope-from git) Date: Mon, 30 Jan 2023 13:05:20 GMT Message-Id: <202301301305.30UD5Kjp052031@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 27b0b8f06913 - main - devel/rubygem-sidekiq-cron18: Add rubygem-sidekiq-cron18 1.8.0 (copied from rubygem-sidekiq-cron) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 27b0b8f0691394a3679e4437126368ddab7740a1 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=27b0b8f0691394a3679e4437126368ddab7740a1 commit 27b0b8f0691394a3679e4437126368ddab7740a1 Author: Po-Chuan Hsieh AuthorDate: 2023-01-30 12:21:49 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-01-30 12:58:56 +0000 devel/rubygem-sidekiq-cron18: Add rubygem-sidekiq-cron18 1.8.0 (copied from rubygem-sidekiq-cron) - Add PORTSCOUT --- devel/Makefile | 1 + devel/rubygem-sidekiq-cron18/Makefile | 23 +++++++++++++++++++++++ devel/rubygem-sidekiq-cron18/distinfo | 3 +++ devel/rubygem-sidekiq-cron18/pkg-descr | 9 +++++++++ 4 files changed, 36 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index ca1f8afd47fd..80357e375fa2 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7084,6 +7084,7 @@ SUBDIR += rubygem-sidekiq-bulk SUBDIR += rubygem-sidekiq-cron SUBDIR += rubygem-sidekiq-cron-sidekiq64 + SUBDIR += rubygem-sidekiq-cron18 SUBDIR += rubygem-sidekiq-scheduler SUBDIR += rubygem-sidekiq-unique-jobs SUBDIR += rubygem-sidekiq6 diff --git a/devel/rubygem-sidekiq-cron18/Makefile b/devel/rubygem-sidekiq-cron18/Makefile new file mode 100644 index 000000000000..bde5d05883eb --- /dev/null +++ b/devel/rubygem-sidekiq-cron18/Makefile @@ -0,0 +1,23 @@ +PORTNAME= sidekiq-cron +PORTVERSION= 1.8.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 18 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Enables to set jobs to be run in specified time (using CRON notation) +WWW= https://github.com/ondrejbartas/sidekiq-cron + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-fugit>=1<2:devel/rubygem-fugit \ + rubygem-sidekiq>=4.2.1:devel/rubygem-sidekiq + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^1\.8\. + +.include diff --git a/devel/rubygem-sidekiq-cron18/distinfo b/devel/rubygem-sidekiq-cron18/distinfo new file mode 100644 index 000000000000..4fff2d062b21 --- /dev/null +++ b/devel/rubygem-sidekiq-cron18/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1665073206 +SHA256 (rubygem/sidekiq-cron-1.8.0.gem) = 47da72ca73ce5b71896aaf7e7c4391386ec517dd003f184c50c0b727d82eb0ca +SIZE (rubygem/sidekiq-cron-1.8.0.gem) = 30208 diff --git a/devel/rubygem-sidekiq-cron18/pkg-descr b/devel/rubygem-sidekiq-cron18/pkg-descr new file mode 100644 index 000000000000..1763659ffead --- /dev/null +++ b/devel/rubygem-sidekiq-cron18/pkg-descr @@ -0,0 +1,9 @@ +Sidekiq-Cron is a scheduling add-on for Sidekiq. + +It runs a thread alongside Sidekiq workers to schedule jobs at specified times +(using cron notation * * * * * parsed by Rufus-Scheduler). + +It also checks for new jobs to schedule every 10 seconds and doesn't schedule +the same job multiple times when more than one Sidekiq worker is running. + +Scheduling jobs are added only when at least one Sidekiq process is running.