Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 23 additions & 0 deletions Tests/HotshotCoreTests/RepoMetadataDriftTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading