Skip to content
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

Git clone will fail on Windows (use of reserved name aux) #431

Open
planetrocky opened this issue Sep 7, 2024 · 2 comments
Open

Git clone will fail on Windows (use of reserved name aux) #431

planetrocky opened this issue Sep 7, 2024 · 2 comments
Labels
support Community support

Comments

@planetrocky
Copy link

aux is a reserved name on Windows, and so a clone/checkout of OPNsense tools will fail.

https://learn.microsoft.com/en-us/windows/win32/fileio/naming-a-file#naming-conventions

I use many different platforms, and it's useful to be able to seamlessly develop from any platform.

$ git.exe clone -v -- "[email protected]:opnsense/tools.git" "opnsense-tools"
Cloning into 'opnsense-tools'...
remote: Enumerating objects: 13272, done.
remote: Counting objects: 100% (1661/1661), done.
remote: Compressing objects: 100% (609/609), done.
remote: Total 13272 (delta 1001), reused 1326 (delta 910), pack-reused 11611 (from 1)
Receiving objects: 100% (13272/13272), 10.97 MiB | 19.60 MiB/s, done.
Resolving deltas: 100% (8251/8251), done.
error: invalid path 'config/24.7/aux.conf'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
@fichtner fichtner added the support Community support label Sep 7, 2024
@fichtner
Copy link
Member

fichtner commented Sep 7, 2024

This certainly is very unfortunate.

@fichtner
Copy link
Member

fichtner commented Sep 7, 2024

My colleague told me you should install WSL (windows linux subsystem) and use that to check out all the repositories. There's probably no gain from tools.git being on a windows host system in the first place.

In order to build and develop you need a FreeBSD system at the very least, or better yet a full OPNsense system.

Cheers,
Franco

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Community support
Development

No branches or pull requests

2 participants