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
#!/bin/sh | |
bugzilla modify -l 'You can make multi-line | |
comment | |
like this.' <bugid> |
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
#!/bin/sh | |
echo bugid1 bugid2 | xargs echo bugzilla modify -l 'You can make multi-line | |
comment | |
like this.' -s WONTFIX |
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
from ticketutil.jira import JiraTicket | |
# To test run: | |
# kdestroy | |
# export KRB5_CLIENT_KTNAME=<path to keytab> | |
# python <this script> | |
JIRA_URL = "https://projects.engineering.redhat.com" | |
t = JiraTicket(JIRA_URL, |
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
import logging | |
from ticketutil.jira import JiraTicket | |
logging.basicConfig(level=logging.DEBUG) | |
# To test run: | |
# kdestroy | |
# export KRB5_CLIENT_KTNAME=<path to keytab> | |
# python <this script> |
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
- project: | |
name: sochotni-pipeline-throttle | |
jobs: | |
- "sochotni-pipeline-throttle": | |
- job-template: | |
name: "sochotni-pipeline-throttle" | |
project-type: pipeline | |
concurrent: true |
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
# object files and libs | |
*.[ao] | |
*.so | |
*.elc | |
.hg | |
#python compiled files | |
*.py[co] |
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
import yaml | |
from buildbot.plugins import steps, util | |
class ToxCommand(steps.ShellCommand): | |
def start(self): | |
if self.getProperty("tox-env"): | |
self.setCommand(["tox", "-e", self.getProperty("tox-env")]) | |
else: | |
self.setCommand(["tox"]) # succes if no tox checks defined |
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
import yaml | |
from buildbot.plugins import steps, util | |
class AQETrigger(steps.Trigger): | |
def getSchedulersAndProperties(self): | |
bbconfig = self.getProperty("bbconfig", "{}") | |
ret = [] | |
bbconfig = yaml.safe_load(bbconfig) | |
print(bbconfig) |
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
import logging | |
import os | |
import bz2 | |
import csv | |
import requests | |
import time | |
from io import StringIO | |
logging.basicConfig(level=logging.DEBUG) | |
logging.getLogger("urllib3").setLevel(logging.WARNING) |
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
#!/bin/sh | |
PATH="$HOME/bin:$PATH" | |
export SDL_AUDIODRIVER=pulse | |
export _JAVA_AWT_WM_NONREPARENTING=1 | |
export QT_AUTO_SCREEN_SCALE_FACTOR=1 | |
export QT_QPA_PLATFORM=wayland-egl | |
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 |