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

glossary: import terms from nixionary.org #400

Closed
wants to merge 1 commit into from
Closed

glossary: import terms from nixionary.org #400

wants to merge 1 commit into from

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented Nov 24, 2022

Nix is using a bunch of esoteric terms like "closure" and "realization"
that can turn off newcomers. I'm assuming that having a good glossary
can help with that. I always like a good glossary to speed-run a new
project.

https://nixionary.org was a little project I had for NixCon, to
collect more of those words for the glossary.

Nix is using a bunch of esoteric terms like "closure" and "realization"
that can turn off newcomers. I'm assuming that having a good glossary
can help with that. I always like a good glossary to speed-run a new
project.

<https://nixionary.org> was a little project I had for NixCon, to
collect more of those words for the glossary.
@github-actions
Copy link
Contributor

github-actions bot commented Nov 24, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@zimbatm
Copy link
Member Author

zimbatm commented Nov 24, 2022

the CLA still attributes ownership to @domenkozar, is that by design?

@yukiisbored
Copy link
Member

@zimbatm Yes, currently @domenkozar still holds the copyright for now.

This will be reassigned to the foundation in the future.

Linux distribution based on Nix and Nixpkgs.
The name represents two things at the same time:

1. The whole project and community.
Copy link
Collaborator

@fricklerhandwerk fricklerhandwerk Nov 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not true and a reason for large amounts of confusion.

(Yes, it's how some people understand and use it, but it doesn't make it right or less confusing.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the name of the project and community then? The entry point domain is nixos.org.

I agree that it's confusing, that's why it's worth documenting it.

@zimbatm
Copy link
Member Author

zimbatm commented Nov 24, 2022

I have read the CLA Document and I hereby sign the CLA

@fricklerhandwerk
Copy link
Collaborator

fricklerhandwerk commented Nov 24, 2022

I'm trying to add definitions for a part of these terms to the Nix manual:

NixOS/nix#7318
NixOS/nix#7332

Substituter already exists in the Nix manual' glossary.

I'm not sure about the change overall. It's probably good to have multiple entry points for terms. But maybe it's enough to link to the terms' authoritative definitions (in their respective manuals) when they are used in texts.

In any case we should not re-make the definition here, and rather link to the existing one. Sometimes we don't have (a good) one, like it was the case for the Nix language in the Nix manual, but that should be addressed first then.

@lucperkins @yukiisbored what do you think?

Comment on lines +66 to +67
A git repository containing a collection of 80000+ packages. See
<https://nixpkgs.org>.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding a link is good, more descriptions, I think, less so. Each project should just describe itself authoritatively, as a single source of truth. That description may change over time, no point tracking these things here.

Comment on lines +4 to +16
Attribute sets
Attribute sets represent a sorted collection of name/value pairs in the Nix
language.

Channels
Represents two things:
1. Releases of nixpkgs built and pushed by Hydra. See
<https://status.nixos.org>.
2. GC roots that are managed by `nix-channel`.

Closure
The closure is the tree of the dependencies of a derivation, and the
dependencies of the depencencies recursively.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These should go to the Nix manual's glossary.

@yukiisbored
Copy link
Member

I don't think it's a bad idea to have another glossary in nix.dev since I imagine they rarely change.

Though, I'm not opposed to linking the definition on the Nix manual.

@zimbatm
Copy link
Member Author

zimbatm commented Nov 24, 2022

I'm happy if you incorporate my work in any way that you think is useful. If you want to push all the definitions to the respective projects and then transform this glossary into a meta glossary, that's fine.

Since you seem to be opinionated about it @fricklerhandwerk, I think the easiest would be for you to cannibalize my PR. That way we avoid too much back and forth.

@fricklerhandwerk
Copy link
Collaborator

fricklerhandwerk commented Nov 24, 2022

@zimbatm thanks, I appreciate the addition in general. Sorry, the tone here is usually quite to the point, and my comment was absolutely not to dismiss your effort.

This is a strategic decision for the documentation team to make, I just have random opinions which are surely most often wrong.

@zimbatm
Copy link
Member Author

zimbatm commented Nov 24, 2022

No worries, it makes sense to be opinionated for documentation, to give it a consistent feel.

Please have a chat with the documentation team and let me know once you agree on the high-level direction.

@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/tweag-nix-dev-update-40/23480/1

@zimbatm zimbatm closed this by deleting the head repository Jan 21, 2023
github-actions bot added a commit that referenced this pull request Jan 21, 2023
@zimbatm
Copy link
Member Author

zimbatm commented Jan 21, 2023

Oops, deleted my fork by mistake. Is it worth me re-opening a PR, or what do you want to do with that content?

@fricklerhandwerk
Copy link
Collaborator

@NixOS/documentation-team

@infinisil
Copy link
Member

Imo the nix.dev glossary should ideally be the combined glossaries of Nix itself, nixpkgs and NixOS, plus all of the general terms not mentioned anywhere else (like Nixpkgs, NixOS, etc.)

I'm not sure how feasible this is though

@zimbatm
Copy link
Member Author

zimbatm commented Feb 13, 2023

Imagine all the people who could have benefited from that Glossary, even if imperfect. It would be better than the current situation. And you can still move things around later?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants