WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Announcements  (Read 177089 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #180 on: January 23, 2016, 02:19:54 PM »
New RC, bugfixes and adding 'quit' option to the select menus to allow seeing the final option and it not being automatically selected.

http://tinycorelinux.net/dCore/x86/release_candidates/

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Announcements
« Reply #181 on: January 23, 2016, 02:48:48 PM »
hi jason,

very good work, the last cut are a huge success in usability and stability.
so i attach only two cosmetic issues as screenshots.
1. now there are empty lines, so the terminal history is earlier limited and in the case of an overview more scrolling is needed.
2. version does not like enter, it needs y or q to work without mistake.

thank you for your commitment to this projekt.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
Re: Announcements
« Reply #182 on: January 23, 2016, 02:50:38 PM »
hi jason,

very good work, the last cuts are a huge success in usability and stability.
so i attach only two cosmetic issues as screenshots.
1. now there are empty lines, so the terminal history is earlier limited and in the case of an overview more scrolling is needed.
2. version does not like enter, it needs y or q to work without mistake.

thank you for your commitment to this projekt.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #183 on: January 23, 2016, 08:48:33 PM »
New upload, tce-setup was not loading the sces listed in sceboot.lst in all cases.  Also, bugfixes to the version command, now allows enter key as well as Y/y as the yes option.  I will leave the empty lines during import open to discussion.

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Announcements
« Reply #184 on: January 24, 2016, 12:06:06 AM »
Hi netnomad.

Jason addressed the Enter key download, works well.

The import double-spacing was one of my additions, blame it on old eyes! Completed imports today, see what you mean especially when 'Merging ...'. Personally i like double spacing at the beginning of the import when the indexes are updated, mirror is confirmed and SCE to be imported is printed, but removing the 'Merging...' doublespaces would be good. Hopefully this is a fair compromise:
Code: [Select]
tc@box:/usr/bin$ sce-import -n nano
Using the -u option.
debian
#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 11411456 local, fetched 0

Debian Index synced: debian_jessie_main_i386_Packages

#################### 100.0% 0.0 kBps DONE   

verifying download...checksum matches OK
used 387072 local, fetched 0

Debian Security Index synced: debian_jessie_security_i386_Packages

Using the repo http://security.debian.org jessie main
Using the -n option.
 
 
Importing nano.
 
 
Using Package Index:
/etc/sysconfig/tcedir/import/debinx/debian_jessie_main_i386_Packages
 
Using Security Index:
/etc/sysconfig/tcedir/import/debinx/debian_jessie_security_i386_Packages
 
Using debian Mirror: http://ftp.ca.debian.org/debian
 
Using debian Security Mirror: http://ftp.ca.debian.org/debian

nano is a standard debian jessie package.

Gathering dependency info..

Merging libtinfo5
Merging libncursesw5
Merging gcc-4.9-base
Merging libgcc1
Merging libc6
Merging Tiny Core custom start script for dpkg: dpkg.deb2sce
Merging dpkg
Merging nano
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /etc/sysconfig/tcedir/sce/nano.sce, block size 4096.
[=============================================================|] 4323/4323 100%
Exportable Squashfs 4.0 filesystem, gzip compressed, data block size 4096
        compressed data, compressed metadata, compressed fragments, no xattrs
        duplicates are removed
Filesystem size 7608.45 Kbytes (7.43 Mbytes)
        46.90% of uncompressed filesystem size (16221.26 Kbytes)
Inode table size 14086 bytes (13.76 Kbytes)
        38.71% of uncompressed inode table size (36390 bytes)
Directory table size 5395 bytes (5.27 Kbytes)
        44.45% of uncompressed directory table size (12136 bytes)
Number of duplicate files found 2
Number of inodes 596
Number of files 435
Number of fragments 13
Number of symbolic links  33
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 128
Number of ids (unique uids + gids) 2
Number of uids 1
        root (0)
Number of gids 2
        root (0)
        staff (50)

Finished importing nano.sce.


If so then i believe Jason would just need to remove empty echos from lines 62, 89 and 118 of debExtract. Sorry didn't see your screenshot, hope this is what you meant, thanks.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #185 on: January 24, 2016, 12:07:55 AM »
Sounds good to me, lets make this change in a new RC.

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #186 on: January 24, 2016, 12:21:10 AM »
New RC uplaoded, with the above mentioned fixes.

http://tinycorelinux.net/dCore/x86/release_candidates/

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #187 on: January 24, 2016, 12:57:29 AM »
Sce-remove now does not produce multiple quit entries.

http://tinycorelinux.net/dCore/x86/release_candidates/

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #188 on: January 25, 2016, 08:00:03 PM »
Via nitram we have help menu and similar additions as well as a quicker DEBINX diff creation in sce-update.  See git changes for details.

http://tinycorelinux.net/dCore/x86/release_candidates/

Offline nitram

  • Hero Member
  • *****
  • Posts: 1054
Re: Announcements
« Reply #189 on: January 25, 2016, 10:14:17 PM »
Sorry for posting here, more updates came out on dCore-jessie today helped me find a bug in new DEBINX diff. DEBINX doesn't keep a uniform format throughout, so last weekend's grep testing worked with this format, but didn't capture all DEBINX data unfortunately.
Code: [Select]
Package: 0ad
Installed-Size: 9700
Depends: 0ad-data , 0ad-data , 0ad-data-common , 0ad-data-common , libboost-filesystem1.55.0, libc6 , libcurl3-gnutls , libenet7, libgcc1 , libgl1-mesa-glx | libgl1, libgloox12, libicu52 , libjpeg62-turbo , libminiupnpc10 , libmozjs-24-0, libnvtt2, libopenal1 , libpng12-0 , libsdl1.2debian , libstdc++6 , libvorbisfile3 , libwxbase3.0-0 , libwxgtk3.0-0 , libx11-6, libxcursor1 , libxml2 , zlib1g
Filename: pool/main/0/0ad/0ad_0.0.17-1_i386.deb
Size: 2838756
MD5sum: 47f9f448490623194647262d2a0f6243

...as the DEBINX also has lots of these entries at the bottom:

Code: [Select]
midori: b02713f85b579033d836432e93dac16b
openbox: fc81a6233002989d9a539fda88e057da
python-minimal: 28cd80c3fe790316583a1d3c1170ce3f
xfce4: 8407272ea0fb442718436657292c1126
xtrlock: 4f77bf4d10b6d350128eeef18f8541d8

So it's good that a DEBINX diff now isn't created until a user wants to see it, makes  sce-update -a  faster for those that don't want to view it, the diff doesn't catch all. Here's what works, as before if anyone has any grep ideas please enlighten, thanks.

sce-update:
Code: [Select]
else
echo " "
echo "Press Enter to proceed with update(s), (v)iew DEBINX diff, Ctrl-C aborts,"
echo -n "to view diff use page up/down or spacebar and enter (q)uit when done: "
read ans
echo " "
if [ "$ans" == "v" ] || [ "$ans" == "V" ]; then
echo "Obtaining diff of new and old package data..."
#cat OLDDEBINX | grep -E 'Package|MD5sum' > /tmp/OLDDEBINXDIFF
#cat NEWDEBINX | grep -E 'Package|MD5sum' > /tmp/NEWDEBINXDIFF
diff "$DEBINXDIR"/OLDDEBINX "$DEBINXDIR"/NEWDEBINX > /tmp/debinx.diff
#diff /tmp/OLDDEBINXDIFF /tmp/NEWDEBINXDIFF > /tmp/debinx.diff
less /tmp/debinx.diff
#rm /tmp/OLDDEBINXDIFF
#rm /tmp/NEWDEBINXDIFF
rm /tmp/debinx.diff
echo " "
echo -n "Do you wish to proceed with updates, enter (y)es or (n)o: "
read ans
echo " "
if [ "$ans" == "y" ] || [ "$ans" == "Y" ]; then
:
else
echo "Exiting.."
exit 0
fi
fi
fi

..with DEBINXDIR added at top of script, sorry about that:
Code: [Select]
#!/bin/sh
# (c) Jason Williams 2014
# Tool to update SCE extensions in bulk.

. /etc/init.d/tc-functions
checknotroot
SCEDIR="/etc/sysconfig/tcedir/sce"
DEBINXDIR="/etc/sysconfig/tcedir/import/debinx"

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #190 on: January 25, 2016, 11:12:52 PM »
Of course, the NEWDEBINX/OLDDEBINX also includes the prebuilt packges and also deb2sce startup scripts as well as -data.tar.gz files.  No biggie, I was asked to review the changes and approved them and on testing seemed good.  But that is why I tested with md5sum and opted for the full diff of those files as to any changes, startup script, Debian package, prebuilt package, data files.  So when the md5sum of the NEWDEBINX/OLDDEBINX files differed, the diff could be shown and an update decision made.  Thanks for the streamlining, I am all about making things quicker.  But maybe there is a way to diff those files quicker with the above kept in mind.  I will also look into it.  And thanks for making the diff only created when the user wants to view it.   

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #191 on: January 26, 2016, 10:01:38 AM »
I have an idea that may allow for a clean diff viewing, by separating out the Packages files from the prebuilt, startup script, and data file entries. 

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #192 on: January 26, 2016, 08:54:47 PM »
Ok, I see what you did now, very fast diff creation.  Perhaps by separating out from the main NEWDEBINX the prebuilt, -data.tar.gz, and startup script md5sum files we can list what packages have been changed and if it was prebuilt, -data, or startup script.  I will ponder it.   Uploaded your fix posted here, also some cosmetic changes sent in today.

http://tinycorelinux.net/dCore/x86/release_candidates/

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #193 on: January 27, 2016, 08:50:24 PM »
Fix to the -p option of sce-import and the -s option of sce-load per sm8ps.

http://tinycorelinux.net/dCore/x86/release_candidates/

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
Re: Announcements
« Reply #194 on: January 30, 2016, 12:37:37 AM »
New RC.  Added the ability to purge unwanted locales that are not listed in a config file during sce-import.  The file is /etc/sysconfig/locale.nopurge, similar in name to the Debian one.  You can enter 1 or 10 or whatever number of locales to preserve during an import session. 

Also, a new config file that is a list of files or dirs to be purged from the resulting SCE.  It is /etc/sysconfig/sce.purge.  Place the names of all files or dirs that are not wanted and sce-import will delete them before creating the final SCE.  Wildcards should be ok, as in /usr/lib/i386-linux-gnu/libLLVM* should remove /usr/lib/i386-linux-gnu/libLLVM-3.4.so.1 and/or  /usr/lib/i386-linux-gnu/libLLVM-3.5.so.1 if both or either exist.

And the select menu has been improved, with those that are a loop of choices - sce-update, sce-remove, debGetSceDep - the quit function and selection has been removed, now Enter without a selection is the way to proceed.

http://tinycorelinux.net/dCore/x86/release_candidates/
« Last Edit: January 30, 2016, 01:30:57 AM by Jason W »