Hi, Mikolaj,

On Fri, Mar 29, 2019 at 10:24 AM Mikolaj Izdebski <mizdebsk@redhat.com> wrote:
On Thu, Mar 28, 2019 at 7:46 PM Christopher <ctubbsii@fedoraproject.org> wrote:
>
> On Thu, Mar 28, 2019 at 9:50 AM Mikolaj Izdebski <mizdebsk@redhat.com> wrote:
> > - javapackages-tools, stream 201801 (buildroot-only module, not
> > intended to be delivered to users)
>
> How do I enable/install this module locally? It would be very helpful
> for local builds/testing, but is not available in:
> sudo dnf --releasever=30 module list

The official, recommended way of building modules locally is "fedpkg
module-build-local". This command should take care of fetching and
installing all required dependencies specified in modulemd being
built. Therefore in this case it is enough to add dependency on
javapackages-tools and it should "just work", for both local and
remote builds.

The module is not included in any compose, therefore dnf won't be able
to find it in default repos.

if I understand correctly, you say that javapackages-tools module is not included in any Fedora Modular repositories. But you want it to be included in Fedora buildroot through Ursa Major.

Can you explain why you don't make it available through a Modular repo?
 
If you really want to install the module
on your system for some reason then you can use ODCS [1] to generate a
compose containing the module. Install ODCS client with "dnf install
odcs-client" and then request compose with "odcs create module
javapackages-tools:201801". ODCS will (usually) quickly create repo
with the module and output repo URL, which you can put in a config
file under /etc/yum.repos.d/, or pass to dnf using --repofrompath
option. Note that contents of javapackages-tools module are not signed
and therefore you need to skip GPG verification in order to be able to
install it.

[1] https://pagure.io/odcs

--
Mikolaj Izdebski
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org