#48 Instructions on cloning a container repo using fedpkg are missing/incomplete
Closed by cverna. Opened by ankursinha.

Hello,

I was in the process of building the new compneuro container image and wasn't sure how to clone the repo using fedpkg. I thought one would use namespaces, so I tried combinations like:

fedpkg --namespace container clone compneuro

but none of this actually changed the namespace. It always tried to clone from the rpms namespace.

Finally jsmith asked me to try:

fedpkg co container/compneuro

and that worked. But this isn't really documented anywhere, and the namespace bit in fedpkg makes it a bit confusing. Could this command please be added to the docs? (If --namespace is supposed to work, I'm happy to file a bug with fedpkg too).


Indeed in the documentation is using git directly https://github.com/containers/docs/blob/master/modules/ROOT/pages/introduction.adoc#cloning-a-dist-git-repository-and-building-a-image

Would you like to make a PR to add fedpkg ?

Sure---is the command with container/<container name> the correct thing to do? Is the --namespace option not meant to work?

I have always used either git or fedpkg container/container_name, so I don't know if --namespace should work, might be worth opening a fedpkg issue to track that.

Sounds good. I'll work on this later this week. On my task list now.

PR opened: https://github.com/containers/docs/pull/7

Thanks, merged :-) closing this ticket

Metadata Update from @cverna:
- Issue status updated to: Closed (was: Open)

Metadata