Page 1 of 1

Porteus v5.01 slapt-mod question

Posted: 11 Nov 2023, 10:09
by Rava
Overall I am happy with Porteus' v5.01 slapt-mod.

But I don't get one thing: most package info files are compressed

Code: Select all

guest@rava:/var/slapt-get$ ls -o --time-style=long-iso .*gz| cut -c 19-$(expr 18 + $(tput cols))
  16356 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#15.0#CHECKSUMS.md5.gz
  72497 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#15.0#PACKAGES.TXT.gz
 219945 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#extra-15.0#CHECKSUMS.md5.gz
1141528 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#extra-15.0#PACKAGES.TXT.gz
 266451 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#PACKAGES.TXT.gz
   7891 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#extra#PACKAGES.TXT.gz
  21603 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#patches#PACKAGES.TXT.gz
and some are not:

Code: Select all

guest@rava:/var/slapt-get$ ls -o --time-style=long-iso .*txt package_data .*.md5 | cut -c 19-$(expr 18 + $(tput cols))
  40151 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#15.0#ChangeLog.txt
 744936 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#extra-15.0#ChangeLog.txt
1195426 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#CHECKSUMS.md5
2059489 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#ChangeLog.txt
  49689 2023-11-11 11:01 .http:##slackware.uk#salix#x86_64#slackware-15.0#extra#CHECKSUMS.md5
8692761 2023-11-11 11:01 package_data
Why are the .*ChangeLog.txt package_data and .*.md5 files not also gz compressed?

Added in 11 minutes 26 seconds:
Detailed example:
the compressed file .http:##slackware.uk#salix#x86_64#extra-15.0#PACKAGES.TXT.gz
is uncompressed 5.16 MB (and compressed it is 1.09 MB)

while the uncompressed file package_data is 8.29 MB
(compressed with standard gzip compression that would be a mere 1.73 MB )

Porteus v5.01 slapt-mod question

Posted: 19 Nov 2023, 12:58
by ncmprhnsbl
Rava wrote:
11 Nov 2023, 10:21
Why are the .*ChangeLog.txt package_data and .*.md5 files not also gz compressed?
this is a question for the salix repo maintainers, i guess. or slapt-get devs..

Porteus v5.01 slapt-mod question

Posted: 19 Nov 2023, 13:41
by Rava
ncmprhnsbl wrote:
19 Nov 2023, 12:58
this is a question for the salix repo maintainers, i guess. or slapt-get devs..
Oh okay, I was mistaken then thinking slapt-mod does some gzip compression on some of the downloaded files. My bad.

Porteus v5.01 slapt-mod question

Posted: 20 Nov 2023, 00:04
by ncmprhnsbl
yeah slapt-mod is a fairly simple bash script that only handles the stripping and module creation and directs slapt-get (and installpkg) to do all the package related stuff..
generally though, it more likely that a package manager will download the compressed database files and then decompress them.