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

print maintainers list #222

Merged
merged 1 commit into from
Jan 25, 2024
Merged

print maintainers list #222

merged 1 commit into from
Jan 25, 2024

Conversation

GaetanLepage
Copy link
Contributor

@GaetanLepage GaetanLepage commented Jan 25, 2024

Description

This patch scraps the maintainers list from the package's metadata and displays it.

Motivation

When making a PR for updating a package, one has to tag the maintainers. Thus, I always find myself manually opening the source file of the package I update just to check the names of the maintainers.
Furthermore, their github handles are not always the same as their name and sometimes have to be looked up for in maintainers/maintainer-list.nix.

Preview

...
  maintainers = pkg.meta.maintainers or null;
  changelog = pkg.meta.changelog or null;
} --extra-experimental-features flakes nix-command
fetch https://github.com/astral-sh/ruff-lsp/releases.atom
Not updating version, already 0.0.50
Package maintainers:
  - figsoda (@figsoda)
  - Konstantin Alekseev (@kalekseev)
$ git -C /home/gaetan/perso/nix/nixpkgs diff -- /home/gaetan/perso/nix/nixpkgs/pkgs/development/tools/language-servers/ruff-lsp/default.nix

EDIT: In the terminal (mine at least), it appears in white, whereas the rest of the text is green, which makes it nicely visible.

@GaetanLepage
Copy link
Contributor Author

2024-01-25_08-01

@Mic92
Copy link
Owner

Mic92 commented Jan 25, 2024

@mergify queue

Copy link
Contributor

mergify bot commented Jan 25, 2024

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at a566b9b

@mergify mergify bot merged commit a566b9b into Mic92:master Jan 25, 2024
4 checks passed
@GaetanLepage GaetanLepage deleted the maintainers branch January 25, 2024 10:38
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.

None yet

2 participants