diff --git a/NEWS.md b/NEWS.md index 7259c744..3582b4a7 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,6 +2,12 @@ # coronet – Changelog +## Unreleased + +### Added + +- Add Zulip as a supported issue source for `issues.from.source` (2bbc9525f35f2fc53c586dec1192517e57e040f5 , d7b47b7ddb943f918b631ef8c194bde6caa94537, 1f34ee061f59ae06588dc4c9e83ebbad8ad7ffe1) + ## 5.1 ### Added diff --git a/README.md b/README.md index 7fc21d2b..2f2d6bb9 100644 --- a/README.md +++ b/README.md @@ -643,7 +643,7 @@ There is no way to update the entries, except for the revision-based parameters. * [*`TRUE`*, `FALSE`] - `issues.from.source` * Choose from which sources the issue data on disk is read in. Multiple sources can be chosen. - * [*`github`*, `jira`] + * [*`github`*, `jira`, `zulip`] - `issues.locked` * Lock issues to prevent them from being read if not yet present when calling the getter. * [`TRUE`, *`FALSE`*] diff --git a/util-conf.R b/util-conf.R index 281d2f3a..4b6459b0 100644 --- a/util-conf.R +++ b/util-conf.R @@ -28,6 +28,7 @@ ## Copyright 2022 by Jonathan Baumann ## Copyright 2024 by Leo Sendelbach ## Copyright 2025 by Maximilian Löffler +## Copyright 2026 by Ritika Hiremath ## All Rights Reserved. @@ -427,7 +428,7 @@ ProjectConf = R6::R6Class("ProjectConf", inherit = Conf, issues.from.source = list( default = "github", type = "character", - allowed = c("github", "jira"), + allowed = c("github", "jira", "zulip"), allowed.number = Inf ), issues.locked = list( diff --git a/util-read.R b/util-read.R index 9dc3ded6..64fd0e95 100644 --- a/util-read.R +++ b/util-read.R @@ -26,6 +26,7 @@ ## Copyright 2022 by Jonathan Baumann ## Copyright 2022-2023, 2025 by Maximilian Löffler ## Copyright 2024 by Leo Sendelbach +## Copyright 2026 by Ritika Hiremath ## All Rights Reserved. ## Note: @@ -339,10 +340,10 @@ ISSUES.LIST.DATA.TYPES = c( #' The original date of these events can always be found in the \code{"event.info.2"} column. #' #' @param data.path the path to the issue data -#' @param issues.sources the sources of the issue data. One or both of \code{"jira"} and \code{"github"}. +#' @param issues.sources the sources of the issue data. One or more of \code{"jira"}, \code{"github"}, and \code{"zulip"}. #' #' @return the read and parsed issue data -read.issues = function(data.path, issues.sources = c("jira", "github")) { +read.issues = function(data.path, issues.sources = c("jira", "github", "zulip")) { logging::logdebug("read.issues: starting.") ## check arguments