Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24m06b - Creation Update #34

Closed
wants to merge 38 commits into from
Closed
Show file tree
Hide file tree
Changes from 30 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
eaf4d17
fix component dispatch and add test
AstroAir May 27, 2024
81173f7
sync web client
AstroAir May 28, 2024
79dbb1f
update lithium-web
AstroAir May 28, 2024
ddf1b98
update atom-component
AstroAir May 31, 2024
8b13534
update
AstroAir Jun 1, 2024
6d5e012
update unittest
AstroAir Jun 1, 2024
0e672fd
update atom-function and test
AstroAir Jun 2, 2024
e176f09
small update
AstroAir Jun 3, 2024
779848d
fix class member registration
AstroAir Jun 3, 2024
07fd3cc
remove carbon script for no need
AstroAir Jun 4, 2024
c940e98
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] Jun 4, 2024
b530257
refactor(config): update goto_center.json with new function and step …
AstroAir Jun 8, 2024
6d2c120
refactor: :hammer: 重构atom-system模块
AstroAir Jun 10, 2024
dc8fd4a
update
AstroAir Jun 13, 2024
73f785a
update not finished
AstroAir Jun 16, 2024
6dbc57a
feat(lithium): add task module and update astrometry and indi modules
AstroAir Jun 23, 2024
99dacdd
loading.drawio
AstroAir Jun 25, 2024
d5f3307
feat(greetings): add check for already greeted issues and PRs
AstroAir Jun 26, 2024
655d09e
update not finshed
AstroAir Jun 27, 2024
d66ce00
update not finished
AstroAir Jun 28, 2024
e05a5db
update not finished
AstroAir Jul 1, 2024
89e43d7
Separate web client to a separate repository
AstroAir Jul 5, 2024
fcde935
remove drivers and oatpp server
AstroAir Jul 6, 2024
2727ec2
add oatpp server template and prepare to modify
AstroAir Jul 6, 2024
b704175
update not finished
AstroAir Jul 6, 2024
700deff
update not finished
AstroAir Jul 10, 2024
12c7458
update not finished
AstroAir Jul 14, 2024
fe63f8f
udpate not finished
AstroAir Jul 16, 2024
9684fc0
fix compilation bugs
AstroAir Jul 16, 2024
c510b36
fix atom.component.test
AstroAir Jul 18, 2024
b6c0e5b
fix atom.utils but still hava problems
AstroAir Jul 19, 2024
3a863dc
add lithium.client.astap without test
AstroAir Jul 20, 2024
766e8ec
add lithium.client.astrometry without test
AstroAir Jul 20, 2024
b891e40
update xmake build but not finished
AstroAir Jul 20, 2024
45e939d
update
AstroAir Jul 22, 2024
110f426
udpate not finish
AstroAir Jul 24, 2024
049e489
update not finished
AstroAir Jul 24, 2024
9d7193f
fix build on windows
AstroAir Jul 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
51 changes: 29 additions & 22 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,23 @@ jobs:
issues: write
pull-requests: write
steps:
# Check if the issue or PR already has the greeted label
- name: Check if Already Greeted
id: check_greeted
uses: actions/github-script@v6
with:
result-encoding: string
script: |
const labels = await github.rest.issues.listLabelsOnIssue({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo
});
return labels.data.some(label => label.name === 'greeted');

# Greeting for first interaction using actions/first-interaction
- name: First Interaction Greeting
if: steps.check_greeted.outputs.result == 'false'
uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -19,7 +34,7 @@ jobs:

# General greeting for every new issue
- name: Greet Every Issue
if: github.event_name == 'issues'
if: github.event_name == 'issues' && steps.check_greeted.outputs.result == 'false'
uses: actions/github-script@v6
with:
script: |
Expand All @@ -29,11 +44,11 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
body: issueComment
})
});

# General greeting for every new pull request
- name: Greet Every PR
if: github.event_name == 'pull_request_target'
if: github.event_name == 'pull_request_target' && steps.check_greeted.outputs.result == 'false'
uses: actions/github-script@v6
with:
script: |
Expand All @@ -44,33 +59,25 @@ jobs:
repo: context.repo.repo,
body: prComment,
event: 'COMMENT'
})
});

# Add labels to new issues and PRs
- name: Label New Issues and PRs
if: steps.check_greeted.outputs.result == 'false'
uses: actions/github-script@v6
with:
script: |
const labels = ['needs-triage'];
if (context.eventName === 'issues') {
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: labels
})
} else if (context.eventName === 'pull_request_target') {
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: labels
})
}
const labels = ['needs-triage', 'greeted'];
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: labels
});

# Auto Assign Reviewers based on the time of day
- name: Auto-assign Reviewers Based on Time of Day
if: github.event_name == 'pull_request_target'
if: github.event_name == 'pull_request_target' && steps.check_greeted.outputs.result == 'false'
uses: actions/github-script@v6
with:
script: |
Expand All @@ -82,4 +89,4 @@ jobs:
owner: context.repo.owner,
repo: context.repo.repo,
reviewers: reviewers
})
});
11 changes: 5 additions & 6 deletions .github/workflows/windows-mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ on:
branches:
- 'master'
- 'dev'
- 'reborn'
pull_request:
branches:
- 'master'
- 'dev'
- 'reborn'

env:
# Path to the solution file relative to the root of the project.
Expand Down Expand Up @@ -43,7 +45,6 @@ jobs:
update: true
install: >-
mingw-w64-${{matrix.env}}-openssl

base-devel
mingw-w64-${{matrix.env}}-cmake
mingw-w64-${{matrix.env}}-gcc
Expand All @@ -58,9 +59,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Build INDI Core
- name: Build and Test
run: |
mkdir build
cd build
cmake ..
cmake --build .
./scripts/build_win.sh
./scripts/test_win.sh
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,4 @@ test
*.xml

.xmake
.cache
4 changes: 4 additions & 0 deletions .sonarlint/connectedMode.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"sonarCloudOrganization": "elementastro",
"projectKey": "ElementAstro_Lithium"
}
Loading
Loading