WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 1ab423d

Browse files
feat: initial version
1 parent 6f01653 commit 1ab423d

File tree

5 files changed

+241
-2
lines changed

5 files changed

+241
-2
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
# This file is centrally managed in https://github.com/<organization>/.github/
3+
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
4+
# the above-mentioned repo.
5+
6+
blank_issues_enabled: false
7+
contact_links:
8+
- name: Discussions
9+
url: https://github.com/orgs/LizardByte/discussions
10+
about: Community discussions
11+
- name: Questions
12+
url: https://github.com/orgs/LizardByte/discussions
13+
about: Ask questions
14+
- name: Feature Requests
15+
url: https://github.com/orgs/LizardByte/discussions
16+
about: Request new features
17+
- name: Support Center
18+
url: https://app.lizardbyte.dev/support
19+
about: Official LizardByte support

.github/ISSUE_TEMPLATE/roadmap.yml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
name: Roadmap Entry
3+
description: Add a new entry to the roadmap
4+
type: task
5+
projects:
6+
- LizardByte/22 # roadmap - https://github.com/orgs/LizardByte/projects/22
7+
body:
8+
- type: markdown
9+
attributes:
10+
value: >
11+
**THIS IS NOT THE PLACE TO ASK FOR SUPPORT OR FEATURE REQUESTS!** Please
12+
use our [Support Center](https://app.lizardbyte.dev/support) for support
13+
issues. Entries added by non-members will be ignored.
14+
- type: checkboxes
15+
attributes:
16+
label: Is there an existing issue for this item?
17+
description: Please search to see if an issue already exists.
18+
options:
19+
- label: I have searched the existing issues
20+
required: true
21+
- type: dropdown
22+
id: _repositories
23+
attributes:
24+
label: What repo(s) does this item apply to?
25+
description: Select the repo(s) this item applies to. You can select multiple repos.
26+
multiple: true
27+
options:
28+
- TODO
29+
- type: textarea
30+
id: description
31+
attributes:
32+
label: Description
33+
description: Provide details about this roadmap item
34+
placeholder: >-
35+
Describe what needs to be done, why it's important, and any other
36+
relevant details
37+
validations:
38+
required: true
39+
- type: dropdown
40+
id: priority
41+
attributes:
42+
label: Priority
43+
description: What priority level should this roadmap item have?
44+
options:
45+
- Critical (P0)
46+
- High (P1)
47+
- Medium (P2)
48+
- Low (P3)
49+
validations:
50+
required: true
51+
- type: dropdown
52+
id: milestone
53+
attributes:
54+
label: Target Milestone
55+
description: When do you expect this item to be completed?
56+
options:
57+
- Short-term (next 1-3 months)
58+
- Medium-term (3-6 months)
59+
- Long-term (6+ months)
60+
validations:
61+
required: true
62+
- type: textarea
63+
id: dependencies
64+
attributes:
65+
label: Dependencies
66+
description: List any dependencies or prerequisites for this roadmap item
67+
placeholder: 'e.g., "Requires completion of #123"'
Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
---
2+
name: Update Repositories List in Roadmap
3+
4+
on:
5+
workflow_dispatch:
6+
inputs:
7+
organizations:
8+
description: 'GitHub organizations to fetch repositories from (comma-separated)'
9+
required: true
10+
default: 'LizardByte,LizardByte-infrastructure'
11+
schedule:
12+
- cron: '0 0 * * *'
13+
pull_request:
14+
branches:
15+
- master
16+
types:
17+
- opened
18+
- reopened
19+
- synchronize
20+
paths:
21+
- '.github/ISSUE_TEMPLATE/roadmap.yml'
22+
push:
23+
branches:
24+
- master
25+
paths:
26+
- '.github/workflows/update_issue_templates.yml'
27+
28+
jobs:
29+
update-repositories:
30+
name: Update Repository List
31+
runs-on: ubuntu-latest
32+
steps:
33+
- name: Checkout
34+
uses: actions/checkout@v4
35+
36+
- name: Get organizations
37+
id: get_orgs
38+
run: |
39+
if [ "${{ github.event_name }}" == "workflow_dispatch" ]; then
40+
ORGS="${{ github.event.inputs.organizations }}"
41+
else
42+
ORGS="LizardByte,LizardByte-infrastructure" # Default organizations
43+
fi
44+
echo "orgs=$ORGS" >> $GITHUB_OUTPUT
45+
echo "Organizations to process: $ORGS"
46+
47+
- name: Fetch repositories
48+
id: fetch_repos
49+
uses: actions/github-script@v7
50+
with:
51+
github-token: ${{ secrets.GITHUB_TOKEN }}
52+
script: |
53+
const orgs = '${{ steps.get_orgs.outputs.orgs }}'.split(',').map(org => org.trim());
54+
let allRepos = [];
55+
56+
for (const org of orgs) {
57+
try {
58+
console.log(`Fetching repositories for organization: ${org}`);
59+
60+
const opts = github.rest.repos.listForOrg.endpoint.merge({
61+
org: org
62+
});
63+
64+
const repos = await github.paginate(opts);
65+
console.log(`Successfully fetched ${repos.length} repositories from ${org}`);
66+
67+
const activeRepos = repos
68+
.filter(repo => !repo.archived)
69+
.map(repo => `${org}/${repo.name}`);
70+
71+
console.log(`Found ${activeRepos.length} active repositories for ${org}`);
72+
allRepos = [...allRepos, ...activeRepos];
73+
} catch (error) {
74+
console.error(`Error fetching repositories for organization ${org}:`, error);
75+
throw new Error(`Failed to fetch repositories for organization ${org}`);
76+
}
77+
}
78+
79+
// Sort repositories alphabetically
80+
allRepos.sort();
81+
82+
console.log(`Found ${allRepos.length} repositories across ${orgs.length} organization(s)`);
83+
return allRepos;
84+
85+
- name: Update repositories dropdown
86+
id: update_dropdown
87+
uses: ShaMan123/[email protected]
88+
with:
89+
form: .github/ISSUE_TEMPLATE/roadmap.yml
90+
dropdown: _repositories
91+
options: ${{ steps.fetch_repos.outputs.result }}
92+
dry_run: no-commit
93+
94+
- name: git diff
95+
if: steps.update_dropdown.outputs.modified
96+
run: git diff --color
97+
98+
- name: Create/Update Pull Request
99+
if: |
100+
steps.update_dropdown.outputs.modified &&
101+
github.event_name != 'pull_request'
102+
uses: peter-evans/create-pull-request@v7
103+
with:
104+
add-paths: |
105+
.github/ISSUE_TEMPLATE/*.yml
106+
token: ${{ secrets.GH_BOT_TOKEN }}
107+
commit-message: "chore: Update repositories list in roadmap.yml"
108+
branch: bot/update-repositories-list
109+
delete-branch: true
110+
title: "chore: Update repositories list in roadmap.yml"
111+
body: |
112+
This PR updates the list of repositories in the roadmap issue template.
113+
The list was automatically generated by a GitHub Action.
114+
labels: |
115+
auto-approve
116+
auto-merge

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Ignore JetBrains IDEs
2+
.idea/

README.md

Lines changed: 37 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,37 @@
1-
# template-base
2-
Base repository template for LizardByte.
1+
# LizardByte Roadmap
2+
3+
This repository tracks the strategic roadmap for LizardByte projects across all our organizations.
4+
The roadmap consists of GitHub issues that outline future plans, improvements, and milestones for our projects.
5+
6+
## Purpose
7+
8+
This central roadmap repository helps us:
9+
- Coordinate development efforts across multiple repositories
10+
- Establish clear priorities and timelines
11+
- Track dependencies between projects
12+
- Provide transparency about our development direction
13+
14+
## How It Works
15+
16+
Roadmap items are maintained as GitHub issues in this repository. Each item includes:
17+
- Target repositories
18+
- Priority level
19+
- Timeline expectations
20+
- Dependencies
21+
- Detailed description
22+
23+
## For Team Members
24+
25+
To add a new roadmap item:
26+
1. Go to the [Issues tab](../../issues)
27+
2. Click "New Issue"
28+
3. Select the "Roadmap Entry" template
29+
4. Fill out all required fields
30+
31+
The repository list in the issue template is automatically updated daily with all active repositories across
32+
the LizardByte organizations.
33+
34+
## For the Community
35+
36+
This repository is primarily for internal planning. For feature requests or support questions,
37+
please use our [Support Center](https://app.lizardbyte.dev/support) or open issues in the relevant project repository.

0 commit comments

Comments
 (0)