From 13d5b0e0bd7808f43ff0b244de3d1a4978385ab4 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Wed, 11 Apr 2018 14:23:22 +0200 Subject: [PATCH] Switch to modulemd v2 --- ant.yaml | 15 +++---- koschei.cfg | 126 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+), 8 deletions(-) create mode 100644 koschei.cfg diff --git a/ant.yaml b/ant.yaml index 53fced3..51ff4d3 100644 --- a/ant.yaml +++ b/ant.yaml @@ -1,6 +1,6 @@ --- document: modulemd -version: 1 +version: 2 data: summary: Java build tool description: >- @@ -16,11 +16,10 @@ data: module: - MIT dependencies: - buildrequires: - javapackages-tools: master - java: master - requires: - java: master + - buildrequires: + javapackages-tools: [201801] + requires: + platform: [] profiles: default: rpms: @@ -91,8 +90,8 @@ data: %_without_testlib 1 components: rpms: - # ant-1.10.1-8.fc28.1 ant: + buildorder: 10 + ref: javapackages rationale: > Module API. - ref: ce4b0fb diff --git a/koschei.cfg b/koschei.cfg new file mode 100644 index 0000000..cc56865 --- /dev/null +++ b/koschei.cfg @@ -0,0 +1,126 @@ +# -*- python -*- +# vim: ft=python +config = { + "buildrequires": [ + "javapackages-tools", + ], + "requires": [ + "platform", + ], + + "bootstrap": False, + "full_refs": False, + "default_ref": "javapackages", + "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": [ + "python-lxml", + ], + "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_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.fedoraproject.org/kojihub", + "topurl": "https://kojipkgs.fedoraproject.org", + "multicall_chunk_size": 1000, + }, + "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" + }, + }, + }, +}