WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCL Repository file listing  (Read 4863 times)

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
TCL Repository file listing
« on: February 13, 2017, 01:23:53 AM »
Is there a list (text file, DB file, etc.) somewhere within the repo which contains a file listing?
(ie: 8.x/armv7/tcz/allTCZfiles.txt or what-not)

Thanks
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: TCL Repository file listing
« Reply #1 on: February 13, 2017, 01:28:39 AM »
Download a copy and keep it handy: Core book ;)

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
Re: TCL Repository file listing
« Reply #2 on: February 13, 2017, 01:49:05 AM »
http://tinycorelinux.net/8.x/x86/tcz/info.lst
Might be a glitch or possibly intentional...  don't know...
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: TCL Repository file listing
« Reply #3 on: February 13, 2017, 01:55:26 AM »
http://tinycorelinux.net/8.x/x86/tcz/info.lst
Might be a glitch or possibly intentional...  don't know...
Try
http://tinycorelinux.net/7.x/x86/tcz/

At present, there is no 8.x repo for x86

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: TCL Repository file listing
« Reply #4 on: February 13, 2017, 02:02:08 AM »
x86 isn't at version 8.x yet.
Download a copy and keep it handy: Core book ;)

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
Re: TCL Repository file listing
« Reply #5 on: February 13, 2017, 02:05:05 AM »
Goes to show what I know! :)
I was just scripting a new repo checker (to compare md5/info files) and went by what's within.
http://tinycorelinux.net/8.x/x86/tcz/
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: TCL Repository file listing
« Reply #6 on: February 13, 2017, 07:23:28 AM »
I think it's safe to assume when TC-8.x goes public there will be an info.lst in place, but until then anything is possible.

I usually depend on  http://tinycorelinux.net/downloads.html then "Browse TCZ's" to figure out the current repo

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
Re: TCL Repository file listing
« Reply #7 on: February 13, 2017, 12:58:19 PM »
@coreplayer2: The intention here is more for repository control and updating more so than use-ability for any person, so knowing whether or not a given TCZ file is within a current version, old version or one that hasn't even hit the streets isn't so much of a concern, BUT... I'm grateful none the less!  8.x/x86/tcz files which are there I'm going to "guess" and say are compiled and ready to go, so I'll look at it as a minor head-start! :)  (Since the info.lst doesn't exist I had built an html tag cleaner into the app; I had thought that maybe 8.x was the latest and thus the linked directory listing was intended for manual downloading?? :) )

Cheers!
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: TCL Repository file listing
« Reply #8 on: February 13, 2017, 09:46:53 PM »
I'd only be guessing if there was any intent to make the soon to be 8.x repo public..

So when do we get to take this new script for a test drive ??


Sent from my iPhone using Tapatalk

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: TCL Repository file listing
« Reply #9 on: February 14, 2017, 02:38:20 AM »
info.lst can be relied to be there, 8.x is not released so there is no server-side support for it yet either.
The only barriers that can stop you are the ones you create yourself.

Offline CentralWare

  • Administrator
  • Hero Member
  • *****
  • Posts: 1652
Re: TCL Repository file listing
« Reply #10 on: February 14, 2017, 04:43:31 AM »
@coreplayer2: The scripts are a work in progress...  mostly due to the fact we're also rewriting start-up scripts (/etc/init.d/tc-config) and the likes to "act" differently based on what hardware it's operating on as well as other items (such as separate /tce directories for different purposes based on hardware) BUT...  that's more our needs versus TCL main-stream.

1) Functionality to back-date if/when extensions are missing from the current repo version (ie: File abcd.tcz hasn't been built for 8.x Arm7 repo but exists in 7.x Arm6 or Arm7...  no guarantee it would function as expected, but "should."  I imagine for a stand-alone script this should be opted for instead of "always the case."

2) Functionality to version-control the repository itself (ie: separate versions.txt file similar to info.lst so that only one file need be downloaded to check versions against existing extensions) and of course, the process to generate such a file server-side.

3) A clean-up function which basically scans TCZ files which are found in tcedir and removes any extensions which are otherwise stale (AND checks the repo server-side to see which extensions are missing, especially broken dependencies, and creates a list of missing extensions.)

I'll see about getting just the tce-load replacement separated (considering it's functions are within a shared file we've been building on which is used by our custom tc-config, tce-load, tce-ab, etc.) and put together a stand-alone to put up here.
Over 90% of all computer problems can be traced back to the interface between the keyboard and the chair

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: TCL Repository file listing
« Reply #11 on: February 14, 2017, 06:18:08 AM »
2 and 3 already exist? The md5sums are all in one file, so checking extension updates is fast. The apps utility, and the scripts behind it can scan for missing dependencies, or extensions not in repo, as well as other things.
The only barriers that can stop you are the ones you create yourself.

Offline wksilva

  • Newbie
  • *
  • Posts: 11
Re: TCL Repository file listing
« Reply #12 on: May 04, 2017, 03:29:33 AM »
Suggestion:

I made a script to create USB with my customizations, and it checks for updates.

It would help a lot to have a file with the content of all md5.txt files, like:

dc171ff0875b3c321e43097349983dd4  abcde.tcz
403e4566c510f3186b1e004ceb00037e  abiword-dev.tcz
...
d4f2d7c2db05778476282a564281f54b  zsync.tcz

Even better if this file is offered in .bzip2 format (< 42k)

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: TCL Repository file listing
« Reply #13 on: May 04, 2017, 04:24:53 AM »
Hi wksilva, check this out:
http://tinycorelinux.net/8.x/x86/tcz/md5.db.gz
It's currently ~56KB though.
« Last Edit: May 04, 2017, 04:27:14 AM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline wksilva

  • Newbie
  • *
  • Posts: 11
Re: TCL Repository file listing
« Reply #14 on: May 05, 2017, 05:17:40 AM »
Great!

This is documented somewhere? (just to know that I missed it)

Found one problem: 

$ curl -s http://tinycorelinux.net/8.x/x86_64/tcz/tcl8.6.tcz.md5.txt
474b03c494c80c889da89dd926f8ba4d  tcl8.6.tcz

$ md5sum tcl8.6.tcz
b1245ac4e1c4d4600e8a6a243c973b0a  tcl8.6.tcz