branch: master commit 228610373722e05776b2af8a03064c6a56f04e2c Author: Tino Calancha <tino.calan...@gmail.com> Commit: Tino Calancha <tino.calan...@gmail.com>
gited-ci.el: Fix copyright stuff * elpa/packages/gited/gited-ci.el: Fix FSF copyright assignment. Add some text in the comentary section. Move the copyright section above the comentary. (gited-show-trunk-ci-status): Fix docstring. * gited.el: Bump version to 0.5.3. --- packages/gited/gited-ci.el | 26 ++++++++++++++++---------- packages/gited/gited.el | 2 +- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/packages/gited/gited-ci.el b/packages/gited/gited-ci.el index cf0f311..63bbd80 100644 --- a/packages/gited/gited-ci.el +++ b/packages/gited/gited-ci.el @@ -6,13 +6,9 @@ ;; Author: Tino Calancha <tino.calan...@gmail.com> ;; Maintainer: Tino Calancha <tino.calan...@gmail.com> ;; URL: https://github.com/calancha/Gited -;; Copyright (C) 2016-2018, Tino Calancha, all rights reserved. -;; - -;;; Commentary: -;; - +;; Copyright (C) 2016-2018 Free Software Foundation, Inc. ;; +;;; ;; Internal variables defined here: ;; ;; `gited-last-trunk-commit', `gited-trunk-ci-status', @@ -40,7 +36,7 @@ ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; -;; This file is NOT part of GNU Emacs. +;; This file is part of GNU Emacs. ;; ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -54,6 +50,15 @@ ;; ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. + + +;;; Commentary: +;; +;; Show the CI status of the trunk branch in the Gited buffer. +;; Different status displays the commit line with different +;; faces. For instance, green if all the test are OK and red +;; if any of them fails. +;; ;;; Code: @@ -62,9 +67,10 @@ ;; TODO: Support more CI services. (defcustom gited-show-trunk-ci-status nil "Show CI status for the last commit in the trunk branch. -An alist of conses ((TOPLEVEL_DIR_1 . CI-URI_1) (TOPLEVEL_DIR_2 . CI-URI_2) ... ). -TOPLEVEL_DIR_I is the toplevel directory for the ith local Git repository. -CI_URI_I is the URI to access the Continous Integration system. +A list of elements (TOPLEVEL_DIR . CI-URI). +TOPLEVEL_DIR is the toplevel directory for the local Git repository. +CI_URI is the URI to access the Continous Integration system. + Supported CI are Gitlab, Travis and CircleCI: for Gitlab, you need to provide all but the commit hash, for instance, in the case of the Emacs Gitlab CI, the value is diff --git a/packages/gited/gited.el b/packages/gited/gited.el index 14fdbfb..077afe9 100644 --- a/packages/gited/gited.el +++ b/packages/gited/gited.el @@ -8,7 +8,7 @@ ;; Created: Wed Oct 26 01:28:54 JST 2016 ;; Compatibility: GNU Emacs: 24.4 -;; Version: 0.5.2 +;; Version: 0.5.3 ;; Package-Requires: ((emacs "24.4") (cl-lib "0.5")) ;; Last-Updated: Tue May 15 13:30:52 JST 2018 ;; By: calancha