Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make System API independent of nix #353

Open
1 of 16 tasks
magicant opened this issue Mar 22, 2024 · 0 comments
Open
1 of 16 tasks

Make System API independent of nix #353

magicant opened this issue Mar 22, 2024 · 0 comments
Labels
tracker List of subtasks

Comments

@magicant
Copy link
Owner

magicant commented Mar 22, 2024

As long as we re-export items from the nix crate to use in the yash_env::System API, the correctness of our semantic versioning is at the discretion of the nix crate. To put the API under our own control, we should avoid re-exporting items from the external crate.

  • Errno
  • AtFlags
    • TBD
  • FdFlag
    • TBD
  • OFlag
    • TBD
  • Signal
  • SigSet
    • TBD
  • SigmaskHow
    • TBD
  • FileStat
    • TBD
  • SFlag
    • TBD
  • TimeSpec
    • TBD
  • WaitStatus
    • TBD
  • Mode
    • Eliminate nix::sys::stat::Mode from yash_env::System
    • Move yash_env::system::virtual::Mode to yash_env::system::Mode
    • Apply umask when creating a file in virtual system
    • Consider moving Mode formatting from yash_builtin::umask::format to yash_env::*
@magicant magicant added the tracker List of subtasks label Mar 22, 2024
magicant added a commit that referenced this issue May 11, 2024
This is part of #353. This commit prepares for the transition to our own
Signal type by defining the type and implementing some basic operations.
magicant added a commit that referenced this issue May 11, 2024
This is part of #353. This commit prepares for the transition to our own
Signal type by defining the type and implementing some basic operations.
magicant added a commit that referenced this issue May 12, 2024
This is part of #353. This commit prepares for the transition to our own
Signal type by defining the type and implementing some basic operations.
magicant added a commit that referenced this issue May 13, 2024
This is part of #353. This commit prepares for the transition to our own
Signal type by defining the type and implementing some basic operations.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tracker List of subtasks
Projects
Status: In progress
Development

No branches or pull requests

1 participant