This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import itertools | |
import solv | |
REL_MAP = { | |
">": solv.REL_GT, | |
"=": solv.REL_EQ, | |
">=": solv.REL_GT | solv.REL_EQ, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# Print dependency tree for buildroot | |
# Author: Mikolaj Izdebski <mizdebsk@redhat.com> | |
import dnf.sack | |
import dnf.subject | |
import hawkey | |
import koji | |
import librepo | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Path where to copy artifacts, you can change it to ~/.m2/repository | |
repo_path = "/tmp/myrepo" | |
# List of artifacts to copy | |
coords = ["junit:junit:4.11", | |
"org.sonatype.sisu:sisu-guice::no_aop:3.2.5", | |
"org.apache.commons:commons-lang:1.2.3"] | |
import os | |
import re | |
import shutil |