Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh
helpers
_service:obs_scm:olh-osc-append-comment.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:olh-osc-append-comment.sh of Package helpers
#!/bin/bash set -e unset LANG unset ${!LC_*} oIFS=$IFS IFS=/ set -- $@ IFS=$oIFS : $* case "$4/$5" in # https://api-host/request/show/RQ#-comment-NR request/show) host=$3 RQ_comment=$6 ;; *) echo "${0##*/}: Unknown request $4/$5" ; exit 1 ;; esac # case "${host}" in pmbs.links2linux.de) cmd='pbs' ;; pmbs.links2linux.org) cmd='pbs' ;; build.opensuse.org) cmd='obs' ;; build.suse.de) cmd='ibs' ;; *) echo "Unknown API host ${host}" ; exit 1 ;; esac # RQ=${RQ_comment%%#*} comment=${RQ_comment##*-} exec "${cmd}" comment 'create' -p "${comment}" 'request' "${RQ}"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor