question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could you please clarify documentation:

See original GitHub issue

Your documentation at https://github.com/marketplace/actions/setup-msys2 reads:

MSYS2 is available by default in windows-latest virtual environment for GitHub Actions. However, the default installation is updated every ~10 days, and it includes some pre-installed packages. As a result, startup time can be up to 10 min. Moreover, MSYS2/MINGW are neither added to the PATH nor available as a custom shell option.

From this, I understand that your github action “Setup MSYS2” is mainly for people who

  • require their msys2 packages to be always up-to-date, i.e. a 10 days old msys package is too old for them.
  • actually experience this 10 minute startup time
  • do not want to add a custom default shell like the following to their .yml file:
    defaults:
      run:
        shell: bash.exe --login -eo pipefail "{0}"

At least this is what I understood and concluded that the Setup MSYS2 action is not for me, because the default msys2 installation seems to work fine so far. Can you confirm this understanding and maybe clarify your documentation?

Thank you!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
lazkacommented, Oct 30, 2020

Partial updates are a not supported use case in MSYS2.

installs should work though, as long as we don’t remove those old packages from the server.

0reactions
einecommented, Oct 30, 2020

At least this is what I understood and concluded that the Setup MSYS2 action is not for me, because the default msys2 installation seems to work fine so far.

Partial updates are a not supported use case in MSYS2. Therefore, if you need to install any package which is not already installed in the default MSYS2 installation, you should first pacman -Syu. That’s where the 10min overhead can kick in. It is independent from what packages you want to have installed, as it will first update several GBs of preinstalled toolchains.

Conversely, this action ensures that only the minimal packages you need are installed and updated. Plus, as @lazka said, caching is enabled by default if you use install:.

Read more comments on GitHub >

github_iconTop Results From Across the Web

20 Email Expressions to Ask for Clarification - Tannia Suarez
20 Email Expressions to Ask for Clarification · If I understood you correctly, you would like me to... · As previously stated… ·...
Read more >
Why You Should Ask “Could You Please Clarify…?” Instead of ...
Learn the key difference between the words "clarify" and "explain" in English and why you should ask for clarification, not an explanation.
Read more >
Here's How to Ask for Clarification From Someone Else
How do you ask for clarification? Here's a tip: Want to make sure your writing always looks great? Grammarly can save you from...
Read more >
Is this grammatically correct, “Could I please get a clarification ...
clarification " is not a countable noun, since it is more like an abstract mental state. You wouldn't use articles like “a" with...
Read more >
How to Ask for Clarification - VOA Learning English
In today's program, we will tell you how to get clarification on what someone has said or written. When you ask someone for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found