Skip to content

Commit 841d704

Browse files
committed
Fix .gitattributes is misconfigured to treat text files as binary
Signed-off-by: wchung <[email protected]>
1 parent c34a6fc commit 841d704

File tree

8 files changed

+369
-369
lines changed

8 files changed

+369
-369
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
* text eol=lf
2-
* .png binary
2+
*.png binary
Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
1-
---
2-
name: Bug report
3-
about: Create a report to help us improve
4-
title: ''
5-
labels: 'bug,triage'
6-
---
7-
8-
<!---
9-
Thanks for filing an issue! Before you submit, please read the following:
10-
11-
Search open/closed issues before submitting. Someone may have reported the same issue before.
12-
-->
13-
14-
# Bug Report
15-
16-
<!--- Provide a general summary of the issue here -->
17-
18-
## Repro or Code Sample
19-
20-
<!-- Please provide steps to reproduce the issue and/or a code repository, gist, code snippet or sample files -->
21-
22-
## Expected Behavior
23-
24-
<!--- Tell us what should happen -->
25-
26-
## Current Behavior
27-
28-
<!--- Tell us what happens instead of the expected behavior -->
29-
<!--- If you are seeing an error, please include the full error message and stack trace -->
30-
<!--- If applicable, provide screenshots -->
31-
32-
## Possible Solution
33-
34-
<!--- Not obligatory, but suggest a fix/reason for the bug -->
35-
<!--- Please let us know if you'd be willing to contribute the fix; we'd be happy to work with you -->
36-
37-
## Context
38-
39-
<!--- How has this issue affected you? What are you trying to accomplish? -->
40-
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
41-
42-
## Your Environment
43-
44-
<!--- Include as many relevant details as possible about the environment you experienced the bug in -->
45-
46-
* Operating system and version: [e.g. Windows 11 24H2, Ubuntu Linux 24.04]
47-
* NI-Sync version: [e.g. 2024 Q4]
48-
* `nisync-python` version: [e.g. 1.0.1]
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: ''
5+
labels: 'bug,triage'
6+
---
7+
8+
<!---
9+
Thanks for filing an issue! Before you submit, please read the following:
10+
11+
Search open/closed issues before submitting. Someone may have reported the same issue before.
12+
-->
13+
14+
# Bug Report
15+
16+
<!--- Provide a general summary of the issue here -->
17+
18+
## Repro or Code Sample
19+
20+
<!-- Please provide steps to reproduce the issue and/or a code repository, gist, code snippet or sample files -->
21+
22+
## Expected Behavior
23+
24+
<!--- Tell us what should happen -->
25+
26+
## Current Behavior
27+
28+
<!--- Tell us what happens instead of the expected behavior -->
29+
<!--- If you are seeing an error, please include the full error message and stack trace -->
30+
<!--- If applicable, provide screenshots -->
31+
32+
## Possible Solution
33+
34+
<!--- Not obligatory, but suggest a fix/reason for the bug -->
35+
<!--- Please let us know if you'd be willing to contribute the fix; we'd be happy to work with you -->
36+
37+
## Context
38+
39+
<!--- How has this issue affected you? What are you trying to accomplish? -->
40+
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
41+
42+
## Your Environment
43+
44+
<!--- Include as many relevant details as possible about the environment you experienced the bug in -->
45+
46+
* Operating system and version: [e.g. Windows 11 24H2, Ubuntu Linux 24.04]
47+
* NI-Sync version: [e.g. 2024 Q4]
48+
* `nisync-python` version: [e.g. 1.0.1]
4949
* Python version [e.g. 3.9]
Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
---
2-
name: Feature request
3-
about: Suggest an idea for this project
4-
title: ''
5-
labels: 'enhancement,triage'
6-
---
7-
8-
<!---
9-
Thanks for filing an issue! Before you submit, please read the following:
10-
11-
Search open/closed issues before submitting. Someone may have requested the same feature before.
12-
-->
13-
14-
## Problem to Solve
15-
16-
<!--- Provide a clear and concise description of why this feature is wanted or what problem it solves. -->
17-
18-
## Proposed Solution
19-
20-
<!--- Provide a clear and concise description of the feature you're proposing. -->
21-
22-
<!--- The implementing team may build a list of tasks/sub-issues here:
23-
## Tasks
24-
- [ ] This is a subtask of the feature. (It can be converted to an issue.)
25-
-->
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: ''
5+
labels: 'enhancement,triage'
6+
---
7+
8+
<!---
9+
Thanks for filing an issue! Before you submit, please read the following:
10+
11+
Search open/closed issues before submitting. Someone may have requested the same feature before.
12+
-->
13+
14+
## Problem to Solve
15+
16+
<!--- Provide a clear and concise description of why this feature is wanted or what problem it solves. -->
17+
18+
## Proposed Solution
19+
20+
<!--- Provide a clear and concise description of the feature you're proposing. -->
21+
22+
<!--- The implementing team may build a list of tasks/sub-issues here:
23+
## Tasks
24+
- [ ] This is a subtask of the feature. (It can be converted to an issue.)
25+
-->
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
---
2-
name: Tech debt
3-
about: (DEV TEAM ONLY) Non-user-visible improvement to code or development process
4-
title: ''
5-
labels: 'tech debt,triage'
6-
---
7-
## Tech Debt
1+
---
2+
name: Tech debt
3+
about: (DEV TEAM ONLY) Non-user-visible improvement to code or development process
4+
title: ''
5+
labels: 'tech debt,triage'
6+
---
7+
## Tech Debt
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
---
2-
name: User story
3-
about: (DEV TEAM ONLY) A small chunk of work to be done
4-
title: '(Fully descriptive title)'
5-
labels: 'user story,triage'
6-
---
7-
8-
<!-- Ensure the title can be understood without the parent item's context, e.g. "nimble-button Angular wrapper" rather than just "Angular wrapper" -->
9-
10-
## User Story
1+
---
2+
name: User story
3+
about: (DEV TEAM ONLY) A small chunk of work to be done
4+
title: '(Fully descriptive title)'
5+
labels: 'user story,triage'
6+
---
7+
8+
<!-- Ensure the title can be understood without the parent item's context, e.g. "nimble-button Angular wrapper" rather than just "Angular wrapper" -->
9+
10+
## User Story
Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Run acceptance tests
2-
3-
on:
4-
workflow_call:
5-
workflow_dispatch:
6-
7-
jobs:
8-
run_acceptance_tests:
9-
name: Run acceptance tests
10-
runs-on:
11-
- self-hosted
12-
- windows
13-
- x64
14-
- rdss-nisyncbot-${{ matrix.configuration }}
15-
strategy:
16-
matrix:
17-
configuration: ["win-10-py32", "win-10-py64"]
18-
# Fail-fast skews the pass/fail ratio and seems to make pytest produce
19-
# incomplete JUnit XML results.
20-
fail-fast: false
21-
timeout-minutes: 90
22-
steps:
23-
- name: Check out repo
24-
uses: actions/checkout@v4
25-
- name: Install dependencies
26-
run: poetry install
27-
- name: Run acceptance tests for PXIe-6674T
28-
run: poetry run pytest --resource_name="6674T" --junitxml=test_results/acceptance-${{ matrix.configuration }}.xml
29-
- name: Upload test results
30-
uses: actions/upload-artifact@v4
31-
with:
32-
name: test_results_acceptance_${{ matrix.configuration }}
33-
path: test_results/*.xml
1+
name: Run acceptance tests
2+
3+
on:
4+
workflow_call:
5+
workflow_dispatch:
6+
7+
jobs:
8+
run_acceptance_tests:
9+
name: Run acceptance tests
10+
runs-on:
11+
- self-hosted
12+
- windows
13+
- x64
14+
- rdss-nisyncbot-${{ matrix.configuration }}
15+
strategy:
16+
matrix:
17+
configuration: ["win-10-py32", "win-10-py64"]
18+
# Fail-fast skews the pass/fail ratio and seems to make pytest produce
19+
# incomplete JUnit XML results.
20+
fail-fast: false
21+
timeout-minutes: 90
22+
steps:
23+
- name: Check out repo
24+
uses: actions/checkout@v4
25+
- name: Install dependencies
26+
run: poetry install
27+
- name: Run acceptance tests for PXIe-6674T
28+
run: poetry run pytest --resource_name="6674T" --junitxml=test_results/acceptance-${{ matrix.configuration }}.xml
29+
- name: Upload test results
30+
uses: actions/upload-artifact@v4
31+
with:
32+
name: test_results_acceptance_${{ matrix.configuration }}
33+
path: test_results/*.xml
3434
if: always()
Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,38 @@
1-
name: Sync issue to Azure DevOps work item
2-
3-
on:
4-
issues:
5-
# Omit "labeled" and "unlabeled" to work around https://github.com/danhellem/github-actions-issue-to-work-item/issues/70
6-
types:
7-
[opened, edited, deleted, closed, reopened, assigned]
8-
issue_comment:
9-
types: [created, edited, deleted]
10-
11-
jobs:
12-
alert:
13-
if: ${{ !github.event.issue.pull_request && github.event.issue.title != 'Dependency Dashboard' }}
14-
runs-on: ubuntu-latest
15-
steps:
16-
- name: Choose work item type
17-
id: choose_work_item_type
18-
run: |
19-
if [ "${{ contains(github.event.issue.labels.*.name, 'enhancement') || contains(github.event.issue.labels.*.name, 'user story') }}" == "true" ]; then
20-
echo "work_item_type=User Story" >> $GITHUB_OUTPUT
21-
elif [ "${{ contains(github.event.issue.labels.*.name, 'tech debt') }}" == "true" ]; then
22-
echo "work_item_type=Technical Debt" >> $GITHUB_OUTPUT
23-
else
24-
echo "work_item_type=Bug" >> $GITHUB_OUTPUT
25-
fi
26-
- uses: danhellem/[email protected]
27-
env:
28-
ado_token: "${{ secrets.AZDO_WORK_ITEM_TOKEN }}"
29-
github_token: "${{ secrets.GH_REPO_TOKEN }}"
30-
ado_organization: "ni"
31-
ado_project: "DevCentral"
32-
ado_area_path: "DevCentral\\Product RnD\\Platform HW and SW\\Core SW and Drivers\\Platform HW and Drivers\\Drivers\\Mars"
33-
ado_wit: "${{ steps.choose_work_item_type.outputs.work_item_type }}"
34-
ado_new_state: "New"
35-
ado_active_state: "Active"
36-
ado_close_state: "Closed"
37-
ado_bypassrules: true
38-
log_level: 100
1+
name: Sync issue to Azure DevOps work item
2+
3+
on:
4+
issues:
5+
# Omit "labeled" and "unlabeled" to work around https://github.com/danhellem/github-actions-issue-to-work-item/issues/70
6+
types:
7+
[opened, edited, deleted, closed, reopened, assigned]
8+
issue_comment:
9+
types: [created, edited, deleted]
10+
11+
jobs:
12+
alert:
13+
if: ${{ !github.event.issue.pull_request && github.event.issue.title != 'Dependency Dashboard' }}
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Choose work item type
17+
id: choose_work_item_type
18+
run: |
19+
if [ "${{ contains(github.event.issue.labels.*.name, 'enhancement') || contains(github.event.issue.labels.*.name, 'user story') }}" == "true" ]; then
20+
echo "work_item_type=User Story" >> $GITHUB_OUTPUT
21+
elif [ "${{ contains(github.event.issue.labels.*.name, 'tech debt') }}" == "true" ]; then
22+
echo "work_item_type=Technical Debt" >> $GITHUB_OUTPUT
23+
else
24+
echo "work_item_type=Bug" >> $GITHUB_OUTPUT
25+
fi
26+
- uses: danhellem/[email protected]
27+
env:
28+
ado_token: "${{ secrets.AZDO_WORK_ITEM_TOKEN }}"
29+
github_token: "${{ secrets.GH_REPO_TOKEN }}"
30+
ado_organization: "ni"
31+
ado_project: "DevCentral"
32+
ado_area_path: "DevCentral\\Product RnD\\Platform HW and SW\\Core SW and Drivers\\Platform HW and Drivers\\Drivers\\Mars"
33+
ado_wit: "${{ steps.choose_work_item_type.outputs.work_item_type }}"
34+
ado_new_state: "New"
35+
ado_active_state: "Active"
36+
ado_close_state: "Closed"
37+
ado_bypassrules: true
38+
log_level: 100

0 commit comments

Comments
 (0)