Change in Cygwin environment?

dave's Avatar

dave

28 Jun, 2015 02:04 PM

The following worked reliably for me as late as last night, but now I'm getting an error:

curl -s https://api.github.com/repos/Wyamio/wyam/releases | grep tag_name | head -n 1 | C:\cygwin\bin\grep -oP ': "\K[^"]*' > ..\Wyam\wyamversion.txt
Command exited with code 1

For the record, it gets the latest version of a GitHub release. Did anything change with the Cygwin or curl setup on the VMs recently?

Thanks!

  1. 1 Posted by dave on 28 Jun, 2015 03:28 PM

    dave's Avatar

    It's working again - if you did something, thanks! If not, must have just been a temporary hiccup. BTW, *love* the new super-fast build environments :)

  2. Support Staff 2 Posted by Feodor Fitsner on 28 Jun, 2015 03:30 PM

    Feodor Fitsner's Avatar

    That's the trick - I did nothing :) Was about to say that your account migrated to a new environment and suggest investigating with RDP. Great it works anyway.

  3. 3 Posted by dave on 29 Jun, 2015 03:37 PM

    dave's Avatar

    I continued to have intermittent problems, and finally figured it out. Thought you might be interested to know what was going on. My curl request was going to the GitHub API which is rate limited. Turns out that for many requests I was getting back:

    "message":"API rate limit exceeded for 75.126.44.186. ...

    Since that didn't have the string I expected, the subsequent grep, etc. calls failed. I worked around the problem by getting what I needed without using the GitHub API but figured someone else might stumble on this help article with a similar issue and wonder what was going on.

    Also, being able to RDP to the build server was awesome! Wouldn't have been able to figure out so easily otherwise.

  4. Support Staff 4 Posted by Feodor Fitsner on 30 Jun, 2015 03:02 AM

    Feodor Fitsner's Avatar

    OSS workers are behind NAT and have the same external IP, so yeah GitHub API rate limit is going to be a challenge though you can use a token to authenticate your calls and remove the limitation.

  5. dave closed this discussion on 26 Feb, 2018 09:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

27 Oct, 2025 07:53 PM
27 Oct, 2025 03:46 PM
23 Oct, 2025 07:11 AM
16 Oct, 2025 07:14 PM
16 Oct, 2025 04:37 PM
16 Oct, 2025 04:34 PM