From 41bf69cc7cbc8684c6fdf8672dfc2c77a86ec21d Mon Sep 17 00:00:00 2001 From: Adam Samalik Date: Thu, 23 Feb 2023 11:47:58 +0000 Subject: [PATCH] update modulemd etc --- ant.yaml | 101 +++++++++++++++++++++++++++++++++++++++++ gating.yaml | 7 +++ koschei.cfg | 127 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 235 insertions(+) create mode 100644 ant.yaml create mode 100644 gating.yaml create mode 100644 koschei.cfg diff --git a/ant.yaml b/ant.yaml new file mode 100644 index 0000000..04f8cc7 --- /dev/null +++ b/ant.yaml @@ -0,0 +1,101 @@ +--- +document: modulemd +version: 2 +data: + summary: Java build tool + description: >- + Apache Ant is a Java library and command-line tool whose mission + is to drive processes described in build files as targets and extension + points dependent upon each other. The main known usage of Ant is the + build of Java applications. Ant supplies a number of built-in tasks + allowing to compile, assemble, test and run Java applications. Ant can + also be used effectively to build non Java applications, for instance C + or C++ applications. More generally, Ant can be used to pilot any type + of process which can be described in terms of targets and tasks. + license: + module: + - MIT + dependencies: + - buildrequires: + javapackages-tools: [201801] + platform: [el8] + requires: + platform: [] + references: + community: https://ant.apache.org/ + profiles: + common: + rpms: + - ant + api: + rpms: + - ant + filter: + rpms: + - ant-antlr + - ant-apache-bcel + - ant-apache-bsf + - ant-apache-log4j + - ant-apache-oro + - ant-apache-regexp + - ant-apache-resolver + - ant-apache-xalan2 + - ant-commons-logging + - ant-commons-net + - ant-javadoc + - ant-javamail + - ant-jdepend + - ant-jmf + - ant-jsch + - ant-junit + - ant-manual + - ant-swing + - ant-testutil + - ant-xz + buildopts: + rpms: + macros: | + %_with_xmvn_javadoc 1 + %_without_asciidoc 1 + %_without_avalon 1 + %_without_bouncycastle 1 + %_without_cython 1 + %_without_dafsa 1 + %_without_desktop 1 + %_without_doxygen 1 + %_without_dtd 1 + %_without_eclipse 1 + %_without_ehcache 1 + %_without_emacs 1 + %_without_equinox 1 + %_without_fop 1 + %_without_ftp 1 + %_without_gradle 1 + %_without_groovy 1 + %_without_hadoop 1 + %_without_hsqldb 1 + %_without_itext 1 + %_without_jackson 1 + %_without_jmh 1 + %_without_jna 1 + %_without_jpa 1 + %_without_junit5 1 + %_without_logback 1 + %_without_markdown 1 + %_without_memcached 1 + %_without_memoryfilesystem 1 + %_without_obr 1 + %_without_python 1 + %_without_reporting 1 + %_without_scm 1 + %_without_snappy 1 + %_without_spring 1 + %_without_ssh 1 + %_without_testlib 1 + components: + rpms: + ant: + buildorder: 10 + ref: stream-ant-1.10 + rationale: > + Module API. diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..9f1d298 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-8 +decision_context: osci_compose_gate_modules +subject_type: redhat-module +rules: + - !PassingTestCaseRule {test_case_name: baseos-ci.redhat-module.tier1.functional} diff --git a/koschei.cfg b/koschei.cfg new file mode 100644 index 0000000..07712de --- /dev/null +++ b/koschei.cfg @@ -0,0 +1,127 @@ +# -*- python -*- +# vim: ft=python +config = { + "buildrequires": [ + "javapackages-tools", + ], + "requires": [ + "platform", + ], + + "bootstrap": False, + "full_refs": False, + "default_ref": "stream-ant-1.10", + "include_build_deps": False, + "closure": False, + "filter_unused": True, + "topo_sort": True, + + "api": [ + "ant", + ], + "profiles": { + "default": ["ant"], + }, + "filter": [ + ], + "includes": [ + ], + "excludes": [ + "javapackages-tools", + "java-1.7.0-openjdk", + "java-1.8.0-openjdk", + ], + "frozen_refs": [ + ], + "stream_override": { + "javapackages-tools": { + "1.10": "[201801]", + }, + "platform": { + "1.10": "[]", + }, + }, + + "macros": { + "_with_xmvn_javadoc": 1, + "_without_asciidoc": 1, + "_without_avalon": 1, + "_without_bouncycastle": 1, + "_without_cython": 1, + "_without_dafsa": 1, + "_without_desktop": 1, + "_without_doxygen": 1, + "_without_dtd": 1, + "_without_eclipse": 1, + "_without_ehcache": 1, + "_without_emacs": 1, + "_without_equinox": 1, + "_without_fop": 1, + "_without_ftp": 1, + "_without_gradle": 1, + "_without_groovy": 1, + "_without_hadoop": 1, + "_without_hsqldb": 1, + "_without_itext": 1, + "_without_jackson": 1, + "_without_jmh": 1, + "_without_jna": 1, + "_without_jpa": 1, + "_without_junit5": 1, + "_without_logback": 1, + "_without_markdown": 1, + "_without_memcached": 1, + "_without_memoryfilesystem": 1, + "_without_obr": 1, + "_without_python": 1, + "_without_reporting": 1, + "_without_scm": 1, + "_without_snappy": 1, + "_without_spring": 1, + "_without_ssh": 1, + "_without_testlib": 1, + }, + + "summary": "Java build tool", + "description": """\ + Apache Ant is a Java library and command-line tool whose mission + is to drive processes described in build files as targets and extension + points dependent upon each other. The main known usage of Ant is the + build of Java applications. Ant supplies a number of built-in tasks + allowing to compile, assemble, test and run Java applications. Ant can + also be used effectively to build non Java applications, for instance C + or C++ applications. More generally, Ant can be used to pilot any type + of process which can be described in terms of targets and tasks. + """, + + "koji_config": { + "server": "https://koji.kjnet.xyz/kojihub", + "topurl": "https://koji.kjnet.xyz/kojifiles", + "multicall_chunk_size": 1000, + "tag_name": "hybrid", + }, + "dependency": { + "repo_arch": "x86_64", + "resolve_for_arch": "x86_64", + "ignore_weak_deps": True, + "cache_l2_capacity": 2, + }, + "directories": { + "cachedir": "/tmp/maven-modulemd-gen", + }, + "logging": { + "version": 1, + "loggers": { + "": { + "level": "INFO", + "handlers": ["stderr"], + }, + }, + "handlers": { + "stderr": { + "class": "logging.StreamHandler", + "stream": "ext://sys.stderr" + }, + }, + }, +}