Re: Mirror announcement

2024-03-26 Thread Christopher Meng via Cygwin
My mirror has 140TB of space so I can mirror anything as long as there is a 
valid request, and the project has enough usage (traffic).

My mirror also support HTTP, I just do not announce it by default because HTTP 
is insecure.

Sent from my iPhone

> On Mar 26, 2024, at 3:05 PM, Kaz Kylheku  wrote:
> 
> On 2024-03-25 21:59, Christopher Meng via Cygwin wrote:
>> Hi, I have a Cygwin mirror available at: Contact: i...@cicku.me Mirror URL: 
>> https://mirrors.cicku.me/cygwin Please consider this as an official request 
>> to add to the mirror list. Thank you!
> 
> You know, there are lots of mirrors of Cygwin where you can get the latest.
> 
> It might be worth somehow helping out the Cygwin Time Machine project: the 
> one thing that helps support Cygwin installations that cannot just be 
> following whatever is current.
> 
> http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html
> 
> The site can't even be accessed via HTTPS, only HTTP. It seems very likely 
> that this is provided by one individual.
> 

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Mirror announcement

2024-03-26 Thread Kaz Kylheku via Cygwin
On 2024-03-25 21:59, Christopher Meng via Cygwin wrote:
> Hi, I have a Cygwin mirror available at: Contact: i...@cicku.me Mirror URL: 
> https://mirrors.cicku.me/cygwin Please consider this as an official request 
> to add to the mirror list. Thank you!

You know, there are lots of mirrors of Cygwin where you can get the latest.

It might be worth somehow helping out the Cygwin Time Machine project: the one 
thing that helps support Cygwin installations that cannot just be following 
whatever is current.

http://www.crouchingtigerhiddenfruitbat.org/Cygwin/timemachine.html

The site can't even be accessed via HTTPS, only HTTP. It seems very likely that 
this is provided by one individual.


-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Mirror announcement

2024-03-26 Thread Christopher Meng via Cygwin
Hi,

UA could be something unique similar to “Cygwin mirror/0.01” and I can 
whitelist then, but having “python-urlli will definitely trigger the WAF.

While I can completely disable the check without issues, if you want to carry a 
specific UA feel free to do it and I will then white list based on UA.

Let me know when you are ready.

Sent from my iPhone

> On Mar 26, 2024, at 1:40 PM, Jon Turney  wrote:
> 
> On 26/03/2024 14:10, Christopher Meng via Cygwin wrote:
>> Hi, This mirror is actually behind CDN which is "global", so I'm not sure if 
>> you can handle such of mirror on your end for redirect.
> 
> OK, I'll leave the location unspecified.
> 
> I gave it a brief test with our setup program and things seem to work 
> correctly (which shouldn't be surprising since it just uses the wininet
> API to fetch files).
> 
> However, it seem our mirror checking script seems to get told "403 Forbidden" 
> when it tries to check if you are up to date.
> 
> Can you tell me (privately, if you like) what User-Agent: it should present? 
> Or suggest another mechanism to allow it access?
> 

-- 
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Mirror announcement

2024-03-26 Thread Jon Turney via Cygwin

On 26/03/2024 14:10, Christopher Meng via Cygwin wrote:
Hi, This mirror is actually behind CDN which is "global", so I'm not 
sure if you can handle such of mirror on your end for redirect.


OK, I'll leave the location unspecified.

I gave it a brief test with our setup program and things seem to work 
correctly (which shouldn't be surprising since it just uses the wininet

API to fetch files).

However, it seem our mirror checking script seems to get told "403 
Forbidden" when it tries to check if you are up to date.


Can you tell me (privately, if you like) what User-Agent: it should 
present? Or suggest another mechanism to allow it access?



--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


jq bug report: jq errors trigger assertion errors rather than being handled

2024-03-26 Thread Adam Dinwoodie via Cygwin
Hi,

I'm seeing consistent behaviour when running `jq` on Cygwin, where
commands that should trigger jq to produce an error message instead
cause it to assert and die.

Simple test case: run `jq -n 'error("oh no!")'`, which should raise a jq
error with the text "oh no!".

Output on Cygwin:

$ jq -n 'error("oh no!")'
assertion "cb == jq_util_input_next_input_cb" failed: file 
"/cygdrive/d/a/scallywag/jq/jq-1.7.1-1.x86_64/src/jq-1.7.1/src/util.c", line 
360, function: jq_util_input_get_position
 Aborted

Expected output, as seen on my handy Debian box:

$ jq -n 'error("oh no!")'
jq: error (at ): oh no!

I've attached the cygcheck.out file from the system where I ran the
above.

Cheers,

Adam

Cygwin Configuration Diagnostics
Current System Time: Tue Mar 26 17:16:49 2024

Windows 11 Enterprise Ver 10.0 Build 22621 

Running in Terminal Service session

Path:   C:\cygwin64\usr\local\bin
C:\cygwin64\bin
C:\Windows\system32
C:\Windows
C:\Windows\System32\Wbem
C:\Windows\System32\WindowsPowerShell\v1.0
C:\Users\WDAGUtilityAccount\AppData\Local\Microsoft\WindowsApps

Output from C:\cygwin64\bin\id.exe
UID: 197112(WDAGUtilityAccount)
GID: 197121(None)
197121(None)
114(Local account and member of Administrators group)
555(Remote Desktop Users)
545(Users)
544(Administrators)
14(REMOTE INTERACTIVE LOGON)
4(INTERACTIVE)
11(Authenticated Users)
15(This Organization)
113(Local account)
4095(CurrentSession)
66048(LOCAL)
262154(NTLM Authentication)
405504(High Mandatory Level)

SysDir: C:\Windows\system32
WinDir: C:\Windows

PWD = '/home/WDAGUtilityAccount'
HOME = '/home/WDAGUtilityAccount'
USER = 'WDAGUtilityAccount'

ProgramFiles(x86) = 'C:\Program Files (x86)'
!:: = '::\'
CommonProgramFiles(x86) = 'C:\Program Files (x86)\Common Files'
SHELL = '/bin/bash'
NUMBER_OF_PROCESSORS = '20'
PROCESSOR_LEVEL = '6'
TERM_PROGRAM_VERSION = '3.7.1'
USERDOMAIN_ROAMINGPROFILE = '53A298FF-19DC-4'
HOSTNAME = '53a298ff-19dc-4841-bc68-9223d670a672'
PROGRAMFILES = 'C:\Program Files'
EFC_4284 = '0'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC'
OS = 'Windows_NT'
HOMEDRIVE = 'C:'
USERDOMAIN = '53A298FF-19DC-4'
USERPROFILE = 'C:\Users\WDAGUtilityAccount'
TZ = 'Europe/London'
ALLUSERSPROFILE = 'C:\ProgramData'
ORIGINAL_PATH = 
'/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Users/WDAGUtilityAccount/AppData/Local/Microsoft/WindowsApps'
CommonProgramW6432 = 'C:\Program Files\Common Files'
USERNAME = 'WDAGUtilityAccount'
COMSPEC = 'C:\Windows\system32\cmd.exe'
APPDATA = 'C:\Users\WDAGUtilityAccount\AppData\Roaming'
SYSTEMROOT = 'C:\Windows'
LOCALAPPDATA = 'C:\Users\WDAGUtilityAccount\AppData\Local'
COMPUTERNAME = '53A298FF-19DC-4'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info'
TERM = 'xterm'
LOGONSERVER = '\\53A298FF-19DC-4'
PSModulePath = 'C:\Program 
Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules'
TEMP = '/tmp'
SHLVL = '1'
PROCESSOR_REVISION = '9a03'
DriverData = 'C:\Windows\System32\Drivers\DriverData'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
LC_CTYPE = 'en_US.UTF-8'
PROCESSOR_IDENTIFIER = 'Intel64 Family 6 Model 154 Stepping 3, GenuineIntel'
SESSIONNAME = '31C5CE94259D4006A9E4#0'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
HOMEPATH = '\Users\WDAGUtilityAccount'
TMP = '/tmp'
ProgramW6432 = 'C:\Program Files'
PROFILEREAD = 'true'
MINTTY_SHORTCUT = '/cygdrive/c/Users/Public/Desktop/Cygwin64 Terminal.lnk'
WINDIR = 'C:\Windows'
PROCESSOR_ARCHITECTURE = 'AMD64'
PUBLIC = 'C:\Users\Public'
CLIENTNAME = 'f33ef77f-51f2-4'
SYSTEMDRIVE = 'C:'
EXECIGNORE = '*.dll'
OLDPWD = '/etc/skel'
TERM_PROGRAM = 'mintty'
ProgramData = 'C:\ProgramData'
_ = '/usr/bin/cygcheck'

HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations
  (default) = '\??\C:\cygwin64'
HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup
  (default) = 'C:\cygwin64'

obcaseinsensitive set to 1

Cygwin installations found in the registry:
  System: Key: e022582115c10879 Path: C:\cygwin64

c:  hd  NTFS 40830Mb   7% CP CS UN PA FC

C:\cygwin64  /  system  binary,auto
C:\cygwin64\bin  /usr/bin   system  binary,auto
C:\cygwin64\lib  /usr/lib   system  binary,auto
cygdrive prefix  /cygdrive  userbinary,posix=0,auto

Found: C:\cygwin64\bin\awk
 -> C:\cygwin64\bin\gawk.exe
Found: C:\cygwin64\bin\bash.exe
Found: C:\cygwin64\bin\cat.exe
Found: C:\Windows\system32\certutil.exe
Not Found: clinfo
Found: C:\Windows\system32\comp.exe
Found: C:\Windows\system32\convert.exe
Found: C:\cygwin64\bin\cp.exe
Not Found: cpp (good!)
Not Found: crontab
Found: C:\Windows\system32\curl.exe
Found: C:\cygwin64\bin\expand.exe
Found: C:\Windows\system32\expand.exe
Warning: C:\cygwin64\bin\expand.exe hides C:\Windows\system32\expand.exe
Found: C:\cygwin64\bin\find.exe
Found: C:\Windows\system32\find.exe

Re: Mirror announcement

2024-03-26 Thread Christopher Meng via Cygwin

Hi, This mirror is actually behind CDN which is "global", so I'm not sure if you can 
handle such of mirror on your end for redirect. On Mar 26, 2024, at 8:01 AM, Jon Turney 
 wrote: On 26/03/2024 04:59, Christopher Meng via Cygwin 
wrote: Hi, I have a Cygwin mirror available at: Contact: i...@cicku.me Mirror URL: 
https://mirrors.cicku.me/cygwin Please consider this as an official request to add to the 
mirror list. Thank you! Thanks for providing a mirror. Can you give the approximate 
geographical location in a similar format to our existing list [1]? [1] 
https://cygwin.com/mirrors.html

--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple


Re: Mirror announcement

2024-03-26 Thread Jon Turney via Cygwin

On 26/03/2024 04:59, Christopher Meng via Cygwin wrote:
Hi, I have a Cygwin mirror available at: Contact: i...@cicku.me Mirror URL: 
https://mirrors.cicku.me/cygwin Please consider this as an official 
request to add to the mirror list. Thank you!


Thanks for providing a mirror.

Can you give the approximate geographical location in a similar format 
to our existing list [1]?


[1] https://cygwin.com/mirrors.html


--
Problem reports:  https://cygwin.com/problems.html
FAQ:  https://cygwin.com/faq/
Documentation:https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple