dslm4515 / CMLFS

Clang-Built Musl Linux From Scratch
MIT License
99 stars 18 forks source link

Propose download_sources.sh usage as an alternative to the wget command line. #38

Closed takusuman closed 2 years ago

takusuman commented 2 years ago

I've ported the download_sources.sh script to work more flexibly and proper with the CMLFS. Basically, i've added the possibility to download sources where you'd want, but with /mnt/cmlfs/sources/pkgs as default.

I didn't too much in this weekend because i've needed to study to finals (i've had physics yesterday and i couldn't lose the chance to get a good grade in it).

May i'll "convert" the plain-text/markdown manual to HTML at the end of this week (and of the finals).

takusuman commented 2 years ago

Wow. I originally wanted to convert my work from ascii text files to HTML, but haven’t designed a method to make it easy to convert OR update with new fixes or package versions.

May I can do a script for this, but i will need to be run by-hand to generate the pages... If we set up something like Sphinx or Jekyll in GitHub Actions?

I was originally thinking in just taking a weekend for taking page by page and converting to HTML, reformatting etc; but ^now i think it would be better to automate this.

I wanted something like the LFS Book that can be exported to a single HTML file, HTML chunks or even PDF.

Sure, it isn't nothing really complex compared to what it was already done by far.

I figured plain-text files would be most compatible with build machines that may not have a web browser or HTML viewer... or doing a build remotely over SSH

For sure, but why can't we have both plain-text and HTML? 😃

BTW, will download_sources.sh be merged into the master tree? It is the main purpose of this pull-request. 😆 I've tested and it seems to be working well after the modifications. If you have any problem with it, just get in touch with me. I will be doing a chemistry test after tomorrow, so i will be unavailable until the weekend i think.

dslm4515 commented 2 years ago

Oh. I have not researched other methods to convert the 'documentation' from plain-text to another format (i.e. HTML) ... I did not know about GitHub Actions

dslm4515 commented 2 years ago

Oh yeah, good luck with your exam(s)!

takusuman commented 2 years ago

Oh. I have not researched other methods to convert the 'documentation' from plain-text to another format (i.e. HTML) ... I did not know about GitHub Actions

There's Sphinx, that it's what Linux uses for documentation. I've never tried it before, but i will take a look when i'm free from exams.

takusuman commented 2 years ago

Oh yeah, good luck with your exam(s)!

Thanks! Did it today. :^)