General TC > General TC Talk

Trying to provide better to provides.db

<< < (4/5) > >>

Rich:
Hi CentralWare

--- Quote from: CentralWare on January 29, 2024, 12:25:46 PM --- ... I'm guessing 9.x was an experiment on www to reduce repo downloading (as it was not repeated in 10.x) or maybe a web based file app? ...
--- End quote ---
You can read about it here:
https://forum.tinycorelinux.net/index.php/topic,22016.0.html

CentralWare:

--- Quote from: curaga on June 30, 2018, 04:30:51 AM ---edit: We used to have an online search at packages.tinycorelinux.net, but bmarkus didn't have the time to maintain it.

--- End quote ---
The domain (DNS) entry for packages is still lit, it's just seemingly empty.
The concept of creating a STATIC web pages for repo file listings is not the way to go. This would explain why it was so short lived.

* IF the repo machine supports PHP, this would be a very simple enhancement
* IF nginx supports index file scripting, which I believe it does, again -- simple enhancement
(ie: sending HTML files through the PHP parser, not just .php files)
* LOL We can even have it "themed" similar to the TinyCore website colors
I have a few ideas I'll run past everyone when time exists to act on 'em.
I have to give @Nathan_SR kudos, though... not too shabby of a job trimming the fat off his original! :)

nginx: To update the engine to parse HTML files through PHP I believe it's just by adding the following line to www.conf

--- Code: ---security.limit_extensions = .php .html
--- End code ---
...but that also assumes cgi/fastcgi has already been added to the config, too.

curaga:
PHP is intentionally not allowed on the main server for security reasons. Same for all other kinds of server-side scripting. Our mirrors are static hosts as well, and they should have the same functionality.

CentralWare:
@curaga: Non-PHP...  understood.  (That would just have been the "easy way" :) )  As for the mirrors, they would have hosted the cache files (90% of the bandwidth spent) but "functionality" would still have called home for server-side support.

How about we resurrect the packages idea, then?  I have to do some internal surgery on wiki/forum in the next couple weeks once testing on this end is complete and can lay the foundation for it while we're in there.  If you're okay with the idea, please update DNS and add/point tce.tinycorelinux.net to the same IP as wiki and forum.  (Once complete, we can bring "packages.tinycorelinux.net" into the fold.)

We'll also need to create a cron job (later) to build a couple files (per version/platform) which TCE can efficiently download to help run the show.

Take care!

curaga:
Someone already made one on github?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version