From a52cc6222a66242e62cc0869aa77b099b2b038b5 Mon Sep 17 00:00:00 2001 From: Yuchen Pei Date: Mon, 26 Jun 2023 17:28:40 +1000 Subject: Prepare for elpa * .gitignore: Adding elc * README.org: minor changes to intro and todos * buildbot-client.el: minor formatting and documentation fix * buildbot-utils.el: minor formatting fix * buildbot-view.el: minor formatting and require fix * buildbot.el: minor keywords and formatting fix --- buildbot-client.el | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) (limited to 'buildbot-client.el') diff --git a/buildbot-client.el b/buildbot-client.el index ecc5757..a681583 100644 --- a/buildbot-client.el +++ b/buildbot-client.el @@ -1,32 +1,34 @@ ;;; buildbot-client.el --- Client code using buildbot api -*- lexical-binding: t; -*- ;; Copyright (C) 2023 Free Software Foundation, Inc. -;; +;; ;; This file is part of buildbot.el. -;; -;; buildbot.el is free software: you can redistribute it and/or modify it under -;; the terms of the GNU Affero General Public License as published by the Free -;; Software Foundation, either version 3 of the License, or (at your option) any -;; later version. -;; -;; buildbot.el is distributed in the hope that it will be useful, but WITHOUT -;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS -;; FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more -;; details. -;; -;; You should have received a copy of the GNU Affero General Public License -;; along with buildbot.el. If not, see . +;; +;; buildbot.el is free software: you can redistribute it and/or modify +;; it under the terms of the GNU Affero General Public License as +;; published by the Free Software Foundation, either version 3 of the +;; License, or (at your option) any later version. +;; +;; buildbot.el is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; Affero General Public License for more details. +;; +;; You should have received a copy of the GNU Affero General Public +;; License along with buildbot.el. If not, see +;; . ;;; Commentary: -;; buildbot-client provides functions for buildbot.el to get stuff from a -;; buildbot server. +;; buildbot-client provides functions for buildbot.el to get stuff +;; from a buildbot server. ;;; Code: (require 'buildbot-utils) -(defvar buildbot-host) -(defvar buildbot-builders) +(defvar buildbot-host nil "Buildbot instance host") +(defvar buildbot-builders nil + "Buildbot builders. Can be generated with (buildbot-get-all-builders)") (defun buildbot-api-change (attr) (buildbot-url-fetch-json -- cgit v1.2.3