Skip to content

Always download and install the latest URCap(X) if not present #301

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

Merged
merged 1 commit into from
Apr 2, 2025

Conversation

urfeex
Copy link
Member

@urfeex urfeex commented Mar 31, 2025

@urfeex urfeex requested a review from a team March 31, 2025 11:43
@urfeex urfeex force-pushed the download_latest_urcap(x) branch from 35c96dd to 29d2902 Compare March 31, 2025 11:43
Copy link

codecov bot commented Mar 31, 2025

Codecov Report

Attention: Patch coverage is 42.85714% with 8 lines in your changes missing coverage. Please review.

Project coverage is 74.90%. Comparing base (87fd042) to head (29d2902).
Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
scripts/start_ursim.sh 42.85% 8 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #301      +/-   ##
==========================================
- Coverage   75.00%   74.90%   -0.11%     
==========================================
  Files          86       86              
  Lines        3657     3666       +9     
  Branches      416      416              
==========================================
+ Hits         2743     2746       +3     
- Misses        695      703       +8     
+ Partials      219      217       -2     
Flag Coverage Δ
start_ursim 68.34% <42.85%> (-1.03%) ⬇️
ur20-latest 73.54% <ø> (-0.03%) ⬇️
ur5-3.14.3 73.99% <ø> (-0.06%) ⬇️
ur5e-10.7.0 68.00% <ø> (-0.06%) ⬇️
ur5e-5.9.4 73.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -214,6 +214,14 @@ post_setup_e-series()

post_setup_polyscopex()
{
urcapx_download_url=$(curl -s https://api.github.com/repos/UniversalRobots/Universal_Robots_ExternalControl_URCapX/releases/latest | grep "browser_download_url.*urcapx" | cut -d ":" -f 2,3 | tr -d "\"[:space:]")
URCAPX_VERSION=$(echo "$urcapx_download_url" | grep -oP '\d+\.\d+\.\d+' | head -n 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add a URCAPX version argument as well or do we wait until there are multiple versions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I would rather not have one at all. In the past, we had it as we didn't pull the latest version from the Github release page. I would have even removed the other one, but left it there if anybody was actively using that.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am fine with leaving it out for know. I guess that we could end up in a situation where different releases of the URCap only work for specific releases of PolyscopeX, but then we can always add it later if that becomes a problem.

@urfeex urfeex merged commit 566d4ce into UniversalRobots:master Apr 2, 2025
24 of 26 checks passed
@urfeex urfeex deleted the download_latest_urcap(x) branch April 2, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants