public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpkg] 1.70-1: Backport patch for uploading *.crate into lookaside
Date: Mon, 10 Aug 2026 21:44:01 GMT	[thread overview]
Message-ID: <178639824199.1.10731245389322770293.rpms-rpkg-cbcb1400bf4c@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rpkg
            Branch : 1.70-1
            Commit : cbcb1400bf4c50a3c61796780294a2c7a57f0286
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2019-03-20T14:53:45+01:00
            Stats  : +35/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpkg/c/cbcb1400bf4c50a3c61796780294a2c7a57f0286?branch=1.70-1

            Log:
            Backport patch for uploading *.crate into lookaside

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/0001-Upload-.crate-files-to-lookaside-cache.patch b/0001-Upload-.crate-files-to-lookaside-cache.patch
new file mode 100644
index 0000000..31edbbc
--- /dev/null
+++ b/0001-Upload-.crate-files-to-lookaside-cache.patch
@@ -0,0 +1,28 @@
+From 00a89ee07132a0d11ae35ce370cb0579b2b9defe Mon Sep 17 00:00:00 2001
+From: Ondrej Nosek <onosek@redhat.com>
+Date: Mon, 18 Mar 2019 13:00:12 +0100
+Subject: [PATCH] Upload .crate files to lookaside cache
+
+Fixes: https://pagure.io/fedpkg/issue/312
+
+Signed-off-by: Ondrej Nosek <onosek@redhat.com>
+---
+ pyrpkg/__init__.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/pyrpkg/__init__.py b/pyrpkg/__init__.py
+index a70f775..b3b8f5f 100644
+--- a/pyrpkg/__init__.py
++++ b/pyrpkg/__init__.py
+@@ -89,7 +89,7 @@ class Commands(object):
+     UPLOADEXTS = ['tar', 'gz', 'bz2', 'lzma', 'xz', 'Z', 'zip', 'tff',
+                   'bin', 'tbz', 'tbz2', 'tgz', 'tlz', 'txz', 'pdf', 'rpm',
+                   'jar', 'war', 'db', 'cpio', 'jisp', 'egg', 'gem', 'spkg',
+-                  'oxt', 'xpi']
++                  'oxt', 'xpi', 'crate']
+ 
+     def __init__(self, path, lookaside, lookasidehash, lookaside_cgi,
+                  gitbaseurl, anongiturl, branchre, kojiconfig,
+-- 
+2.21.0
+

diff --git a/rpkg.spec b/rpkg.spec
index 6fae5a8..793481e 100644
--- a/rpkg.spec
+++ b/rpkg.spec
@@ -4,7 +4,7 @@
 
 Name:           rpkg
 Version:        1.57
-Release:        6%{?dist}
+Release:        7%{?dist}
 
 Summary:        Python library for interacting with rpm+git
 License:        GPLv2+ and LGPLv2
@@ -12,7 +12,6 @@ URL:            https://pagure.io/rpkg
 BuildArch:      noarch
 Source0:        https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz
 
-
 # Fix for bug 1579367
 # Due to https://pagure.io/koji/issue/912, python[23]-koji package does not
 # have egginfo.
@@ -23,6 +22,9 @@ Source0:        https://pagure.io/releases/rpkg/%{name}-%{version}.tar.gz
 # remove rpm-py-installer for now.
 Patch0:         remove-koji-and-rpm-py-installer-from-requires.patch
 
+# https://pagure.io/rpkg/c/00a89ee07132a0d11ae35ce370cb0579b2b9defe
+Patch0001:      0001-Upload-.crate-files-to-lookaside-cache.patch
+
 %if 0%{?fedora} || 0%{?rhel} > 7
 # Enable python3 build by default
 %global with_python3 1
@@ -258,6 +260,9 @@ nosetests tests
 
 
 %changelog
+* Wed Mar 20 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.57-7
+- Backport patch for uploading *.crate into lookaside
+
 * Thu Feb 07 2019 Ondřej Nosek <onosek@redhat.com> - 1.57-6
 - Revert previous change.
   Now python-gobject-base & libmodulemd are removed from epel7 and RHEL7

                 reply	other threads:[~2026-08-10 21:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178639824199.1.10731245389322770293.rpms-rpkg-cbcb1400bf4c@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox