• tar progress option

    From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Fri Sep 19 08:33:35 2025
    From Newsgroup: comp.lang.tcl

    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version.
    The older version had this -progress option, which was very handy when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting process.

    Any ideas how to bring the progress back?

    Alternatively I was thinking of using the new build-in zip functionality
    of Tcl 9. I can handle a folder structure, which is cool.
    But the zip function needs an existing folder to create the archive and
    puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder structure
    (not all) and putting them into the archive. So zip is not an option,
    tar is stil the only one capable of doing what I need.

    Thanks
    Alexandru
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Mon Oct 6 13:09:09 2025
    From Newsgroup: comp.lang.tcl

    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version.
    The older version had this -progress option, which was very handy when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting process.

    Any ideas how to bring the progress back?

    Alternatively I was thinking of using the new build-in zip functionality
    of Tcl 9. I can handle a folder structure, which is cool.
    But the zip function needs an existing folder to create the archive and
    puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder structure
    (not all) and putting them into the archive. So zip is not an option,
    tar is stil the only one capable of doing what I need.

    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Thanks
    Alex

    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Rolf Ade@rolf@pointsman.de to comp.lang.tcl on Mon Oct 6 15:17:45 2025
    From Newsgroup: comp.lang.tcl


    meshparts <alexandru.dadalau@meshparts.de> writes:
    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version.
    The older version had this -progress option, which was very handy
    when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting process.
    Any ideas how to bring the progress back?
    Alternatively I was thinking of using the new build-in zip
    functionality of Tcl 9. I can handle a folder structure, which is
    cool.
    But the zip function needs an existing folder to create the archive
    and puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder
    structure (not all) and putting them into the archive. So zip is not
    an option, tar is stil the only one capable of doing what I need.
    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Perhaps other readers have the same doubt than I - I'm not exactly sure
    what your are talking about. Do you mean the tar package out of tcllib
    or something else?

    If you mean the tcllib tar package - what version was it which had the -progress option you are now missing?

    The tcllib repository at https://core.tcl-lang.org/tcllib/doc/trunk/embedded/index.md should be
    able to bring you after some clicking to at least the commit which
    removed the code. And the commit msg may (or may not) have the reason to
    what happened.

    rolf
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Mon Oct 6 20:39:45 2025
    From Newsgroup: comp.lang.tcl

    Am 06.10.2025 um 15:17 schrieb Rolf Ade:

    meshparts <alexandru.dadalau@meshparts.de> writes:
    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version.
    The older version had this -progress option, which was very handy
    when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting process. >>> Any ideas how to bring the progress back?
    Alternatively I was thinking of using the new build-in zip
    functionality of Tcl 9. I can handle a folder structure, which is
    cool.
    But the zip function needs an existing folder to create the archive
    and puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder
    structure (not all) and putting them into the archive. So zip is not
    an option, tar is stil the only one capable of doing what I need.
    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Perhaps other readers have the same doubt than I - I'm not exactly sure
    what your are talking about. Do you mean the tar package out of tcllib
    or something else?

    If you mean the tcllib tar package - what version was it which had the -progress option you are now missing?

    The tcllib repository at https://core.tcl-lang.org/tcllib/doc/trunk/embedded/index.md should be
    able to bring you after some clicking to at least the commit which
    removed the code. And the commit msg may (or may not) have the reason to
    what happened.

    rolf
    Hi Rolf,

    Thanks for the hint.
    I wasn't ware there are other tar packages out there.
    I mean the tcllib package "tar".
    My previous version prior to the migration to Tcl 9 was tar 0.11
    (released 2012/09/11 17:22:24).
    After switching to Tcl 9 and updating to tar 0.15, the progress bar is gone. I'll try to crunch through the repository and track down that change...
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Mon Oct 6 21:08:49 2025
    From Newsgroup: comp.lang.tcl

    Am 06.10.2025 um 20:39 schrieb meshparts:
    Am 06.10.2025 um 15:17 schrieb Rolf Ade:

    meshparts <alexandru.dadalau@meshparts.de> writes:
    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version. >>>> The older version had this -progress option, which was very handy
    when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting
    process.
    Any ideas how to bring the progress back?
    Alternatively I was thinking of using the new build-in zip
    functionality of Tcl 9. I can handle a folder structure, which is
    cool.
    But the zip function needs an existing folder to create the archive
    and puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder
    structure (not all) and putting them into the archive. So zip is not
    an option, tar is stil the only one capable of doing what I need.
    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Perhaps other readers have the same doubt than I - I'm not exactly sure
    what your are talking about. Do you mean the tar package out of tcllib
    or something else?

    If you mean the tcllib tar package - what version was it which had the
    -progress option you are now missing?

    The tcllib repository at
    https://core.tcl-lang.org/tcllib/doc/trunk/embedded/index.md should be
    able to bring you after some clicking to at least the commit which
    removed the code. And the commit msg may (or may not) have the reason to
    what happened.

    rolf
    Hi Rolf,

    Thanks for the hint.
    I wasn't ware there are other tar packages out there.
    I mean the tcllib package "tar".
    My previous version prior to the migration to Tcl 9 was tar 0.11
    (released 2012/09/11 17:22:24).
    After switching to Tcl 9 and updating to tar 0.15, the progress bar is
    gone.
    I'll try to crunch through the repository and track down that change...

    It was a good idea to go through the repo: There was never a progress
    option in the tar package :(

    The reason I had a progress option in the tar package is: I added that
    option myself! At least 3 years ago, along with other two options -files
    and -dirs.

    Unfortunatelly, my commit was ignored and those changed never made it
    into the official release.

    So I guess I'll try to add them again to the current version...
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Mon Oct 6 21:13:51 2025
    From Newsgroup: comp.lang.tcl

    Am 06.10.2025 um 21:08 schrieb meshparts:
    Am 06.10.2025 um 20:39 schrieb meshparts:
    Am 06.10.2025 um 15:17 schrieb Rolf Ade:

    meshparts <alexandru.dadalau@meshparts.de> writes:
    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version. >>>>> The older version had this -progress option, which was very handy
    when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting
    process.
    Any ideas how to bring the progress back?
    Alternatively I was thinking of using the new build-in zip
    functionality of Tcl 9. I can handle a folder structure, which is
    cool.
    But the zip function needs an existing folder to create the archive
    and puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder
    structure (not all) and putting them into the archive. So zip is not >>>>> an option, tar is stil the only one capable of doing what I need.
    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Perhaps other readers have the same doubt than I - I'm not exactly sure
    what your are talking about. Do you mean the tar package out of tcllib
    or something else?

    If you mean the tcllib tar package - what version was it which had the
    -progress option you are now missing?

    The tcllib repository at
    https://core.tcl-lang.org/tcllib/doc/trunk/embedded/index.md should be
    able to bring you after some clicking to at least the commit which
    removed the code. And the commit msg may (or may not) have the reason to >>> what happened.

    rolf
    Hi Rolf,

    Thanks for the hint.
    I wasn't ware there are other tar packages out there.
    I mean the tcllib package "tar".
    My previous version prior to the migration to Tcl 9 was tar 0.11
    (released 2012/09/11 17:22:24).
    After switching to Tcl 9 and updating to tar 0.15, the progress bar is
    gone.
    I'll try to crunch through the repository and track down that change...

    It was a good idea to go through the repo: There was never a progress
    option in the tar package :(

    The reason I had a progress option in the tar package is: I added that option myself! At least 3 years ago, along with other two options -files
    and -dirs.

    Unfortunatelly, my commit was ignored and those changed never made it
    into the official release.

    So I guess I'll try to add them again to the current version...

    My new -files and -dirs options they are now in the official release of
    tar! Thanks!

    I'm not sure now about that -progress option. Maybe I forgot to commit
    this change...
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From Paul Obermeier@obermeier@poSoft.de to comp.lang.tcl on Mon Oct 6 21:14:42 2025
    From Newsgroup: comp.lang.tcl

    Am 06.10.2025 um 20:39 schrieb meshparts:
    Am 06.10.2025 um 15:17 schrieb Rolf Ade:

    meshparts <alexandru.dadalau@meshparts.de> writes:
    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar version. >>>> The older version had this -progress option, which was very handy
    when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting process. >>>> Any ideas how to bring the progress back?
    Alternatively I was thinking of using the new build-in zip
    functionality of Tcl 9. I can handle a folder structure, which is
    cool.
    But the zip function needs an existing folder to create the archive
    and puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder
    structure (not all) and putting them into the archive. So zip is not
    an option, tar is stil the only one capable of doing what I need.
    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Perhaps other readers have the same doubt than I - I'm not exactly sure
    what your are talking about. Do you mean the tar package out of tcllib
    or something else?

    If you mean the tcllib tar package - what version was it which had the
    -progress option you are now missing?

    The tcllib repository at
    https://core.tcl-lang.org/tcllib/doc/trunk/embedded/index.md should be
    able to bring you after some clicking to at least the commit which
    removed the code. And the commit msg may (or may not) have the reason to
    what happened.

    rolf
    Hi Rolf,

    Thanks for the hint.
    I wasn't ware there are other tar packages out there.
    I mean the tcllib package "tar".
    My previous version prior to the migration to Tcl 9 was tar 0.11 (released 2012/09/11 17:22:24).
    After switching to Tcl 9 and updating to tar 0.15, the progress bar is gone. I'll try to crunch through the repository and track down that change...

    I looked into tcllib distributions 1.20 and 1.21.
    Both contain tar in version 0.11, but none of them has a "-progress" option.
    Do you have a modified tar version?

    Paul
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Mon Oct 6 21:43:17 2025
    From Newsgroup: comp.lang.tcl

    Am 06.10.2025 um 21:13 schrieb meshparts:
    Am 06.10.2025 um 21:08 schrieb meshparts:
    Am 06.10.2025 um 20:39 schrieb meshparts:
    Am 06.10.2025 um 15:17 schrieb Rolf Ade:

    meshparts <alexandru.dadalau@meshparts.de> writes:
    Am 19.09.2025 um 08:33 schrieb meshparts:
    After moving from Tcl 8 to Tcl 9 I also hat do change the tar
    version.
    The older version had this -progress option, which was very handy
    when creating large archives.
    The current version has no -progress option.
    This is bad, there is no feedback anymore from the long lasting
    process.
    Any ideas how to bring the progress back?
    Alternatively I was thinking of using the new build-in zip
    functionality of Tcl 9. I can handle a folder structure, which is
    cool.
    But the zip function needs an existing folder to create the archive >>>>>> and puts *all* files from that folder into the archive.
    What I do with tar is picking different files from a folder
    structure (not all) and putting them into the archive. So zip is not >>>>>> an option, tar is stil the only one capable of doing what I need.
    Thanks
    Alexandru

    No ideas?
    Does anbody know, why the progress option was removed?

    Perhaps other readers have the same doubt than I - I'm not exactly sure >>>> what your are talking about. Do you mean the tar package out of tcllib >>>> or something else?

    If you mean the tcllib tar package - what version was it which had the >>>> -progress option you are now missing?

    The tcllib repository at
    https://core.tcl-lang.org/tcllib/doc/trunk/embedded/index.md should be >>>> able to bring you after some clicking to at least the commit which
    removed the code. And the commit msg may (or may not) have the
    reason to
    what happened.

    rolf
    Hi Rolf,

    Thanks for the hint.
    I wasn't ware there are other tar packages out there.
    I mean the tcllib package "tar".
    My previous version prior to the migration to Tcl 9 was tar 0.11
    (released 2012/09/11 17:22:24).
    After switching to Tcl 9 and updating to tar 0.15, the progress bar
    is gone.
    I'll try to crunch through the repository and track down that change...

    It was a good idea to go through the repo: There was never a progress
    option in the tar package :(

    The reason I had a progress option in the tar package is: I added that
    option myself! At least 3 years ago, along with other two options -
    files and -dirs.

    Unfortunatelly, my commit was ignored and those changed never made it
    into the official release.

    So I guess I'll try to add them again to the current version...

    My new -files and -dirs options they are now in the official release of
    tar! Thanks!

    I'm not sure now about that -progress option. Maybe I forgot to commit
    this change...
    Turns out, I did a pull request on the progress bar feature, but it was ignored until now....

    Here is a new ticket: https://core.tcl-lang.org/tcllib/tktview/3438f804e41b67d469fd364087457d4c718d4f5b


    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From meshparts@alexandru.dadalau@meshparts.de to comp.lang.tcl on Mon Oct 6 22:01:59 2025
    From Newsgroup: comp.lang.tcl

    Am 06.10.2025 um 21:14 schrieb Paul Obermeier:

    I looked into tcllib distributions 1.20 and 1.21
    Indeed! See my previous comments.
    Sorry for the whole fuss.
    That point was complettly erased from my memory...

    --- Synchronet 3.21a-Linux NewsLink 1.2