#530 External repositories are ignored in custom srpm build
Closed: MIGRATED a year ago by nikromen. Opened 5 years ago by pemensik.

This issue is a bit related to
#529. When I tried to workaround missing lookaside on non-public copr, I used custom script method instead of SCM+rpkg. If my source build requires something from repo not in mock by default, I have to install repo in script itself.

I think any external repositories specified in settings should be installed before building source if possible. It is always possible to manually upgrade from script. Comes handy if script tends to be the same, differs only in package name.

Is it possible to read package and release names of package built from environment btw?


It is compromise from https://pagure.io/copr/copr/pull-request/185 where we decided to not share mock configuration for for building RPMs and for building SRPMs (minimal build root packages, external repositories); we decided that one day we'll add a separate configuration option with "External repositories" into custom SRPM build. It was pretty complicated pull request even without this, to put the reason here...

Is it possible to read package and release names of package built from environment btw?

If we added an "External repositories" options for custom SRPM build (as discussed in previous paragraph), you'd be able to specify copr://USER/PROJECT explicitly. That said, I'm not sure that it is everyone's desire to have that repo enabled by default for SRPM build...

That said, specifying "external repos" for the purpose of SRPM build (for any method, not only custom) seems to be completely valid RFE to me.

Metadata Update from @praiskup:
- Issue tagged with: RFE

5 years ago

Packit would have use for this. They are getting "packit.rpm" from packit/packit-stable into every custom source build they do.

Metadata Update from @praiskup:
- Issue tagged with: packit

2 years ago

I'll have a look at it :)

Commit b978d7f relates to this ticket

Commit 6684f17 relates to this ticket

Commit bf3de18 relates to this ticket

Commit bb7e022 relates to this ticket

Metadata Update from @nikromen:
- Issue close_status updated to: MIGRATED
- Issue status updated to: Closed (was: Open)

a year ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #2352 Merged a year ago