Github module paths should be case insensitive

This issue has been created since 2021-08-13.

I copy/pasted the Github URL which isn't always lowercase. There is no mention of this limitation on the README, is it intentional and stated elsewhere?

go get: added github.com/caddyserver/caddy/v2 v2.4.3
2021/08/13 11:22:07 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/Darkweak/Souin/plugins/caddy
go: downloading github.com/Darkweak/Souin/plugins/caddy v0.0.0-20210811115113-01e06b75a576
go get: github.com/Darkweak/Souin/plugins/[email protected] updating to
        github.com/Darkweak/Souin/plugins/[email protected]: parsing go.mod:
        module declares its path as: github.com/darkweak/souin/plugins/caddy
                but was required as: github.com/Darkweak/Souin/plugins/caddy
francislavoie wrote this answer on 2021-08-13

This isn't really an issue with xcaddy, but more specifically with that plugin declaring a module path that isn't consistent with the Github repo.

xcaddy is just a thin wrapper over Go build tooling. That message comes right from Go.

mholt wrote this answer on 2021-08-13

Yeah, I don't think we want to get in the business of rewriting URLs, which can be case sensitive depending on the server/host. I recommend fixing the copy+paste to be correct instead.

polarathene wrote this answer on 2021-08-13

I don't think we want to get in the business of rewriting URLs, which can be case sensitive depending on the server/host.

Is there a reason why xcaddy can't lowercase the entire string/url in this case? There isn't really any valid reason to be case sensitive for github URLs is there?

xcaddy is just a thin wrapper over Go build tooling. That message comes right from Go.

EDIT: Some how didn't see this response when I originally typed mine out, sorry about that.. I understand now 😅


Is https://xcaddy.tech by this project? The same website has the Souin plugin (with older version listed) but also shows the syntax used as the mixed case URL Github serves, whomever maintains that should be aware that it prevents xcaddy from building?

EDIT: Nope nvm, by the same author.. https://github.com/Darkweak/xcaddy-builder-website

francislavoie wrote this answer on 2021-08-13

Is xcaddy.tech by this project?

It's not. That was a proof of concept that Darkweak wrote as a suggested improvement to the download page some time ago, but @mholt went a slightly different direction with it, and it is how you see it now https://caddyserver.com/download

More Details About Repo
Owner Name caddyserver
Repo Name xcaddy
Full Name caddyserver/xcaddy
Language Go
Created Date 2020-03-21
Updated Date 2022-09-22
Star Count 381
Watcher Count 14
Fork Count 72
Issue Count 3

YOU MAY BE INTERESTED

Issue Title Created Date Comment Count Updated Date
Question: Why migrated genesis state when upgrading to v3 and v5 1 2022-06-27 2022-08-26
[Bug] QueryPlan deserialization error if there're exceptions 0 2022-09-25 2022-09-27
Crash when looking up the use for Condensed Blood in JEI. 7 2021-07-26 2022-08-17
Cannot find a method to refresh an access token 1 2021-12-06 2022-09-14
I think child_process dependency can be removed 1 2021-05-28 2022-07-09
`AppImage` does not start, misses dependency 4 2021-07-22 2022-07-09
和tengine的ngx_http_upstream_check_module能一起用吗 1 2021-09-14 2022-09-24
dynamic module support 0 2021-07-18 2022-09-24
ERROR repl_deploy > Config file doesn't exist? 3 2021-06-27 2022-07-15
Does not work with private Github repos 1 2021-06-29 2022-09-02
download button should download latest version 4 2022-08-10 2022-09-18
Incorrect validation warning in bundle references. 8 2022-05-09 2022-08-29
block.timestamp instead of now - Tema 3 - unidades_tiempo.sol 0 2022-05-26 2022-09-17
Add `get(key[, default])` method 3 2022-08-10 2022-08-23
generate git properties in android project 7 2021-12-16 2022-07-21
ruby 3.0.0 1 2021-01-08 2022-01-04
Button设置Icon后,指定Icon的font-size会导致Icon不居中 1 2022-07-15 2022-09-16
Module 'VoxelGenerator', 'VoxelGenerator2 ' not found in spconv 2.1.21 6 2022-03-23 2022-09-22
Dependency missing in installation from source and pytest segmentation fault 7 2022-07-20 2022-09-17
Problem: Another bug was found 0 2021-06-28 2022-08-29
Help box not displayed on homepage 2 2021-08-20 2022-09-14
Value of function term retrieved via getValue is not a model value. 3 2021-11-17 2021-12-25
Team Dash: "Leave Team" Does not work until you refresh 0 2022-02-15 2022-09-27
How to construct this sql in mysql 3 2021-05-07 2022-09-23
The subcomponent that drags under the Tencent conference shared screen cannot get the click event 1 2021-08-03 2022-09-02
Selecting images from library results in wrong path to image, related with issue #3225 3 2022-06-09 2022-09-10
clean: true = clean: all? 1 2022-08-30 2022-09-22
50 subscription limit 3 2022-08-30 2022-09-22
Shortcut disable bug of kendo 1 2021-08-20 2022-09-26
Different currency warning is shown w/o currency 6 2021-09-29 2022-08-22
[Adaptive Cards iOS - FoodOrder-]: 'How would you like your steak prepared?' label is not associated with its Radio button options. (Screen reader) 1 2022-03-09 2022-09-27
Support sort.Interface in IsIncreasing et al. 0 2021-10-29 2022-09-18
"Error opening log" 2 2019-10-30 2022-01-17
New Map API 3 2021-10-20 2022-01-10
"FrozenError: can't modify frozen String" on CSV export 2 2022-02-12 2022-08-29
Bug: electrs will not run on a big-endian machine. yes, i know, who would try to do that anyway other than an IBMer! :) 17 2021-06-19 2022-09-27
Can't import LaunchTemplate generated by EKS 3 2021-11-05 2022-08-03
unable to compile a project that uses pulumi-datadog with less than 16GB of RAM 2 2020-08-26 2022-08-09
Why this package on the pub.dev was marked as [UNIDENTIFIED]? 3 2022-07-15 2022-09-20
Redesign peers list (or remove it) 2 2021-05-07 2022-09-05
hbase on veneer: Ensure that the behavior of BufferedMutator.close() is consistent with hbase 0 2021-08-25 2022-07-06
MapReduce hashtable/synctable validation only jobs 1 2021-07-20 2022-08-11
Having trouble adding systems to the schedule 3 2021-05-04 2022-09-05
How to have optional component in system? 2 2021-02-05 2022-09-23
How to access resources 1 2021-05-05 2022-09-14
How to iterate over all entries in a world? 1 2021-03-01 2022-09-15
Show help when CLI command fails 1 2022-02-24 2022-02-22
Chrome 更新到 74.0.3729.108 后没有navigator.mediaDevices 5 2019-04-29 2022-09-25
GPG error: https://apt.releases.hashicorp.com/ bionic InRelease 2 2022-02-09 2022-09-21
Scroll issue with infinite scroll at drawer component 1 2022-03-15 2022-09-22