Bug 1269707 - RFE: fedpkg-like commands - clone, prep, local, srpm, sources
Summary: RFE: fedpkg-like commands - clone, prep, local, srpm, sources
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Copr
Classification: Community
Component: cli
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Suchý
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-08 02:52 UTC by Jens Petersen
Modified: 2017-11-02 11:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-02 11:43:59 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1410403 0 unspecified CLOSED fedpkg-copr: don't depend on fedpkg 2021-02-22 00:41:40 UTC

Internal Links: 1410403

Description Jens Petersen 2015-10-08 02:52:37 UTC
Description of problem:
Now that Copr has (readonly) distgit support (thanks so much!)
it would be cool if copr-cli could support fedpkg-like commands
such as 'clone', 'prep', 'local', 'srpm', etc.
Allowing 'build' to also build from current git working dir
would also be nice: maybe it could get sort out git pull
after successful build?

Version-Release number of selected component (if applicable):
copr-cli-1.44-1.fc22

Comment 1 Pavel Raiskup 2017-01-17 14:41:55 UTC
Jens, you can (with a bit of work) rpkg.  See the "see also" bug with PoC,
that's read-only of course.
https://bugzilla.redhat.com/show_bug.cgi?id=1410403

Comment 2 Jens Petersen 2017-07-06 02:58:34 UTC
Thanks I installed fedpkg-copr

Comment 3 clime 2017-11-02 11:43:59 UTC
Hey Jens!

We now have `rpkg` command-line utility exactly for this. It is based on python-rpkg library and does exactly what you have asked for. Upstream is placed here: https://pagure.io/rpkg-client (name of the repository is rpkg-client because there already exists rpkg repo, which is the library).

Thank you for this suggestion!


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