Skip to content

Commit 83f12ba

Browse files
committed
Merge branch 'main' into production-change-control
2 parents fc8aa96 + 3cb5080 commit 83f12ba

File tree

4 files changed

+12
-4
lines changed

4 files changed

+12
-4
lines changed

.github/workflows/main.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
run: |
6464
echo "zpm \"install testcoverage\":1:1" > install-testcoverage
6565
docker exec --interactive $instance iris session $instance -B < install-testcoverage
66+
chmod 777 $GITHUB_WORKSPACE
6667
6768
- name: Build and Test
6869
run: |
@@ -72,7 +73,12 @@ jobs:
7273
echo "do \$System.OBJ.CompilePackage(\"$test_package\",\"ckd\") " > test.script
7374
# Run tests
7475
echo "zpm \"$package test -only $test_flags\":1:1" >> test.script
75-
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script &&bash <(curl -s https://codecov.io/bash)
76+
docker exec --interactive $instance iris session $instance -B < build.script && docker exec --interactive $instance iris session $instance -B < test.script
77+
78+
- name: Upload coverage reports to Codecov with GitHub Action
79+
uses: codecov/[email protected]
80+
env:
81+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7682

7783
- name: Produce CE Artifact
7884
run: |

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Added
1111
- Files in uncommitted queue in any namespace warn users when opened except for in VSCode (#370)
12-
13-
### Added
1412
- Added link back to IRIS management portal from Settings, Git WebUI pages (#449)
13+
- Added Import all and Import All (Force) to basic mode menu (#498)
1514

1615
### Fixed
1716
- Changed prompts in configure from 0/1 to no/yes (#461)
1817
- Added warnings when user is using incompatible git version (#488)
1918
- Fixed the back button navigation between WebUI and Settings page (#361)
19+
- Basic mode Sync operation now imports items changed on the remote merge branch (#506)
2020

2121
## [2.5.0] - 2024-09-24
2222

cls/SourceControl/Git/Extension.cls

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ Method OnSourceMenuItem(name As %String, ByRef Enabled As %String, ByRef Display
145145
set Enabled = $CASE(name,
146146
"Status": 1,
147147
"GitWebUI" : 1,
148+
"Import": 1,
149+
"ImportForce": 1,
148150
"NewBranch": 1,
149151
"SwitchBranch": 1,
150152
"Sync": 1,

cls/SourceControl/Git/Utils.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ ClassMethod MergeDefaultRemoteBranch(Output alert As %String = "") As %Boolean
446446
do ..RunGitWithArgs(.errStream, .outStream, "fetch", "origin", defaultMergeBranch_":"_defaultMergeBranch)
447447
do ..PrintStreams(errStream, outStream)
448448

449-
do ..RunGitWithArgs(,.outStream, "rev-parse", defaultMergeBranch)
449+
do ..RunGitWithArgs(,.outStream, "rev-parse", "HEAD")
450450
set startSha = outStream.ReadLine()
451451

452452
// Start a transaction so code changes can be rolled back

0 commit comments

Comments
 (0)