Just sharing information.

When talking with a person in modularity team, I have told that for a
module config yaml file's below elements, the empty array "[]" was
recommended on Fedora.

/data/dependencies/buildrequires/platform
/data/dependencies/requires/platform

Because when platform is  "[]", the module is built on current
supported platforms (right now f28, f29, and f30). The binary of the
module are prepared for each platform.
I hope the document is updated including this recommended setting as a
best practice.

```
diff --git a/ruby.yaml b/ruby.yaml
         tracker: https://bugs.ruby-lang.org/
     dependencies:
         - buildrequires:
-            platform: [f29]
+            platform: []
           requires:
-            platform: [f29]
+            platform: []
     components:
         # SRPMs
         rpms:
```

Also seeing several modules' config YAML files, some config files are
still version 1.
I like to share that we can use the version 2, changing the /version
element from 1 to 2.

Version 2 spec:
https://github.com/fedora-modularity/libmodulemd/blob/master/spec.v2.yaml

Regards,

-- 
Jun Aruga jar...@redhat.com
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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

Reply via email to