From nobody Sun Jan 21 04:40:38 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4THgy65SCfz58H3J for ; Sun, 21 Jan 2024 04:54:54 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4THgy5504kz4d0T for ; Sun, 21 Jan 2024 04:54:53 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=freebsd.org (policy=none); spf=softfail (mx1.freebsd.org: 198.144.192.42 is neither permitted nor denied by domain of yuri@FreeBSD.org) smtp.mailfrom=yuri@FreeBSD.org Received: from [192.168.5.3] (c-98-42-44-116.hsd1.ca.comcast.net [98.42.44.116]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 40L4edWi015107 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 20 Jan 2024 20:40:39 -0800 (PST) (envelope-from yuri@FreeBSD.org) X-Authentication-Warning: shell1.rawbw.com: Host c-98-42-44-116.hsd1.ca.comcast.net [98.42.44.116] claimed to be [192.168.5.3] Content-Type: multipart/alternative; boundary="------------cLSo0hczxDh6NwEar1ylF47c" Message-ID: Date: Sat, 20 Jan 2024 20:40:38 -0800 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: "ports@freebsd.org" From: Yuri Subject: Is API to access status of build servers documented? X-Spamd-Bar: + X-Spamd-Result: default: False [1.71 / 15.00]; VIOLATED_DIRECT_SPF(3.50)[]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; ONCE_RECEIVED(0.10)[]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; TO_DN_EQ_ADDR_ALL(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; GREYLIST(0.00)[pass,body]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[yuri]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; R_SPF_SOFTFAIL(0.00)[~all:c]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:7961, ipnet:198.144.192.0/23, country:US]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; HAS_XAW(0.00)[] X-Rspamd-Queue-Id: 4THgy5504kz4d0T This is a multi-part message in MIME format. --------------cLSo0hczxDh6NwEar1ylF47c Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I found experimentally that the list of all build categories can be obtained using this request: http://{server}/data/.data.json The list of all builds in one category can be obtained using this request: http://{server}/data/140amd64-default/.data.json The per-package status in one build can be obtained using this request: http://{server}/data/140amd64-default/2c606b8e6de6/.data.json What I couldn't determine is the query to find all active build servers. Does such query exist? Is this API documented anywhere? Thank you, Yuri --------------cLSo0hczxDh6NwEar1ylF47c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit I found experimentally that the list of all build categories can be obtained using this request:
http://{server}/data/.data.json


The list of all builds in one category can be obtained using this request:
http://{server}/data/140amd64-default/.data.json



The per-package status in one build can be obtained using this request:
http://{server}/data/140amd64-default/2c606b8e6de6/.data.json


What I couldn't determine is the query to find all active build servers.
Does such query exist?


Is this API documented anywhere?



Thank you,
Yuri

--------------cLSo0hczxDh6NwEar1ylF47c--