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
16 changes: 16 additions & 0 deletions scripts/commit_and_ready_for_review.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
if (-not $args[0])
{
$commitMessage = Read-Host "Please provide a commit message."
}
else
{
$commitMessage = $args[0]
}
git add .
git commit -m "$commitMessage"
git push
# Get the current script directory
$scriptDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
# Construct the full path to ready_for_review.ps1
$ready_for_reviewScriptPath = Join-Path -Path $scriptDir -ChildPath "ready_for_review.ps1"
& $ready_for_reviewScriptPath
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,31 @@ else
# Assign it to me
gh pr edit $pullRequestNumber --add-assignee "@me"
Write-Host "Please enter the additional reviewers names: i.e.: my_boss_github_name, his_boss_github_name, etc. (upto the galaxy owner)"
$AdditionalReviewers = Read-Host "At least one additional reviewer's github name must be provided."
Write-Host "If environment variable 'GH_REVIEWERS' exists, these names will be added, otherwise these names will be used as the only reviewers"
$AdditionalReviewers = Read-Host "For empty press enter."
$ReviewComment = Read-Host "Please enter a comment for the reviewers, for empty press enter"
Write-Output "currentBranch: $currentBranch"
Write-Output "AdditionalReviewers: $AdditionalReviewers"
$Reviewers = "PTKu" + "," + $AdditionalReviewers
if ($Env:GH_REVIEWERS -ne $null)
{
if (-not $AdditionalReviewers)
{
$Reviewers = $Env:GH_REVIEWERS
}
else
{
$Reviewers = $Env:GH_REVIEWERS + "," + $AdditionalReviewers
}
}
else
{
$Reviewers = $AdditionalReviewers
}
if (-not $Reviewers)
{
Write-Error "No reviewers defined."
exit 1
}
Write-Output "Reviewers: $Reviewers"
$ReviewersArray = $Reviewers -split "," | ForEach-Object { $_.Trim() }
$ReviewersString = $ReviewersArray -join ","
$Command = "gh pr edit --add-reviewer " + $ReviewersString
Expand Down
2 changes: 1 addition & 1 deletion src/abstractions/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.abb.robotics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.abb.robotics"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.abstractions/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.balluff.identification/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.balluff.identification"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.cognex.vision/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.cognex.vision"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.desoutter.tightening/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.desoutter.tightening"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.drives/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.elements/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "elementscomponents"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
- llvm
variables:
APAX_BUILD_ARGS:
Expand Down
2 changes: 1 addition & 1 deletion src/components.festo.drives/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.festo.drives"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.kuka.robotics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.kuka.robotics"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.mitsubishi.robotics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.mitsubishi.robotics"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.pneumatics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.rexroth.drives/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.rexroth.drives"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.rexroth.press/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.rexroth.press"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.robotics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.siem.identification/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.siem.identification"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/components.ur.robotics/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.components.ur.robotics"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/core/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "ix_axopencore"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/data/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "axopen.data-app"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/inspectors/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/integrations/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/io/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_axopen.io"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/probers/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/simatic1500/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/template.axolibrary/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "app_apaxappname"
version: '0.0.0-dev.0'
type: app
targets:
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/timers/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down
2 changes: 1 addition & 1 deletion src/utils/app/apax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: '0.0.0-dev.0'
type: app
targets:
- llvm
- s7generic
- "1500"
variables:
APAX_BUILD_ARGS:
- "--debug" # Generate debug information for target "1500"
Expand Down