diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 90080ef..b6ab06d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -9,6 +9,9 @@ contact_links: - name: Watch the hive live on Twitch url: https://www.twitch.tv/hivecommons about: Live stream of the hosted hive's Activity Monitor — see issues and PRs move through the pipeline in real time. + - name: Join the community meeting + url: https://docs.hivecommons.dev/docs/community/meetings + about: Public Hive Commons meeting every other Thursday — schedule, join link, agenda and calendar. - name: Propose a project to join Hive Commons url: https://github.com/hivecommons/.github/issues/new?template=join-hive-commons.yml about: Project proposals for the Hive Commons family are handled in the hivecommons/.github repository. diff --git a/README.md b/README.md index 52ff9b6..2b30368 100644 --- a/README.md +++ b/README.md @@ -216,7 +216,7 @@ A small Swift package (`HotshotCore` for pure logic, `HotshotApp` for the watche - **Where it's heading:** [ROADMAP.md](ROADMAP.md) lists near-term work: package distribution, cross-platform parity, and more terminal and AI CLI targets. - **Report a problem or ask for support:** open a [bug report](https://github.com/hivecommons/hotshot/issues/new?template=bug_report.yml), a [terminal or AI CLI support request](https://github.com/hivecommons/hotshot/issues/new?template=target_request.yml), or a [feature request](https://github.com/hivecommons/hotshot/issues/new?template=feature_request.yml). - **Security:** please don't file vulnerabilities as public issues. Follow [SECURITY.md](SECURITY.md). -- **Chat:** ask setup and contributor questions in the [Hive Commons Discord](https://hivecommons.dev/discord), or watch the hive live on [Twitch](https://www.twitch.tv/hivecommons). +- **Chat:** ask setup and contributor questions in the [Hive Commons Discord](https://hivecommons.dev/discord), or watch the hive live on [Twitch](https://www.twitch.tv/hivecommons). To talk to the maintainers live, join the biweekly [Hive Commons community meeting](https://docs.hivecommons.dev/docs/community/meetings). - **Code of Conduct:** hotshot follows the [Hive Commons Code of Conduct](https://github.com/hivecommons/.github/blob/main/CODE_OF_CONDUCT.md). ## License diff --git a/Tests/HotshotCoreTests/RepoMetadataDriftTests.swift b/Tests/HotshotCoreTests/RepoMetadataDriftTests.swift index e779c85..24ad4c6 100644 --- a/Tests/HotshotCoreTests/RepoMetadataDriftTests.swift +++ b/Tests/HotshotCoreTests/RepoMetadataDriftTests.swift @@ -183,6 +183,29 @@ final class RepoMetadataDriftTests: XCTestCase { XCTAssertGreaterThan(linked, 0, "expected the forms to link SECURITY.md / ROADMAP.md / the runbook") } + // MARK: - community links + + /// Hive Commons community entry points, kept in step with the + /// hivecommons/hive README Community line. + private static let communityLinks: [(name: String, url: String)] = [ + ("Discord", "https://hivecommons.dev/discord"), + ("Twitch live stream", "https://www.twitch.tv/hivecommons"), + ("community meeting", "https://docs.hivecommons.dev/docs/community/meetings"), + ] + + func testReadmeAndIssueChooserLinkEveryCommunityChannel() throws { + let readme = try repoText("README.md") + let chooserURLs = try captures( + "^ +url:[ \\t]*(\\S+)$", in: try repoText(".github/ISSUE_TEMPLATE/config.yml"), + options: .anchorsMatchLines) + for link in Self.communityLinks { + XCTAssertTrue(readme.contains("](\(link.url))"), "README.md does not link the \(link.name) (\(link.url))") + XCTAssertTrue( + chooserURLs.contains(link.url), + ".github/ISSUE_TEMPLATE/config.yml does not link the \(link.name) (\(link.url))") + } + } + // MARK: - OWNERS func testOwnersListsValidApproversAndReviewers() throws {