Bug 1917998 - Review Request: oc-inject - Copy an executable to an OpenShift container and run it
Summary: Review Request: oc-inject - Copy an executable to an OpenShift container and ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Frank Ch. Eigler
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-19 19:34 UTC by Serhei Makarov
Modified: 2021-02-19 01:13 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-02-19 01:13:41 UTC
Type: ---
Embargoed:
fche: fedora-review+


Attachments (Terms of Use)

Description Serhei Makarov 2021-01-19 19:34:30 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/serhei/oc-inject/fedora-rawhide-x86_64/01889778-oc-inject/oc-inject.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/serhei/oc-inject/fedora-rawhide-x86_64/01889778-oc-inject/oc-inject-0.7.9-2.fc34.src.rpm
Description: Copy an executable to an OpenShift container and run the executable.

oc-inject is a prototype tool for last-resort troubleshooting of a
running container, when a required debugging tool is not present in
the container image.
Fedora Account System Username: smakarov

Note: This is my first new package submission for Fedora. I maintain an upstream repo of this project at https://github.com/serhei/oc-inject.

Koji scratch build at https://koji.fedoraproject.org/koji/taskinfo?taskID=59983051

Comment 1 Serhei Makarov 2021-01-20 17:21:12 UTC
Fixed Source0 in the spec file and updated URLs in the comment above.

New koji build at https://koji.fedoraproject.org/koji/taskinfo?taskID=60105083

Comment 2 Frank Ch. Eigler 2021-01-20 17:23:29 UTC
Generally looks fine & simple.

A few nits:
- Source: github url should be corrected

- Consider noting the oc dependency (origin-clients or perhaps 
  kubernetes-client)

- Consider noting the java related soft dependencies

- @JAVA_HOME@ needs to be expanded properly within oc-inject, maybe
  to an os.environ[] expression?

Comment 3 Frank Ch. Eigler 2021-01-20 17:49:24 UTC
% rpmlint oc-inject-0.7.9-2.fc34.src.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.
% rpmlint oc-inject-0.7.9-2.fc34.noarch.rpm 
1 packages and 0 specfiles checked; 0 errors, 0 warnings.

% mock -r fedora-33-x86_64 --rebuild oc-inject-0.7.9-2.fc34.src.rpm
[fine]

Comment 4 Serhei Makarov 2021-01-21 17:30:35 UTC
Built another version of the package.
(The %if 0%{?fedora} is temporary as COPR EPEL builds don't seem to understand 'Recommends'.
I need to decide what to do there, but it's not relevant for Fedora.)

New Spec URL: https://download.copr.fedorainfracloud.org/results/serhei/oc-inject/fedora-rawhide-x86_64/01891060-oc-inject/oc-inject.spec
New SRPM URL: https://download.copr.fedorainfracloud.org/results/serhei/oc-inject/fedora-rawhide-x86_64/01891060-oc-inject/oc-inject-0.7.9-3.fc34.src.rpm

New Koji build: https://koji.fedoraproject.org/koji/taskinfo?taskID=60157863

Comment 5 Frank Ch. Eigler 2021-01-21 22:51:17 UTC
lgtm

Comment 6 Serhei Makarov 2021-01-22 21:48:30 UTC
fche, Thanks for the review.

Setting FE-NEEDSPONSOR since it looks like I do need it to proceed with the next step.

Comment 7 Serhei Makarov 2021-01-26 21:14:23 UTC
Nevermind, I remembered I was previously sponsored for fedora packaging under the 'smakarov' account. Clearing FE-NEEDSPONSOR and editing the username in the original review request.
Now if I could only get that account to log into Pagure....

Comment 8 Mohan Boddu 2021-01-29 16:36:16 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/oc-inject

Comment 9 Fedora Update System 2021-02-10 16:49:48 UTC
FEDORA-2021-03687eaf3c has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-03687eaf3c

Comment 10 Fedora Update System 2021-02-11 02:00:11 UTC
FEDORA-2021-03687eaf3c has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-03687eaf3c \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-03687eaf3c

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2021-02-19 01:13:41 UTC
FEDORA-2021-03687eaf3c has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.