Skip to content

gema: init at 2.0#308152

Merged
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
quag:add/gema
May 1, 2024
Merged

gema: init at 2.0#308152
SuperSandro2000 merged 1 commit intoNixOS:masterfrom
quag:add/gema

Conversation

@quag
Copy link
Contributor

@quag quag commented May 1, 2024

Description of changes

gema is a general purpose text processing utility based on the concept of pattern matching. It reads an input file and copies it to an output file transforming the data as specified by the patterns defined by the user.

First made in 1995, v2.0 was released on 2024-03-31.

https://gema.sourceforge.net/new/index.shtml
https://sourceforge.net/projects/gema/

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@ofborg ofborg bot added 8.has: package (new) This PR adds a new package 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. labels May 1, 2024
Copy link
Member

@afh afh left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution, @quag, much appreciated. Please find below a few questions and suggestions for improvement 🙂

Copy link
Member

@afh afh left a comment

Choose a reason for hiding this comment

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

Thank your for accepting the suggestions and making the appropriate changes, much appreciated, @quag.

Please find below two more suggestions. I feel "strongly" about the superfluous use of pname as there is a tree-wide change being drafted (see #278611) and much less strongly about meta.description. Hence I kindly request changes for the former and leave accepting or dismissing the latter at your discretion 🙂

@afh
Copy link
Member

afh commented May 1, 2024

Result of nixpkgs-review pr 308152 run on aarch64-darwin 1

1 package built:
  • gema

Copy link
Member

@afh afh left a comment

Choose a reason for hiding this comment

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

One more thing… 😬

Comment on lines 28 to 31
Copy link
Member

Choose a reason for hiding this comment

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

My sincerest apologies for failing to communicate this better, @quag, meta attributes are not "strictly" sorted alphabetically as it does make much sense for description and longDescription to be next to each other.

Suggested change
description = "General purpose text processing utility based on the concept of pattern matching.";
homepage = "https://gema.sourceforge.net/";
license = lib.licenses.mit;
longDescription = "Reads an input file and copies it to an output file transforming the data as specified by the patterns defined by the user.";
description = "General purpose text processing utility based on the concept of pattern matching.";
longDescription = "Reads an input file and copies it to an output file transforming the data as specified by the patterns defined by the user.";
homepage = "https://gema.sourceforge.net/";
license = lib.licenses.mit;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Haha. Fixed! Thanks for all your help. Every time I submit a package I learn a lot from people like yourself. I appreciate it.

Copy link
Member

Choose a reason for hiding this comment

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

I'm merely passing on what I have learned from others who generously shared their knowledge and expertise.
It would make day and be helpful for project if you feel like doing the same for others 🙂

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would like to help. Is there a good way or place to start?

Copy link
Member

Choose a reason for hiding this comment

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

That's great to hear, @quag 😃

An excellent start is CONTRIBUTING.md. The nixpkgs repo also provides many README.md files, the ones I found interesting and insightful are pkgs/README.md and pkgs/by-name/README.md. These READMEs contain links to other READMEs, so I think this should be plenty to dig into for a start. Feel to share interesting tidbits with me that you find, I'm always curious to hear what others come across.

I've made it an occasional habit to look for new package pull requests that seem a good fit for me to review—this is how I came across this PR 🙂

Is this helpful for you and answers your question, @quag?

Copy link
Member

@afh afh left a comment

Choose a reason for hiding this comment

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

Excellent, thank you for your patience and putting in all the work to get this polished up, @quag, very much appreciated! 🙏

This is looking splendid from my end. Let's get this merged by someone with a commit bit—unless, of course, other nix-savvy folks have objections…

@nixos-discourse
Copy link

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

https://discourse.nixos.org/t/prs-already-reviewed/2617/1612

@SuperSandro2000 SuperSandro2000 merged commit 523bb9d into NixOS:master May 1, 2024
@quag quag deleted the add/gema branch May 1, 2024 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

8.has: package (new) This PR adds a new package 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants