Tcl Source Code

Ticket Change Details
Login
EuroTcl/OpenACS 11 - 12 JULY 2024, VIENNA
Overview

Artifact ID: cfac7a642436cc6841d2fe83199fe535def673fbf7935110808530509e25496b
Ticket: 7be97a685975ec271a02518a0d88c6bc121f8df6
Reviewing chan.n changes
User & Date: jan.nijtmans 2024-06-19 12:02:42
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    In [eb627bda27|this] commit, an extensive rewrite was done on the chan.n manpage.
    
    The most important problem in this commit is that "channelId" was renamed to "channelName". However, "channelName" isn't used in any other man-page, "channelId" is. So, if this is a good change, it should be done in all related man-pages too. Otherwise consistancy is lost.
    
    My second critisism is that doc-changes which are not made due to a new feature should have a good commit message, describing why the commit was done. For example: [d664748a86b7b8b5|this] is a good example. "Rewrite of documentation for [chan]" is not a good commit message.
    
    Third, why was the rewrite not backported to 8.6? Since 8.6 is the current release, documentation improvements are valueable there too.
    
    However, I agree that "channelId" is not the best name what we are refering too.  It suggests forms like "file1234" or "sock4321", which - indeed - look like id's. But "stderr" and "stdout" look more like channel names. In Tcl scripts, channels can have both forms, there is no need to distinguis betwen them. So, I propose to resolve this possible confusion by using simply "channel" everywhere.
    
    Since in Tcl, 'everything is a string', "channel" is an appropriate name for what we are dealing with here.
    
    See: [https://core.tcl-lang.org/tcl/timeline?r=no-channelid|here] for the implementation of this proposed change.
    
  5. foundin changed to: "8.7"
  6. is_private changed to: "0"
  7. login: "jan.nijtmans"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "0c50e5320704d174412e57b873d8932de15303e0"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "jan.nijtmans"
  14. subsystem changed to: "- New Builtin Commands"
  15. title changed to: "Reviewing chan.n changes"
  16. type changed to: "Bug"