Menu

#1784 Add a user name field to Minsky schema files

Backlog
closed
None
4normal
2 days ago
2025-02-18
No

Discussion

  • High Performance Coder

    Simplest way of extracting this information from the environment is to use os.userInfo function from Node.

    For python use, let's just prepopulate from the GECOS field of /etc/passwd. This will work for Linux, just not Windows or Mac.

    In any case, there should be a static username object referring to the current user, and a username member of the Minsky object, which refers to the author of that model. On default construction, the member field is populated from the static field.

     
  • High Performance Coder

    • status: open --> closed
    • assigned_to: High Performance Coder
     

Anonymous
Anonymous

Add attachments
Cancel