Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Wed Aug 24, 2022 9:21 Post subject: How to use a search engine instead of...
No you dont need to login to browse, its kinda obvious when you visit https://svn.dd-wrt.com/browser you are presented with a directory list you want the one named src, Click and blabla
You can also browse the GitHub Mirror https://github.com/mirror/dd-wrt -- I use that more often than not when I dont have my dev environment booted its also easier and prettier and searching is also a bit better. Apologies for not teaching you everything, thats what search engines are for.
To download source via svn (yes its better because you can keep the sourcecode updated with simple commands (with it installed type svn help or whatever), you need a Linux OS and svn installed, once that is done you can simply execute svn checkout https://svn.dd-wrt.com/DD-WRT somereponameherewhateveryoulike. Or something like that, been a while since I used svn.
It needs to be a Linux OS, due to paths lengths and other minutia, if you get errorsgoogle them and solutions will popup.
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Wed Aug 24, 2022 11:20 Post subject: Re: How to use a search engine instead of...
the-joker wrote:
You can also browse the GitHub Mirror https://github.com/mirror/dd-wrt -- I use that more often than not when I dont have my dev environment booted its also easier and prettier and searching is also a bit better. Apologies for not teaching you everything, thats what search engines are for.
Master Joker, too early to apologize! Not before I try downloading ...
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Everything below svn and github info is severely outdated and I was told not to create a new thread about how to compile images from source or anything related to development. You don't necessarily want or need to change anything from retrieving via svn from those instructions for fairly obvious reasons. The note about Linux 3.18-rc4.diff only applies if you back-track quite a ways and rather moot on which code retrieval method you use - however, doing a checkout with svn is the safer bet overall.
Code:
svn co svn://svn.dd-wrt.com/DD-WRT
Code:
git clone https://github.com/mirror/dd-wrt.git
_________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Wed Aug 24, 2022 16:15 Post subject:
dale_gribble39 wrote:
Everything below svn and github info is severely outdated and I was told not to create a new thread about how to compile images from source or anything related to development. You don't necessarily want or need to change anything from retrieving via svn from those instructions for fairly obvious reasons. The note about Linux 3.18-rc4.diff only applies if you back-track quite a ways and rather moot on which code retrieval method you use - however, doing a checkout with svn is the safer bet overall.
I don't plan on compiling the source codes. I just wanna read and find out how something works, and hopefully I could suggest some changes to improve it.
For that, I surely want to read and SEARCH the latest committed C codes.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Wed Aug 24, 2022 16:18 Post subject:
Suggestions are great, better than suggestions are patches.
And from experience unless you know git, it is not straight forward clone you will need to resolve many issues, however I never tried cloning with svn so no idea any quirks that side, I work using a git clone of the mirror and update it easily when I'm working on a patch.
Both are good ways to get the source code in a way that you can read and keep updated via simple commands.
I Dont recommend Windows for the DD-WRT source, path length alone errors will be abound and when it comes to the PCI stuff filenames it will error out more.
I've dabbled in using WSL to test compiling of other things, but not DD-WRT more recently, but I would advise to keep everything Linux, if possible. Less chance of error until WSL has been fully bug-proofed. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
I've dabbled in using WSL to test compiling of other things, but not DD-WRT more recently, but I would advise to keep everything Linux, if possible. Less chance of error until WSL has been fully bug-proofed.
Its not just filenames length, its path length and filenames themselves, in Linux you can have filenames with colons and whatever, DD-WRT source has these -- whatever anyway go find out for yourself when using plain Windows and go bang head on the brick wall.
OK, 7-zip can test master.zip, but decompressing it led to errors. Interesting...
I haven't done the registry hack yet.
_________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!