How to find specific files in the github

More
10 Sep 2021 16:36 #220141 by RékaM
I've been poking around in the github directory trying to understand linuxcnc a bit better, but the files keep referring to other files which I just. Can't. Find. For example one .ini file I've been looking at to figure out my own .ini file refers to "5axis.var", but I can't find where it is and there's just so many files. It took me several minutes to find "basic_sim.tcl" and that one had the hint of "LIB:" in front of it in the file I was looking at. I can't find a search function on github, is there some kind of directory tree document or something that I could ctrl+f through to find where specific files are or do I just need to poke around until I find it?

Please Log in or Create an account to join the conversation.

More
10 Sep 2021 17:07 - 10 Sep 2021 17:11 #220146 by tommylight
"5axis.var" is created (if missing) when LinuxCNC starts.
The name will be whatever the name of the running config files is.
Last edit: 10 Sep 2021 17:11 by tommylight. Reason: more info

Please Log in or Create an account to join the conversation.

More
10 Sep 2021 17:28 #220149 by RékaM
Oh. Thank you. I found it in the config file of a sim I'd already loaded.

Still, there are other files I've only been able to find after a lot of searching; since you didn't mention an easy-to-search document, would it be safe to assume there isn't one...? I don't mind searching around if I have to, but would like to make sure I'm not making it harder on myself than it has to be!

Please Log in or Create an account to join the conversation.

More
10 Sep 2021 17:41 #220151 by Aciera
I'm not really using github much but here is a doc that might be helpful:
docs.github.com/en/github/searching-for-...ithub/searching-code

What I do is clone the github repository into a folder on my computer and then I can use the regular linux terminal comands like 'find'

Please Log in or Create an account to join the conversation.

More
10 Sep 2021 19:36 #220167 by rodw
Git is a source repository. Some files are created as part of the make process from that source code.
You would probably be better off compiling a run in place version of linuxcnc and using grep to find files as everything will be under the linuxcnc-dev folder somewhere.

Please Log in or Create an account to join the conversation.

More
14 Jan 2022 07:52 #231734 by tommylight
hanamark
had to leave... :)

Please Log in or Create an account to join the conversation.

Moderators: HansU
Time to create page: 0.134 seconds
Powered by Kunena Forum